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 | |
SET apk=%1 | |
SET fname=%apk:.apk=% | |
ECHO remove previous folder %fname%.. | |
rm -rf fname | |
ECHO unzip %apk% to folder %fname%.. | |
unzip -q -o %apk% -d %fname% |
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
// Top-level build file where you can add configuration options common to all sub-projects/modules. | |
buildscript { | |
repositories { | |
mavenLocal() | |
maven { | |
name "jcenter" | |
url "http://jcenter.bintray.com/" | |
} | |
} |
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
### Actions ### | |
1.1. Recent app, Swipe down LINE app to prevent LINE from clean up process | |
or | |
1.2. Security Center -> Memory cleanup, add LINE to Clean whitelist | |
2. Security Center -> Privacy permissions, add LINE to Auto-run management | |
3. Security Center -> Energy saving, disable LINE from Excessive power consumption | |
### Reference ### |
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
bind j resize-pane -D 5 | |
bind k resize-pane -U 5 | |
bind h resize-pane -L 5 | |
bind l resize-pane -R 5 | |
set -g mouse on | |
# scroll mouse wheel --> Ctrl-B + [ |
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
import requests | |
import urllib | |
tag = 'person' | |
url = "https://api.flickr.com/services/rest/?method=flickr.photos.search&api_key=881cbcfeb398828ea12b253c1743224e&text=%s&format=json&nojsoncallback=1" % tag | |
proxies = {'http': 'http://your.proxy:port/'} | |
r = requests.get(url) | |
image = urllib.URLopener(proxies) |
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
function debug_post(){ | |
echo '<pre>'.print_r($_POST, true).'</pre>'; | |
} |
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
<script> | |
<?php | |
echo "var data = ".json_encode($data).";"; | |
?> | |
</script> |
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
git config --global -e |
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
[user] | |
name = diewland | |
email = diewland@gmail.com | |
[alias] | |
st = status | |
ci = commit | |
br = branch | |
co = checkout | |
l = log --graph --decorate --pretty=oneline --abbrev-commit -n 10 | |
ll = log --graph --decorate --pretty=oneline --abbrev-commit --all |
OlderNewer