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
| mkdir ~/glibc_install; cd ~/glibc_install | |
| wget http://ftp.gnu.org/gnu/glibc/glibc-2.14.tar.gz | |
| tar zxvf glibc-2.14.tar.gz | |
| cd glibc-2.14 | |
| mkdir build | |
| cd build | |
| ../configure --prefix=/opt/glibc-2.14 | |
| make -j4 |
/*
adb shell monkey --port 1080
adb forward tcp:1080 tcp:1080
telnet 127.0.0.1 1080
sleep 300
quit
done
type string
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
| ``` | |
| task test() { | |
| println 'wertyuk' | |
| //println 'git pull'.execute().text | |
| def result = 'git ls-remote --refs [email protected]:AndroidGroup/resp.git' | |
| .execute().text.split('\n').collect { it.split('/')[2] } | |
| println '------' | |
| result.each { println it } | |
| println '------' | |
| } |
class NameUtil {
constructor() {
this.nameCode = '鑫正涵琛妍芸露楠薇锦彤采初美冬婧桐莲彩洁'
+'呈菡怡冰雯雪茜优静萱林馨鹤梅娜璐曼彬芳颖韵曦蔚桂月梦琪蕾'
+'依碧枫欣杉丽祥雅欢婷舒心紫芙慧梓香玥菲璟茹昭岚玲云华阳弦'
+'莉明珊雨蓓旭钰柔敏家凡花媛歆沛姿妮珍琬彦倩玉柏橘昕桃栀克'
+'帆俊惠漫芝寒诗春淑凌珠灵可格璇函晨嘉鸿瑶帛琳文洲娅霞颜康'
+'卓星礼远帝裕腾震骏加强运杞良梁逸禧辰佳子栋博年振荣国钊喆'
+'睿泽允邦骞哲皓晖福濡佑然升树祯贤成槐锐芃驰凯韦信宇鹏盛晓'
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
| /* | |
| 使用worktree同步不同分支的代码 | |
| */ | |
| // 远程分支 | |
| var fromBranch = 'origin/master' | |
| // 项目目录 | |
| var projectPath = 'D:/AndroidStudio_git/android/' |
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
| /* | |
| 通过解析.patch文件查找提交的代码中新增的数据库字段 | |
| */ | |
| const fs = require('fs'); | |
| console.log(process.argv); | |
| var arr = fs.readFileSync(process.argv[2], 'utf-8').split('\n') | |
| var tmpArr = [] | |
| for (var i = 0; i < arr.length; i++) { | |
| var line = arr[i] | |
| if (line.startsWith('+++')) { |
sass2less.cmd ./styles/bootstrap/scss/**/*.scss ./styles/bootstrap-less/{dir}/{name}.less