会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
乄末曲丶
博客园
首页
新随笔
管理
2020年2月21日
Lua 正则表达式字符串切割
摘要: 一、包含空字符串 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)
2020年2月20日
Git 代理设置
摘要: 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)
Gradle 代理设置
摘要: $HOME/.gradle/gradle.properties org.gradle.jvmargs=-DsocksProxyHost=127.0.0.1 -DsocksProxyPort=1080
阅读全文
posted @ 2020-02-20 17:06 乄末曲丶
阅读(416)
评论(0)
推荐(0)
2020年2月6日
Linux搜索文件是否包含字符串
摘要: #-type f 为文件#-name 'xxxxx.xxxx' 文件名/可使用模糊匹配#grep 'xxxx' 筛选包含的字符串内容 find -type f -name '*.*'| xargs grep 'xxxx'
阅读全文
posted @ 2020-02-06 17:30 乄末曲丶
阅读(822)
评论(0)
推荐(0)