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
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 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
""block cursor | |
let &t_ti.="\e[1 q" | |
let &t_SI.="\e[5 q" | |
let &t_EI.="\e[1 q" | |
let &t_te.="\e[0 q" | |
" remove menus | |
set go-=m | |
set go-=T |
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
@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 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
// 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 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
### 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 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
# auto start tmux | |
if [[ ! $TERM =~ screen ]]; then | |
tmux a || tmux new | |
fi | |
# custom prompt | |
export PS1="\[\033[36m\]\u\[\033[33;1m\]\w\[\033[0;32m\]\$(__git_ps1 '(%s)') \[\033[36m\]\$\[\033[m\] " | |
### macos ### | |
parse_git_branch() { |
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
// https://th.wikipedia.org/wiki/จังหวัดของประเทศไทย | |
// 77 จังหวัด | |
var province_th = [ | |
'กรุงเทพฯ', | |
'กระบี่', | |
'กาญจนบุรี', | |
'กาฬสินธุ์', | |
'กำแพงเพชร', | |
'ขอนแก่น', | |
'จันทบุรี', |
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
# ---------------- | |
# http://forum.xda-developers.com/showthread.php?t=2278508 | |
# http://forum.xda-developers.com/showthread.php?t=2294786 | |
# | |
# (require root) | |
# reset | |
wm size reset | |
wm density reset | |
wm overscan reset |
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
[user] | |
name = diewland | |
email = [email protected] | |
[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