博文转载至http://blog.cnbang.net/works/2767/JSPatch是最近业余做的项目,只需在项目中引入极小的引擎,就可以使用JavaScript调用任何Objective-C的原生接口,获得脚本语言的能力:动态更新APP,替换项目原生代码修复bug。用途是否有过这样的经历:...
分类:
移动开发 时间:
2015-09-22 23:39:14
阅读次数:
265
1 """ 2 this is aa customizable version of the standard unix split command-line 3 utility;because it is written in python,it also works on windows an....
分类:
其他好文 时间:
2015-09-22 00:02:30
阅读次数:
490
(1) 使用计算机以及所有有助于了解这个世界本质的事物都不应受到任何限制。任何事情都应该亲手尝试。(Access to computers—and anything that might teach you something about the way the world works—should...
分类:
其他好文 时间:
2015-09-14 13:38:03
阅读次数:
121
在httpd.conf文件加入代码段ExtendedStatusOn<location/server-status>
SetHandlerserver-status
OrderDeny,Allow
Denyfromall
Allowfrom127.0.0.1
</location>其中server-status是apache自带的一个监控项。http://www.apache.org/server-status.监控脚本中有一句..
分类:
Web程序 时间:
2015-09-09 11:36:06
阅读次数:
233
Mac 配置 apache php 详细解说一.开启apache 并切改变引导1.打开终端 输入:sudo apachectl start 回车,关闭终端2.打开浏览器,地址栏输入: 127.0.0.1 回车 就可以看到一个内容为“It works!”的页面 3.改变引导,修改/WebServe.....
分类:
数据库 时间:
2015-09-08 20:05:19
阅读次数:
521
来自SO顶得最多的答案:http://stackoverflow.com/questions/4556467/git-pull-or-git-merge-between-master-and-development-branches This workflow works best for me: git checkout -b develop ...make some ...
分类:
其他好文 时间:
2015-09-07 16:58:11
阅读次数:
136
My problem has been a sprockets incompatibility. Version 2.1.3 works though so I put this in my Gemfile: gem?‘sprockets‘,?‘2.12.3‘ And I ran bundle update sprockets and it‘s all peachy....
分类:
其他好文 时间:
2015-09-06 14:48:45
阅读次数:
139
The following example illustrates how to use the internal_logon and SYSDBA arguments to specify the SYS login. This example works regardless of the da...
分类:
其他好文 时间:
2015-09-05 06:39:07
阅读次数:
199
通道题意:一个公司获得了一个厂房n(10^5)天的使用权和一笔启动资金C(10^9),准备在n天里租借机器生产来获得收益可以租借的机器有M(10^5)个,每个机器有四个值,D,P,R,G (D= P[j]可以看出是O(n^2)的,显然不行啊令h[j] = f[j] + R[j]- P[j] - G[...
分类:
系统相关 时间:
2015-08-31 19:23:24
阅读次数:
287
参考地址【进入和退出全屏】// Webkit (works in Safari5.1 and Chrome 15)element.webkitRequestFullScreen();document.webkitCancelFullScreen();// Firefox 10element.mozR...