会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Vastiny
博客园
首页
新随笔
联系
订阅
管理
2018年2月28日
HammperSpoon 不能 Focus Google Chrome 的问题
摘要: 通畅有两种方法 focus Google Chrome hs.hotkey.bind({'alt'}, '1', function () hs.application.launchOrFocusByBundleID("com.google.Chrome") end)hs.hotkey.bind({'
阅读全文
posted @ 2018-02-28 12:29 yantze
阅读(276)
评论(0)
推荐(0)
2017年6月26日
如何让 vim 可以在命令行执行命令并且附加参数
摘要: 常见的一个实现例子是 vim +PluginInstall 可以通过在 Terminal 里面直接运行 vim 的 command 我找到的可以实现这种方法的是 一般情况下,可以直接在 vim 中通过 :Search 运行,但如果在 Terminal 中可以直接执行 vim +Search 就能进入
阅读全文
posted @ 2017-06-26 14:26 yantze
阅读(2746)
评论(0)
推荐(0)
2016年8月3日
This bison version is not supported for regeneration of the Zend/PHP parsers
摘要: 在 mac 中编译 php-src.git 报错: 使用下面的方式未果: 添加 YACC 成功编译: 参考自: https://bugs.php.net/bug.php?id=71343
阅读全文
posted @ 2016-08-03 10:17 yantze
阅读(1204)
评论(0)
推荐(0)
2016年6月7日
php cURL library is not loaded
摘要: 问题: php 在命令行里面可以找到 curl 模块,但是用apache 没有找到 curl 模块。 表现内容为: extension_loaded('curl')cURL library is not loaded 下面变量 undefined CURLOPT_SSL_VERIFYPEER, CU
阅读全文
posted @ 2016-06-07 17:48 yantze
阅读(718)
评论(0)
推荐(0)
2016年5月11日
aws linuxbrew GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2
摘要: 在 aws ec2 里面出现 segement fault,ls rm 等命令都不能正常运行,会出现: 解决方法: unset LD_LIBRARY_PATH unset MIC_LD_LIBRARY_PATH more: http://superuser.com/questions/394730/
阅读全文
posted @ 2016-05-11 15:16 yantze
阅读(1831)
评论(0)
推荐(0)
2015年10月15日
gen-cpp/.deps/ChildService.Plo: No such file or directory
摘要: 最近在编译 Thrift 的时候出现这种情况,我按照官方教程的要求,所有版本都是最新,但是还出现这种问题。make[4]: Entering directory `/home/yantze/dl/thrift/lib/cpp/test'Makefile:1189: gen-cpp/.deps/Chi...
阅读全文
posted @ 2015-10-15 22:21 yantze
阅读(2009)
评论(0)
推荐(0)
2015年4月15日
快速解码base64和utf-8的ASCII编码和URL解码
摘要: 看论坛上总是有人发乱七八糟的文字,根本看不懂,用下面的方法解密一下.只要有浏览器的开发者工具就行了.UTF-16解码console.log("\u5475\u5475")URL解码(在ES6中被标记为Draft)unescape("%u5475%u5475")Base64解码decodeURICom...
阅读全文
posted @ 2015-04-15 15:01 yantze
阅读(1944)
评论(0)
推荐(0)
2015年1月29日
英文版firefox显示中文字体丑的问题
摘要: 在Options里面选择Content,在Fonts&Colors区域的Default font中,选择Times New Roman如下图1:在旁边的Advanced中选择,Fonts for:Simplified ChineseProportional:Sans SerifSerif: Micr...
阅读全文
posted @ 2015-01-29 12:47 yantze
阅读(5145)
评论(0)
推荐(0)
2015年1月20日
linux find 反转 查找没有被找到的结果
摘要: 在linux下,有时候需要找一些文件,还有时候这些文件格式不够统一和规范,但是需要排除的那些文件却格式统一,就可以使用find命令的反转功能一般用find查找文件的命令是:find . -name "*.tar.*" -o -name "*.patch"这个意思是,查找文件名里面包含.tar.字符O...
阅读全文
posted @ 2015-01-20 18:30 yantze
阅读(1820)
评论(0)
推荐(0)
linux与windows共享剪贴板(clipboard)
摘要: linux与windows共享剪贴板(clipboard)的方法先说两句废话,其实linux和windows之间不需要共享剪贴板,直接在putty中,按住SHIFT+鼠标选择就可以了。但是作为一种hack行为或者不用鼠标实现复制功能,就需要这种方法了。组合:putty+tmux+vim+mobait...
阅读全文
posted @ 2015-01-20 00:36 yantze
阅读(8421)
评论(0)
推荐(0)
下一页
公告