This file contains hidden or 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
| # use su of kingroot for system modification: | |
| /system/xbin/ku.sud -d & | |
| /system/xbin/.rgs -d & | |
| /system/etc/kds --global-daemon 1 | |
| # remove any files of KingRoot!!! | |
| # find / -name *kingroot* | |
| rm -rf /system/usr/iku/isu | |
| rm -rf /system/usr/iku |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
| 阿爸 a1'ba4 18137 | |
| 阿昌族 a1'chang1'zu2 50849 | |
| 阿斗 a1'dou3 42632 | |
| 阿飞 a1'fei1 48603 | |
| 阿富汗 a1'fu4'han4 3461 | |
| 阿訇 a1'hong1 34432 | |
| 阿拉伯数字 a1'la1'bo2'shu4'zi4 35937 | |
| 阿拉伯语 a1'la1'bo2'yu3 30476 | |
| 阿妈 a1'ma1 16220 |
This file contains hidden or 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
| # open file: | |
| alias open="xdg-open >/dev/null 2>&1" | |
| # case insensitive command | |
| shopt -s nocaseglob | |
| # correct typo | |
| shopt -s cdspell | |
| #$ cd desktop<enter> | |
| # save every history in parallel prompts | |
| shopt -s histappend |
This file contains hidden or 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
| Host a | |
| Hostname a.com | |
| Port 22 | |
| User user | |
| Host * | |
| ServerAliveInterval 30 | |
| ServerAliveCountMax 3 |
This file contains hidden or 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
| #!/usr/bin/env python | |
| # coding: utf-8 | |
| """Query current cursor position. | |
| Return cursor coordinates relative to cursor resolution 2^16 x 2^16.""" | |
| import ctypes | |
| class _point_t(ctypes.Structure): | |
| """Cursor point coordinate relative to screen resolution.""" | |
| _fields_ = [ |
This file contains hidden or 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
| import threading | |
| from queue import Queue | |
| import time | |
| NUMBER_OF_THREADS = 3 | |
| PRINTING_LOCK = threading.Lock() | |
| def locking_print_decorator(func): | |
| def func_wrapper(*args, **kwargs): |
This file contains hidden or 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
| Unpack the downloaded tar/tgz/zip file where it lays | |
| Using a Terminal window, navigate to that folder location (probably cd ~/Downloads), invoke sudo -i (You will need administrator/su permissions for the next few steps) | |
| mv android-studio /opt moves the files you unpacked (requires permissions) | |
| gedit android-studio.desktop this opens a text editor so that we may create a shortcut icon to open your new program. Insert the following code, then save the .desktop file. | |
| [Desktop Entry] | |
| Name=Android Studio | |
| Comment=Integerated Development Environment for Android | |
| Exec=/opt/android-studio/bin/studio.sh | |
| Icon=/opt/android-studio/bin/studio.png | |
| Terminal=false |
This file contains hidden or 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 | |
| # */10 * * * * root path/to/auto_brightness.sh | |
| A=80 | |
| omega=0.3 | |
| t="-2.5" | |
| c="0" #5 | |
| now=`date | awk -F ' ' '{print $4}'` | |
| hour=`echo $now | awk -F ':' '{print $1}'` | |
| minute=`echo $now | awk -F ':' '{print $2}'` |
This file contains hidden or 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 | |
| REMOTE="xxx@192.168.1.2:/home/xxx/Desktop" | |
| MOUNTPOINT=$( mount | grep -E "^${REMOTE}/? " | awk '{print $3}' ) | |
| if [ -z "$MOUNTPOINT" ] ; then | |
| sudo sshfs -o allow_other,default_permissions xxx@192.168.1.2:/home/xxx/Desktop /home/xxx/Desktop/latitudeDT | |
| else | |
| echo "LATI ALREADY DONE." | |
| fi |
This file contains hidden or 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 | |
| # */3 * * * * xxx bash /path/to/kill_nemo.sh | |
| cpu=`top -b -n 1 | grep " nemo" | head -n 1 | awk -F ' ' '{print $9}'` | |
| memory=`top -b -n 1 | grep " nemo" | head -n 1 | awk -F ' ' '{print $10}'` | |
| pid=`top -b -n 1 | grep " nemo" | head -n 1 | awk -F ' ' '{print $1}'` | |
| if [[ "none"$cpu == "none" || "none"$memory == "none" || "none"$pid == "none" ]]; then | |
| exit 0 | |
| fi |
OlderNewer