This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"crypto/md5" | |
"os" | |
"io" | |
"log" | |
"encoding/hex" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo mkdir /lib/modules/`uname -r`/misc | |
sudo rm -rf /usr/lib/vmware/modules/source/vmmon-only/ | |
sudo rm -rf /usr/lib/vmware/modules/source/vmnet-only/ | |
sudo tar -xvf /usr/lib/vmware/modules/source/vmmon.tar --directory /usr/lib/vmware/modules/source | |
sudo tar -xvf /usr/lib/vmware/modules/source/vmnet.tar --directory /usr/lib/vmware/modules/source | |
cd /usr/lib/vmware/modules/source/vmnet-only/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#https://pacoup.com/2011/06/12/list-of-true-169-resolutions/ | |
cvt 2048 1152 | |
xrandr --newmode "2048x1152" 197.00 2048 2184 2400 2752 1152 1155 1160 1195 -hsync +vsync | |
xrandr --addmode eDP-1-1 "2048x1152" | |
cvt 2176 1224 | |
xrandr --newmode "2176x1224" 222.75 2176 2320 2552 2928 1224 1227 1232 1269 -hsync +vsync | |
xrandr --addmode eDP-1-1 "2176x1224" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://dl.google.com/linux/direct/google-chrome-beta_current_amd64.deb | |
https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
https://dl.google.com/linux/direct/google-chrome-unstable_current_amd64.deb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
export http_proxy=127.0.0.1:1316 | |
export https_proxy=127.0.0.1:1316 | |
go get -u github.com/constabulary/gb | |
go get github.com/constabulary/gb/cmd/gb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
TITLE nubia z11解锁bootloader工具 | |
color 3f | |
mode con cols=90 lines=29 | |
:START | |
CLS | |
ECHO. nubia z11解锁bootloader须知 | |
ECHO. | |
ECHO. ====================================================================================== | |
ECHO. 注意: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
TITLE 努比亚 Z11 多语言TWRP 3.0.2-0 By 沉默之星(20160710版) | |
color 3f | |
mode con cols=90 lines=29 | |
:STARTS | |
CLS | |
ECHO. 努比亚 Z11 多语言TWRP 3.0.2-0 By 沉默之星(20160710版) | |
ECHO. | |
ECHO. ====================================================================================== | |
ECHO. 注意: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://stackoverflow.com/questions/2604727/how-can-i-connect-to-android-with-adb-over-tcp | |
enable adb over wifi: | |
Code: | |
setprop service.adb.tcp.port 5555 | |
stop adbd |