摘要:1. jQuery .on() and .delegate() doesn't work on iPadhttp://stackoverflow.com/questions/10165141/jquery-on-and-delegate-doesnt-work-on-ipad2. Click eve...
阅读全文
摘要:https://github.com/phpredis/phpredis#transactionsTransactionsmulti, exec, discard- Enter and exit transactional modewatch, unwatch- Watches a key for ...
阅读全文
摘要:场景:在平常我们使用word文档等等office办公软件时,我们常会使用搜索->替换的功能。mysql: 在mysql 中有时候,我们也需要这样子的实现;实现 SQL 语句: update t_liucheng set f_buzhouneirong = replace(f_buzhouneiron...
阅读全文
摘要:团队开发中,我们必须要面对多个人对同一个文件进行修改的情况。多人修改同一文件,往往就会发生很多的问题,或者随着文件中代码的数量不断增加。当我们必须要使用文件中的其他人写的代码,或者代码发生bug之后,我们都需要找到代码的作者。那么使用 SVN 的Blame 功能就非常有用,它可以将文件中每段代码的A...
阅读全文
摘要:// 总结:// 1/ 在smarty 模板文件中,使用从php中assign过来的smarty变量,一定需要使用双引号或单引号来括住smarty变量,如:var title="";// 2/ 如果不使用引号括住,在smarty变量值为字符串的情况下,那么该字符串在javascript中会被作为ja...
阅读全文
摘要:Source : https://www.cs.colostate.edu/helpdocs/vi.htmlWhat is vi?The default editor that comes with the UNIX operating system is called vi (visual edi...
阅读全文
摘要:网址:http://mp.weixin.qq.com/wiki/17/c0f37d5704f0b64713d5d2c37b468d75.html
阅读全文
摘要://http://stackoverflow.com/questions/1241728/can-i-try-catch-a-warningOne possibility is to set your own error handler before the call and restore the...
阅读全文
摘要:async:falsesetTimeoutdeferred
阅读全文