博客园 - rainduck
uuid:24b78886-0ed1-41c2-8670-e3f31dcf42c4;id=31843
2022-10-23T07:56:08Z
rainduck
https://www.cnblogs.com/rainduck/
feed.cnblogs.com
https://www.cnblogs.com/rainduck/p/git-svn-error.html
macOS下git svn出错 - rainduck
macOS下使用git SVN提示:Can't locate SVN/Core.pm in @INC。 我这里的情况是在升级了macOS Big Sur之后出现的,参考Stack Overflow上的答案,进行如下修改: 修改文件 /usr/local/Cellar/git/【version num
2020-12-19T16:55:00Z
2020-12-19T16:55:00Z
rainduck
https://www.cnblogs.com/rainduck/
【摘要】macOS下使用git SVN提示:Can't locate SVN/Core.pm in @INC。 我这里的情况是在升级了macOS Big Sur之后出现的,参考Stack Overflow上的答案,进行如下修改: 修改文件 /usr/local/Cellar/git/【version num <a href="https://www.cnblogs.com/rainduck/p/git-svn-error.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/rainduck/p/11257888.html
为macos开启外接显示器hdpi分辨率 - rainduck
安装了Switch RES,但是缺少当前显示器合适的HDPI分辨率的时候,可以参考这里,自动生成合适的配置文件。 https://comsysto.github.io/Display Override PropertyList File Parser and Generator with HiDPI
2019-07-28T01:57:00Z
2019-07-28T01:57:00Z
rainduck
https://www.cnblogs.com/rainduck/
【摘要】安装了Switch RES,但是缺少当前显示器合适的HDPI分辨率的时候,可以参考这里,自动生成合适的配置文件。 https://comsysto.github.io/Display Override PropertyList File Parser and Generator with HiDPI <a href="https://www.cnblogs.com/rainduck/p/11257888.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/rainduck/p/11256922.html
elasticsearch+kibana setup - rainduck
加载示例数据,设置index的时候出错: 提示 forbidden 则可能是es的问题,需要执行如下命令: 参考:https://www.elastic.co/guide/en/elasticsearch/reference/current/disk allocator.html
2019-07-27T13:50:00Z
2019-07-27T13:50:00Z
rainduck
https://www.cnblogs.com/rainduck/
【摘要】加载示例数据,设置index的时候出错: 提示 forbidden 则可能是es的问题,需要执行如下命令: 参考:https://www.elastic.co/guide/en/elasticsearch/reference/current/disk allocator.html <a href="https://www.cnblogs.com/rainduck/p/11256922.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/rainduck/p/terminologies.html
术语 - rainduck
概念漂移(concept drift) 背景:概念漂移指的是数据流中的潜在数据分布随时间发生不可预测的变化,使原有的分类器分类不准确或决策系统无法正确决策,常见于推荐系统、金融领域、决策等。 concept drift refers to unforeseeable changes in the u
2019-05-31T03:15:00Z
2019-05-31T03:15:00Z
rainduck
https://www.cnblogs.com/rainduck/
【摘要】概念漂移(concept drift) 背景:概念漂移指的是数据流中的潜在数据分布随时间发生不可预测的变化,使原有的分类器分类不准确或决策系统无法正确决策,常见于推荐系统、金融领域、决策等。 concept drift refers to unforeseeable changes in the u <a href="https://www.cnblogs.com/rainduck/p/terminologies.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/rainduck/p/Markdown-syntax-guide-and-writing-on-MWeb.html
Markdown syntax guide and writing on MWeb - rainduck
PhilosophyMarkdown is intended to be as easy-to-read and easy-to-write as is feasible.Readability, however, is emphasized above all else. A Markdown-formatted document should be publishable as-is, as ...
2017-01-04T14:32:00Z
2017-01-04T14:32:00Z
rainduck
https://www.cnblogs.com/rainduck/
【摘要】PhilosophyMarkdown is intended to be as easy-to-read and easy-to-write as is feasible.Readability, however, is emphasized above all else. A Markdown-formatted document should be publishable as-is, as ... <a href="https://www.cnblogs.com/rainduck/p/Markdown-syntax-guide-and-writing-on-MWeb.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/rainduck/p/5995564.html
python中的告警处理 - rainduck
在Python中,遇到异常时,一类是直接抛出异常, ;另一类直接告警 . 对于后者,通常是打印一句话。前者则或中断程序执行。 考虑到避免由于告警导致后续的不可预知的错误,可以对warning进行异常处理。 1. 不让打印告警信息 2. 当异常处理,用except捕获。 详细处理方式 |Value|
2016-10-25T01:55:00Z
2016-10-25T01:55:00Z
rainduck
https://www.cnblogs.com/rainduck/
【摘要】在Python中,遇到异常时,一类是直接抛出异常, ;另一类直接告警 . 对于后者,通常是打印一句话。前者则或中断程序执行。 考虑到避免由于告警导致后续的不可预知的错误,可以对warning进行异常处理。 1. 不让打印告警信息 2. 当异常处理,用except捕获。 详细处理方式 |Value| <a href="https://www.cnblogs.com/rainduck/p/5995564.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/rainduck/p/5965831.html
无法连接 MKS: Login(username/password)incorrect - rainduck
升级到Vmware Workstation 12之后,客户端能连上虚拟机服务器,但却打不开共享的虚拟机,提示报错“无法连接 MKS: Login(username/password)incorrect”。 查了下,原来是监听的端口改了。用文本编辑器打开C:\ProgramData\VMware\VM
2016-10-15T18:22:00Z
2016-10-15T18:22:00Z
rainduck
https://www.cnblogs.com/rainduck/
【摘要】升级到Vmware Workstation 12之后,客户端能连上虚拟机服务器,但却打不开共享的虚拟机,提示报错“无法连接 MKS: Login(username/password)incorrect”。 查了下,原来是监听的端口改了。用文本编辑器打开C:\ProgramData\VMware\VM <a href="https://www.cnblogs.com/rainduck/p/5965831.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/rainduck/p/5914471.html
pandas中将timestamp转为datetime - rainduck
参考自:http://stackoverflow.com/questions/35312981/using pandas to datetime with timestamps 在pandas DataFrame中将timestamp转为datetime,关键要使用unit='s'。而不是ms、us
2016-09-27T13:54:00Z
2016-09-27T13:54:00Z
rainduck
https://www.cnblogs.com/rainduck/
【摘要】参考自:http://stackoverflow.com/questions/35312981/using pandas to datetime with timestamps 在pandas DataFrame中将timestamp转为datetime,关键要使用unit='s'。而不是ms、us <a href="https://www.cnblogs.com/rainduck/p/5914471.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/rainduck/p/5909510.html
python中的时间转换 - rainduck
Python中的时间相关库有: 和 。 主要形式有: datetime timestamp 相互转换: timestamp datetime: datetime timestamp: 时间或日期的格式问题,可以使用strftime 涉及到时区等问题,参考: 1. python timestamp和d
2016-09-26T07:58:00Z
2016-09-26T07:58:00Z
rainduck
https://www.cnblogs.com/rainduck/
【摘要】Python中的时间相关库有: 和 。 主要形式有: datetime timestamp 相互转换: timestamp datetime: datetime timestamp: 时间或日期的格式问题,可以使用strftime 涉及到时区等问题,参考: 1. python timestamp和d <a href="https://www.cnblogs.com/rainduck/p/5909510.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/rainduck/p/5424655.html
反汇编工具capstone安装后import error - rainduck
使用 后,使用如下代码import时出现error。 错误信息: 此时,应该是capstone的版本问题。只需要使用如下命令重新安装即可。 done.
2016-04-23T06:56:00Z
2016-04-23T06:56:00Z
rainduck
https://www.cnblogs.com/rainduck/
【摘要】使用 后,使用如下代码import时出现error。 错误信息: 此时,应该是capstone的版本问题。只需要使用如下命令重新安装即可。 done. <a href="https://www.cnblogs.com/rainduck/p/5424655.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/rainduck/p/5124039.html
自定义citationstyles(cls)文献引用模板 - rainduck
最近需要用国内某期刊的模板来写东西。所以需要自定义模板。国内的期刊主要遵循GB7714 2005的文献格式。对于经常使用Zotero、mendeley等免费的知识管理工具的同学,可以从这里获取cls模板: "GB7714 2005 中文" 。 其它模板: "Zotero Style Repos...
2016-01-12T05:20:00Z
2016-01-12T05:20:00Z
rainduck
https://www.cnblogs.com/rainduck/
【摘要】最近需要用国内某期刊的模板来写东西。所以需要自定义模板。国内的期刊主要遵循GB7714 2005的文献格式。对于经常使用Zotero、mendeley等免费的知识管理工具的同学,可以从这里获取cls模板: "GB7714 2005 中文" 。 其它模板: "Zotero Style Repos... <a href="https://www.cnblogs.com/rainduck/p/5124039.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/rainduck/p/4831744.html
Mac OS X的空间去哪儿了 - rainduck
记得有事儿没事儿看下,/cores/目录的大小。cores目录是存放程序dump的数据,对于绝大部分人时是没有用的。可以删除。如果遇到坑爹的程序,一直生成dump文件,硬盘瞬间就爆满了。典型:Android Studio中的C/C++ plugin。嗯,默默的占用了老子30G空间,直到硬盘满了。解决...
2015-09-23T03:36:00Z
2015-09-23T03:36:00Z
rainduck
https://www.cnblogs.com/rainduck/
【摘要】记得有事儿没事儿看下,/cores/目录的大小。cores目录是存放程序dump的数据,对于绝大部分人时是没有用的。可以删除。如果遇到坑爹的程序,一直生成dump文件,硬盘瞬间就爆满了。典型:Android Studio中的C/C++ plugin。嗯,默默的占用了老子30G空间,直到硬盘满了。解决... <a href="https://www.cnblogs.com/rainduck/p/4831744.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/rainduck/p/4765991.html
010editor 破解 扩展 - rainduck
1. 注册机注册,注册机搜一下吧 (破解算法各版本通用)2. 绕过网络验证,每次关闭010editor时都会网络验证,并将验证结果写道本地,所以:HKEY_CURRENT_USER\Software\SweetScape\010Editor\CLASSES\CLSID\{FA1395FC-83C3-...
2015-08-28T03:25:00Z
2015-08-28T03:25:00Z
rainduck
https://www.cnblogs.com/rainduck/
【摘要】1. 注册机注册,注册机搜一下吧 (破解算法各版本通用)2. 绕过网络验证,每次关闭010editor时都会网络验证,并将验证结果写道本地,所以:HKEY_CURRENT_USER\Software\SweetScape\010Editor\CLASSES\CLSID\{FA1395FC-83C3-... <a href="https://www.cnblogs.com/rainduck/p/4765991.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/rainduck/p/4371288.html
无cookie下载Oracle otn上的sun jdk等软件 - rainduck
从Oracle下载sun jdk提示:In order to download products from Oracle Technology Network you must agree to the OTN license terms.这是可通过如下命令解决: wget --no-cookies...
2015-03-27T03:26:00Z
2015-03-27T03:26:00Z
rainduck
https://www.cnblogs.com/rainduck/
【摘要】从Oracle下载sun jdk提示:In order to download products from Oracle Technology Network you must agree to the OTN license terms.这是可通过如下命令解决: wget --no-cookies... <a href="https://www.cnblogs.com/rainduck/p/4371288.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/rainduck/p/4346396.html
联想扬天 电脑 键盘改默认fn功能键 - rainduck
联想扬天电脑改键工具 windows 8 windows8.1 64位版本:http://support1.lenovo.com.cn/lenovo/wsi/Modules/DriverDetail.aspx?ID=39424实在无法忍受默认没有 f1~。。的键盘。。而且还是那么奇葩的一个布局。!!
2015-03-18T02:04:00Z
2015-03-18T02:04:00Z
rainduck
https://www.cnblogs.com/rainduck/
【摘要】联想扬天电脑改键工具 windows 8 windows8.1 64位版本:http://support1.lenovo.com.cn/lenovo/wsi/Modules/DriverDetail.aspx?ID=39424实在无法忍受默认没有 f1~。。的键盘。。而且还是那么奇葩的一个布局。!! <a href="https://www.cnblogs.com/rainduck/p/4346396.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/rainduck/p/4271375.html
gcc编译时指定链接库的查找目录 - rainduck
gcc编译时,如果需要链接的库的目录不在标准目录,则需要通过将保护库的目录/aa/bb/cc通过-L/aa/bb/cc 添加到搜索路径中,如:gcc -o xmltest xml_test.cpp -L/home/xxxx/Desktop/xml_test -lmxml -lpthread -sta...
2015-02-03T16:02:00Z
2015-02-03T16:02:00Z
rainduck
https://www.cnblogs.com/rainduck/
【摘要】gcc编译时,如果需要链接的库的目录不在标准目录,则需要通过将保护库的目录/aa/bb/cc通过-L/aa/bb/cc 添加到搜索路径中,如:gcc -o xmltest xml_test.cpp -L/home/xxxx/Desktop/xml_test -lmxml -lpthread -sta... <a href="https://www.cnblogs.com/rainduck/p/4271375.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/rainduck/p/4269000.html
ubuntu 12.04禁用笔记本触摸板 - rainduck
习惯了在Macbook Pro上使用触摸板,装了个linux 的dualboot,发现,ubuntu下对触摸板的支持实在是太烂了,想禁用触摸板却找不到设置的地方。终于最后发现了——touchpad-Indicator。可以设置:-是否开机自启动-默认禁用触摸板或者开启-是否插入鼠标后禁用触摸板- e...
2015-02-02T15:56:00Z
2015-02-02T15:56:00Z
rainduck
https://www.cnblogs.com/rainduck/
【摘要】习惯了在Macbook Pro上使用触摸板,装了个linux 的dualboot,发现,ubuntu下对触摸板的支持实在是太烂了,想禁用触摸板却找不到设置的地方。终于最后发现了——touchpad-Indicator。可以设置:-是否开机自启动-默认禁用触摸板或者开启-是否插入鼠标后禁用触摸板- e... <a href="https://www.cnblogs.com/rainduck/p/4269000.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/rainduck/p/4241720.html
python中的system函数与编码 - rainduck
在调用os.system执行命令时,发现system不能接受unicode的命令。那么命令中却又包含以unicode表示的中文等字符怎么办?——方法就是将unicode转化为utf8path = u'我的文件.txt'cmd = 'process'cmd += ' '+ path.encode('u...
2015-01-22T07:05:00Z
2015-01-22T07:05:00Z
rainduck
https://www.cnblogs.com/rainduck/
【摘要】在调用os.system执行命令时,发现system不能接受unicode的命令。那么命令中却又包含以unicode表示的中文等字符怎么办?——方法就是将unicode转化为utf8path = u'我的文件.txt'cmd = 'process'cmd += ' '+ path.encode('u... <a href="https://www.cnblogs.com/rainduck/p/4241720.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/rainduck/p/4238191.html
使用signal、setjmp、longjmp进行Linux/Android C异常处理 - rainduck
1 #include 2 #include 3 #include 4 #include 5 jmp_buf sigsegv_buf; 6 7 8 void sigsegv_callback(int sig_num){ 9 printf("recieve a segment fa...
2015-01-21T02:31:00Z
2015-01-21T02:31:00Z
rainduck
https://www.cnblogs.com/rainduck/
【摘要】1 #include 2 #include 3 #include 4 #include 5 jmp_buf sigsegv_buf; 6 7 8 void sigsegv_callback(int sig_num){ 9 printf("recieve a segment fa... <a href="https://www.cnblogs.com/rainduck/p/4238191.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/rainduck/p/4231495.html
ffffffuzzzzzzzzzzzzing - rainduck
为了克服现有 Fuzzing 技术对目标程序缺乏理解、测试完全随机且盲目的缺点,提出了新方法:基于动态符号执行的智能测试技术。先通过静态分析获得危险点,然后通过符号执行收集路径条件,最后利用约束求解工具求解能够执行到指定路径的测试数据进行测试.
2015-01-18T01:51:00Z
2015-01-18T01:51:00Z
rainduck
https://www.cnblogs.com/rainduck/
【摘要】为了克服现有 Fuzzing 技术对目标程序缺乏理解、测试完全随机且盲目的缺点,提出了新方法:基于动态符号执行的智能测试技术。先通过静态分析获得危险点,然后通过符号执行收集路径条件,最后利用约束求解工具求解能够执行到指定路径的测试数据进行测试. <a href="https://www.cnblogs.com/rainduck/p/4231495.html" target="_blank">阅读全文</a>