blog.creke.net
梦溪笔记 | Creke Blog | 梦溪博客
http://blog.creke.net/category/梦溪笔记
而当苏米的电话铃声响起时,那是一首 Que sera sera ,身为老师的江河居然能跟着歌词,将中文翻译如诗般朗诵出来。 201407.26 / 7 条评论 / 分类 梦溪笔记. S = Ai * Wi, i = 2, … , 18. Y = mod(S, 11). I: 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1. Wi: 7 9 10 5 8 4 2 1 6 3 7 9 10 5 8 4 2 1. 到了这里,我们还需要考虑另一个问题,在这366次枚举中,匹配的概率是多少 我没有认真计算匹配的概率,但假设得到的验证码的概率为平均分布的情况下,366次尝试得到的可能结果为 366*(1/11)=33.3。 Days[] = {0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; int. IS = 0; int. VerCode[] = {1, 0, 10, 9, 8, 7, 6, 5, 4, 3, 2}; int. I=1;i =17;i ) { iS = nums[i]* iW[i]; } int.
blog.fungo.me
About | 山羊博客
http://blog.fungo.me/about
A 程序员 @杭州 @阿里云 @RDS 玩 MySQL.
blog.creke.net
BIND-dlz联合数据库DNS服务器安装小记 | Creke Blog | 梦溪博客
http://blog.creke.net/760.html
Wget ftp:/ ftp.isc.org/isc/bind/9.8.0-P4/bind-9.8.0-P4.tar.gz. Cd bind-9.8.0-P4. Configure –with-dlz-mysql –enable-largefile –enable-threads –with-openssl –prefix=/usr/local/bind. Secret gOszdwp5stjsnfI7MybyIg= ;. Inet 127.0.0.1 port 953. Allow { 127.0.0.1; } keys { rndc-key; };. Forwarders {8.8.8.8;};. Pid-file /usr/local/bind/etc/named.pid;. Statistics-file /usr/local/bind/etc/named.stats;. Allow-query {any;};. Allow-transfer {none;};. Channel bind info {. View any view {. Match-clients { ANY; };.
blog.creke.net
CentOS在SSH中运行GUI图形界面程序 | Creke Blog | 梦溪博客
http://blog.creke.net/810.html
Java -jar frd.jar /dev/null 2 &1 &. The remote SSH server rejected X11 forwarding request. ,则需要安装以下组件. Yum install xorg-x11-xauth xterm. 若运行Java程序时出现 No X11 DISPLAY variable was set, but this program performed an operation which requires it. ,则. Localhost:10.0只是一个常用的例子,具体要根据用户本机的X11 server来设定 如果用Xmanager,在SSH的属性设置的Tunneling中forward到Xmanager了,登录SSH会自动设置好这个系统环境变量的。 若出现 libXtst.so.6: cannot open shared object file: No such file or directory ,则安装必要组件. Yum install libXi libXp libXtst. 2005-2016 Creke Blog 梦溪博客.
blog.creke.net
为nginx配置https并自签名证书 | Creke Blog | 梦溪博客
http://blog.creke.net/762.html/comment-page-1
Openssl genrsa -des3 -out ca.key 2048. Openssl rsa -in ca.key -out ca decrypted.key. Openssl req -new -x509 -days 7305 -key ca.key -out ca.crt. Openssl genrsa -des3 -out blog.creke.net.pem 1024. Openssl rsa -in blog.creke.net.pem -out blog.creke.net.key. Openssl req -new -key blog.creke.net.pem -out blog.creke.net.csr. 在common name中填入网站域名,如blog.creke.net即可生成改站点的证书,同时也可以使用泛域名如*.creke.net来生成所有二级域名可用的网站证书。 如果在执行签名命令时,出现 I am unable to access the ././CA/newcerts directory. Echo “01″ CA/serial.
blog.creke.net
ffmpeg将音频或视频编码为AMR格式音频 | Creke Blog | 梦溪博客
http://blog.creke.net/802.html
Ffmpeg -i test.mp4 -c:a copy test.amr. Ffmpeg -i test.mp4 -c:a libopencore amrnb -ac 1 -ar 8000 -b:a 12.20k -y test.amr. Ffmpeg -i test.mp4 -acodec libopencore amrnb -ac 1 -ar 8000 -ab 12.20k -y test.amr. CentOS VPS安装PPTP VPN 适用于XEN和OpenVZ. 呃 在 让一个端口同时做两件事 http/https和ssh. Fish 在 让SSH/SOCKS成为全局代理的软件们 Windows Linux. 2005-2016 Creke Blog 梦溪博客. Js O4 noire theme by Jinwen. Valid CSS 2.1. Stats: 37 queries. 0.605 seconds.
blog.creke.net
ffmpeg/ffprobe查看音频视频文件信息并输出为json格式 | Creke Blog | 梦溪博客
http://blog.creke.net/803.html
Ffprobe -v quiet -print format json -show format -show streams #{source}. CentOS VPS安装PPTP VPN 适用于XEN和OpenVZ. 呃 在 让一个端口同时做两件事 http/https和ssh. Fish 在 让SSH/SOCKS成为全局代理的软件们 Windows Linux. 2005-2016 Creke Blog 梦溪博客. Js O4 noire theme by Jinwen. Valid CSS 2.1. Stats: 37 queries. 0.275 seconds.
blog.creke.net
Creke Blog | 梦溪博客 - 从这里睁眼看世界 - 第 2 页
http://blog.creke.net/page/2
MingW通过mingw-get的package管理切换回gcc 4.5.2. 201301.21 / 1 条评论 / 分类 所谓技术. 在Eclipse Juno中添加Chrome为external browser并使用自定义参数是一件很痛苦的事,因为要添加%URL%,要添加自定义参数,如 –disable-web-security 等。 探索了一晚,终于找到了解决方法 在Eclipse中点击 Window- Prefe. 201301.21 / 暂无评论 / 分类 所谓技术. 201211.08 / 6 条评论 / 分类 所谓技术. 201211.05 / 2 条评论 / 分类 所谓技术. 使用以下命令进行安装plowshare git clone https:/ code.google.com/p/plowshare/ cd plowshare 然后,由于新版的plowshare默认是支持bash4以上. 201210.28 / 暂无评论 / 分类 所谓技术. 201210.28 / 暂无评论 / 分类 所谓技术. 201209.10 / 1 条评论 / 分类 所谓技术.
blog.creke.net
Android中Java编写的APK使用apktool反编译并修改smali | Creke Blog | 梦溪博客
http://blog.creke.net/786.html/comment-page-1
而获得金币的途径,是用人民币购买 1元100只 或者安装该公司的其他应用 安装3款得一点点。 Apktool d my game.apk mygame. 我注意到,某一个与购买相关的按钮图片的id编号为 0×7f020093 ,于是在smali中搜索,最后在某个文件夹,也就对应Java的某个包中找到g.smali,这个文件包含了字符串 0×7f020093。 然后,点击购买时,会提示 金币不足,无法购买 ,这是文本信息。 这时候在gsmali中搜索 u91d1 u5e01 u4e0d u8db3, u65e0 u6cd5 u8d2d u4e70 ,找到详细位置 具体代码片段如下. Sget-object v0, La/f/c;- s:La/a/b/g;. Iget-object v9, v0, La/a/b/g;- j:Ld/a/b;. Iget v10, p2, La/d/n;- f:I. Iget v0, v9, Ld/a/b;- v:I. If-ge v0, v10, :cond 0. Neg-int v0, v10. Iput v0, v9, Ld/a/b;- x:I. Js O4 noire ...