smelikecat

导航

10 2015 档案

[jquery-delegate] iphone_4s _iphone _5c_中不兼容jQuery delegate 事件(does not wok)
摘要:1. jQuery .on() and .delegate() doesn't work on iPadhttp://stackoverflow.com/questions/10165141/jquery-on-and-delegate-doesnt-work-on-ipad2. Click eve... 阅读全文

posted @ 2015-10-27 17:57 smelikecat 阅读(193) 评论(0) 推荐(0)

[redis]Redis Transaction
摘要:https://github.com/phpredis/phpredis#transactionsTransactionsmulti, exec, discard- Enter and exit transactional modewatch, unwatch- Watches a key for ... 阅读全文

posted @ 2015-10-17 19:28 smelikecat 阅读(249) 评论(0) 推荐(0)

[QQ-Space] QQ Space's Exceptions
该文被密码保护。

posted @ 2015-10-13 09:57 smelikecat

[ajax] quick double or multiple click ajax submit cause chrome explorer's error snatshot
摘要:快速点击ajax提交,引发的错误截图1:snapshot -2: 阅读全文

posted @ 2015-10-13 09:51 smelikecat 阅读(179) 评论(0) 推荐(0)

[mysql] mysql如何实现更新一条记录中某个字段值的一部分呢?
摘要:场景:在平常我们使用word文档等等office办公软件时,我们常会使用搜索->替换的功能。mysql: 在mysql 中有时候,我们也需要这样子的实现;实现 SQL 语句: update t_liucheng set f_buzhouneirong = replace(f_buzhouneiron... 阅读全文

posted @ 2015-10-12 20:37 smelikecat 阅读(1140) 评论(0) 推荐(0)

[svn] TortoisSVN的Blam功能
摘要:团队开发中,我们必须要面对多个人对同一个文件进行修改的情况。多人修改同一文件,往往就会发生很多的问题,或者随着文件中代码的数量不断增加。当我们必须要使用文件中的其他人写的代码,或者代码发生bug之后,我们都需要找到代码的作者。那么使用 SVN 的Blame 功能就非常有用,它可以将文件中每段代码的A... 阅读全文

posted @ 2015-10-12 20:28 smelikecat 阅读(399) 评论(0) 推荐(0)

[smarty] 在smarty模板中使用smarty变量初始化 javascript 变量的问题
摘要:// 总结:// 1/ 在smarty 模板文件中,使用从php中assign过来的smarty变量,一定需要使用双引号或单引号来括住smarty变量,如:var title="";// 2/ 如果不使用引号括住,在smarty变量值为字符串的情况下,那么该字符串在javascript中会被作为ja... 阅读全文

posted @ 2015-10-12 20:14 smelikecat 阅读(556) 评论(0) 推荐(0)

[Linux-vi] The simple set of vi command
摘要: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... 阅读全文

posted @ 2015-10-10 16:21 smelikecat 阅读(194) 评论(0) 推荐(0)

[微信]微信网页授权用户基本信息接口文档
摘要:网址:http://mp.weixin.qq.com/wiki/17/c0f37d5704f0b64713d5d2c37b468d75.html 阅读全文

posted @ 2015-10-10 15:34 smelikecat 阅读(345) 评论(0) 推荐(0)

[php] try - catch exceptiong handler
摘要://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... 阅读全文

posted @ 2015-10-09 19:09 smelikecat 阅读(253) 评论(0) 推荐(0)

[jquery-ajax] jquery ajax 三种情况对比
摘要:async:falsesetTimeoutdeferred 阅读全文

posted @ 2015-10-09 15:41 smelikecat 阅读(227) 评论(0) 推荐(0)