摘要: 一、包含空字符串 1 function split(str, sep) 2 local res = {} 3 string.gsub(str, '[^' .. sep .. ']*', function(w) 4 table.insert(res, w) 5 end) 6 return res 7 阅读全文
posted @ 2020-02-21 16:36 乄末曲丶 阅读(570) 评论(0) 推荐(0)
摘要: Http协议代理: git config --global http.proxy http://127.0.0.1:1080 git config --global https.proxy https://127.0.0.1:1080 socks协议代理: git config --global h 阅读全文
posted @ 2020-02-20 17:08 乄末曲丶 阅读(125) 评论(0) 推荐(0)
摘要: $HOME/.gradle/gradle.properties org.gradle.jvmargs=-DsocksProxyHost=127.0.0.1 -DsocksProxyPort=1080 阅读全文
posted @ 2020-02-20 17:06 乄末曲丶 阅读(416) 评论(0) 推荐(0)
摘要: #-type f 为文件#-name 'xxxxx.xxxx' 文件名/可使用模糊匹配#grep 'xxxx' 筛选包含的字符串内容 find -type f -name '*.*'| xargs grep 'xxxx' 阅读全文
posted @ 2020-02-06 17:30 乄末曲丶 阅读(822) 评论(0) 推荐(0)