Posts

Force Uninstall Lanschool via cmd/script in Windows

Image
Use the following command or add them into a .bat or .cmd file and execute it. @echo off taskkill.exe /IM student.exe /F taskkill.exe /IM LskHelper.exe /F taskkill.exe /IM lskHlpr64.exe /F net stop "LanSchool Helper Service" net stop "LanSchool Student Service" sc delete "LanSchool Helper Service" sc delete "LansSchool Student Service" reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Run" /v Teacher /f ::del/f/s/q "C:\Program Files (x86)\LanSchool\LskHelper.exe" rd /s/q "C:\Program Files (x86)\LanSchool\" reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\ExtensionInstallForcelist" /va /f reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome" /va /f pause

V2ray Gmail SSL Foxmail HandShake Error

Image
在客户端和服务器所有相关的 inbound 中加上 "allowPassive": false "allowPassive": false  相关链接: https://github.com/v2ray/v2ray-core/issues/276

解决 NetworkManager 内存占用过高的问题

Image
 Centos 7 参考 https://support.huawei.com/enterprise/zh/doc/EDOC1000099509/a6d7ea73 这篇文章, 这个问题是 NetworkManager 的设计缺陷, 在特定情况下产生了大量的内存碎片. 解决办法就是重启进程. 在 Centos 7 中, 使用 systemd 进行进程管理, 所以重启的命令就是 systemctl restart NetworkManager .

华为系统更新如何关闭提示?

Image
 方法:ADB禁用 ADB(傻瓜式禁止+卸载系统应用)下载链接 需要:1台windows系统电脑,数据线,手机 软件:ADB软件,并解压安装在C盘或D盘根目录下 作者:十八岁的龙叔 链接:https://www.zhihu.com/question/47473783/answer/1271757749 来源:知乎 著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 操作步骤:如果发现已经下载了最新系统更新包的,就先删除下载的安装包,删除不掉是吧?请看如下操作:1.首先打开设置-应用-应用管理-找到软件更新-看储存选项占内部多少空间,如果只有几十MB,就说明没有下载系统更新包(请直接进行第4步),如果显示几个G,说明有下载。点击卸载是删除不掉的,退出重新进入还是存在。(请从第一部开始操作)2.返回设置-系统-软件更新-右上角设置-把WLAN和夜间安装都关闭3.点击检查更新,然后点击下载并安装,立马点击取消,别真等下载完毕。4.重点:这时候请关闭无线网络和4G数据网络!!!返回到刚才的设置-应用-应用管理-找到软件更新-储存,这时候清除所有数据和缓存,你会发现这时候没有占用几个G的空间。作用是清除系统更新右上角红点提示和一些其他的缓存数据。并且可以禁止流量使用情况的关闭,通知管理,权限的一系列关闭操作。5. 手机设置-关于手机-点击版本号7次打开开发者模式6. 进入开发者选项,“”关闭系统自动更新“,”打开“手机打开USB调试”,“仅充电模式下允许ADB调试”,“手机上确认允许电脑usb调试”,“手机打开HDB连接选项”,可以在设置上方搜索框搜索。连接usb数据线后,选择“传输文件”。---电脑连接手机是否ADB成功,可以使用ADB文件夹中的华为工具箱,常用功能-检查连接测试,一定要到连接成功为止。 7.可以先看8-2,简单方式 进入C盘ADB文件目录中,在地址栏输入cmd,类似网页地址栏的地方,我的电脑:c盘:ADB,显示的地方。 8. 输入命令adb shell pm disable-user com.huawei.android.hwouc 停用系统更新。 输入命令adb shell pm enable com.huawei.android.hwouc 重新打开系统更新。(恢复更新)提示:xxxxxxxxxxx:disabled-user...

Hacking Chrome Dinosaur Game

Image
 Hacking Chrome Dinosaur Game 1. Open Console: Using F12 or Inspect 2. Game Script:      Runner.prototype      var defRunner=Runner.prototype.gameOver      Runner.prototype.gameOver=function(){console.log("Fuck u Chrome")}      Runner.instance_.setSpeed(15000)    ►Normal Speed: Runner.instance_.setSpeed(10)  3. For all those wondering how to maintain this score before this resets to 0, and therefore would require to kill it before highest possible score . To reset to default values , use       Runner.instance_.setSpeed(10)       Runner.prototype.gameOver= defRunner defRunner was used to save the initial state.  And then let the dinosaur die at the highest possible score. Console var defRunner=Runner.prototype.gameOver   Runner.prototype.gameOver=function(){console.log("Fuck u Chrome")} Runner.instance_.setSpeed(15000)  Runner.instance_.setSpeed(10) ...

Generate random files with random content in windows

Image
 Software_1: Link:http://www.bertel.de/software/rdfc/index-en.html Usage:You can run rdfc.exe in a console window under Windows, the dialog Execute… or from any other application, which can hand over starting parameters. The following starting parameters are possible: rdfc.exe <file> <size> [<unit> [<overwrite>]] <file> stands for path and name of the file which is to be created. <size> stands for the file size. You can put in any number larger than 0. Note that the number is interpreted with the unit as set for <unit>. <unit> stands for the unit of the file size. Possible values are GB, MB, kB and B, where B is the default value. <overwrite> makes it possible to overwrite existing files. Set the fourth starting parameter to overwrite. Otherwise application stops, if the file indicated by <file> already exists. Software_2: Link:http://www.mynikko.com/dummy/ Finally Move To Fill Google Drive: vultr vps -- high speed transfe...

openwrt设置定时任务-远程唤醒计算机

 -去年我写了一篇用华硕路由器定时启动的教程,最近换了新的openwrt做主路由。自然也要改改版了。 1.如果需要可以先去找找之前那个教程。 2.试验是否有命令可用。 openwrt 这个系统里面wake-on-line的命令不同。 usage: etherwake [-i <ifname>] [-p aa:bb:cc:dd[:ee:ff]] 00:11:22:33:44:55 3.显然是可以唤醒的,现在添加一下计划任务,有GUI界面,我就不麻烦自己了。 50 4 * * 0 etherwake 1C:39:47:CE:11:C9 #LenovoSunday# 55 3 * * 1 etherwake 1C:39:47:CE:11:C9 #LenovoMonday# 00 5 * * 2 etherwake 1C:39:47:CE:11:C9 #LenovoTuesday# 40 4 * * 3 etherwake 1C:39:47:CE:11:C9 #LenovoWednesday# 10 5 * * 4 etherwake 1C:39:47:CE:11:C9 #LenovoThursday# 33 3 * * 5 etherwake 1C:39:47:CE:11:C9 #LenovoFriday# 05 5 * * 6 etherwake 1C:39:47:CE:11:C9 #LenovoSaturday#  

3种通过JavaScript实现前端用户限制

这些方法不需要动态语言就可以实现。 密码限制 < html xmlns =" http://www.w3.org/1999/xhtml " > < html > < head > < meta name =" viewport " content =" width=device-width, initial-scale=1 " /> < link rel =" icon " href =" ../favicon.png " sizes =" 23x23 " type =" image/x-icon " > < title > SUBSCRIPTION </ title > </ head > < body > < h1 > 请输入密码访问 </ h1 > < BR > < BR > < BR > < h6 > 请输入UUID: </ h6 > < BR > < input type =" text " id =" inputbox " style =" width:225px; height:30px; " value =""/> < br > < br > < input id =" button1 " type =" button " value =" ENTER " onclick =" window.location.href=document.getElementById('inputbox').value "/> < BR > < BR > </ body > < ...