上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 26 下一页
摘要: *,*:before,*:after,html[mode='nightmode'] *{ color: #61615f !important; border-color: #212a32 !important; -webkit-border-image: none !importa... 阅读全文
posted @ 2014-05-04 14:59 cart55free99 阅读(1242) 评论(0) 推荐(0) 编辑
摘要: 代码1 Untitled Document 这个知乎的总结的很好 都是大牛在回答呢http://www.zhihu.com/question/19636194首先看杨志的这句话when a function of a... 阅读全文
posted @ 2014-04-27 18:58 cart55free99 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 笔试题2var EventME = {};EventME.addHandle = function(ele, eventName, handleFunction) { if (ele.addEventListener) { ele.addEventListener(eventNa... 阅读全文
posted @ 2014-04-22 14:35 cart55free99 阅读(186) 评论(0) 推荐(0) 编辑
摘要: DOM0事件覆盖 var btn=document.getElementsByTagName('button')[0]; btn.addEventListener('click',function(){ console.log('event clicjk'); ... 阅读全文
posted @ 2014-04-19 10:57 cart55free99 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 使用递归进行深拷贝http://lingyu.wang/2014/03/20/js-interview-1/ Object.prototype.deepClone = function() { var isArray = function(obj) { return O... 阅读全文
posted @ 2014-04-18 13:41 cart55free99 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-04-12 16:39 cart55free99 阅读(214) 评论(0) 推荐(0) 编辑
摘要: Untitled Document li1 li2 li3 li1li2li3 阅读全文
posted @ 2014-04-08 22:02 cart55free99 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 参考 http://www.html5tricks.com/demo/html5-css3-smile-face/index.html它还做了舌头... 一开始我都是用JS实现的动画 当然了 眼睛的追踪鼠标这部分确实是要用js来实现的不过对于嘴巴这里 使用css transmation也可以 Untitled Document ... 阅读全文
posted @ 2014-04-02 11:31 cart55free99 阅读(661) 评论(0) 推荐(0) 编辑
摘要: package encoding;import java.io.File;import java.io.IOException;import java.util.Collection;import org.apache.commons.io.FileUtils;public class ChangeEncoding { public static void main(String[] args) throws IOException { // GBK编码格式源码路径 String srcDirPath = "/Users/lumixraku/Documents... 阅读全文
posted @ 2014-03-31 19:50 cart55free99 阅读(350) 评论(0) 推荐(0) 编辑
摘要: socket部分参考http://blog.csdn.net/kongxx/article/details/7259465取款部分参考http://blog.csdn.net/dayday1987/article/details/9971647先说说取款吧 如何保证数据同步? 操作时加锁即可 怎么加?使用synchronized关键字然后自己设置两个线程 一个add 一个withdraw即可(原博中只用到了Runnable 感觉并没有创建新线程 这里有点小疑问)socket部分 每次server.accpet()之后都会返回一个客户端 Server端需要创建一个新的线程 将客户端放入该新thr 阅读全文
posted @ 2014-03-30 23:36 cart55free99 阅读(484) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 26 下一页