smelikecat

导航

02 2016 档案

[mysqli_escape]mysql转义两次
摘要:// mysqli_real_escape_string // 第一次转义的结果 SELECT * FROM example WHERE f_email='example@exampl.com' and password='64e5b519b2e57ac6733f828b50a39547' // 第 阅读全文

posted @ 2016-02-29 19:22 smelikecat 阅读(321) 评论(0) 推荐(0)

[javascript-code-snippet]javascript代码段
摘要:<ul> <li>Picture 1</li> <li>Picture 2</li> <li>Picture 3</li> <li>Picture 4</li> <li>Picture 4</li> </ul> // code snippet 1 $("li").click(function () 阅读全文

posted @ 2016-02-26 18:26 smelikecat 阅读(351) 评论(0) 推荐(0)

[代码优化]PHP代码优化
摘要:// Code snippet 1 $u_id = Hnb_Session::getInstance()->getUserID(); $arr_joinedTribeInfo = array(); if($u_id) { $arr_joinedTribeInfo = Hnb_Model_Tribe: 阅读全文

posted @ 2016-02-26 10:32 smelikecat 阅读(186) 评论(0) 推荐(0)

[LISP] LISP Collections
摘要:lispbox: https://common-lisp.net/project/lispbox/ SBCL: http://sbcl.org/ 《Common Lisp in practical》: http://www.gigamonkeys.com/book/lather-rinse-repe 阅读全文

posted @ 2016-02-25 17:54 smelikecat 阅读(153) 评论(0) 推荐(0)

[php-error-report]PHP Strict Standards: Only variables should be passed by reference
摘要:// 报错代码:PHP Strict Standards: Only variables should be passed by reference $arr_userInfo['im_nation_cn'] = array_shift(preg_split('/,/' , $arr_userInf 阅读全文

posted @ 2016-02-25 17:31 smelikecat 阅读(286) 评论(0) 推荐(0)

[阅读]谈谈个人对“金融是否需要互联网”命题之辩
摘要:phper_sz_James(582346465) 14:32:26“要讨论互联网能给金融带来什么,首先需要清楚一点,金融是否需要互联网” , 我觉得红框中的这个观点是非常的不成熟,不过文章中提出的观点很值得去思考。1、金融的本质是什么;2、互联网与金融的结合带来的现状;3、目前人们对金融的现状需求 阅读全文

posted @ 2016-02-16 14:58 smelikecat 阅读(182) 评论(0) 推荐(0)

[javascript]jsonp-function 代码段
摘要:(function($1454395832823,arr_infoList /**/) { $1454395832823.push(' '); for(var i in arr_infoList) {$1454395832823.push(' <a hnb-theme-id="',arr_infoL 阅读全文

posted @ 2016-02-04 17:14 smelikecat 阅读(272) 评论(0) 推荐(0)

[javascript-snippet]使用javascript+html5实现图片的灰度处理
摘要:// 源码出自:潇湘夜雨<!DOCTYPE> <html> <head> <meta charset="utf-8"/> </head> <body> <img src="" id='stuPic' style="display:none"> <input type="file" id="loadF 阅读全文

posted @ 2016-02-04 09:45 smelikecat 阅读(839) 评论(0) 推荐(0)

[javascript]Three parts of javascript code snippet
摘要:<script> (function(){ /* if (navigator.userAgent.toLowerCase().indexOf("iphone") == -1){ $("#id_download_btn img").attr("src" , "http://cache.hinabian 阅读全文

posted @ 2016-02-01 10:02 smelikecat 阅读(192) 评论(0) 推荐(0)