博客园

super.hill

记录搬砖中遇到的坑,欢迎批评指导!

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 16 下一页

2018年10月26日

摘要: ISBNTitlePrice 3476896 My first HTML $53 5869207 My first CSS $49 // <![CDATA[ var table=document.getElementsByTagName('table')[0]; table.onclick = fu 阅读全文
posted @ 2018-10-26 11:58 超岭 阅读(3484) 评论(0) 推荐(0) 编辑

2018年10月24日

摘要: git 恢复到上一个版本比如执行 git commit 命令之后 做了一些修改 恢复到上一个版本 1.修改一个文件想回到修改前 直接 git checkout -- filename2.修改过文件,又执行了 git add 命令后感觉修改的不对,先执行 git reset HEAD filename 阅读全文
posted @ 2018-10-24 17:44 超岭 阅读(166) 评论(0) 推荐(0) 编辑

2018年10月23日

摘要: 简单明了判断浏览器Firefox:typeof navigator !== 'undefined' && navigator.userAgent.toLowerCase().indexOf('firefox') > -1;chrome typeof navigator !== 'undefined' 阅读全文
posted @ 2018-10-23 11:38 超岭 阅读(254) 评论(0) 推荐(0) 编辑

2018年10月19日

摘要: 使用d3在SVG中画流程图,需要获取流程图的宽,高,来给流程图居中布局。在Chrome中 正常显示,可是在火狐中svg流程图在容器内偏移,查看很不方便。在网上百度了,找不到火狐对d3的兼容性,所以就自己在代码里log突然发现在获取svg的clientWidth和clientHeight时,结果都为0 阅读全文
posted @ 2018-10-19 12:11 超岭 阅读(2158) 评论(0) 推荐(0) 编辑

2018年10月18日

摘要: 1、安装pip和pygame都很简单。首先咱们来安装pip,官网https://pypi.python.org/pypi/pip#download,下载pip的压缩文件,并将其解压。 我们在cmd的python目录里直接敲下 pip install pygame 最后我们打开python,将pyga 阅读全文
posted @ 2018-10-18 20:09 超岭 阅读(2792) 评论(0) 推荐(0) 编辑

2018年10月17日

摘要: var type = filename.match(/^(.*)(\.)(.{1,8})$/)[3].toUpperCase(); 阅读全文
posted @ 2018-10-17 16:14 超岭 阅读(2402) 评论(0) 推荐(0) 编辑

2018年9月21日

摘要: table tbody { display:block; max-height:300px; overflow-y:scroll;}table thead, tbody tr { display:table; width:100%; table-layout:fixed;} 阅读全文
posted @ 2018-09-21 15:46 超岭 阅读(365) 评论(0) 推荐(0) 编辑

2018年9月14日

摘要: //从小到大 messages.sort(function(a, b) { if (a.create_time b.create_time ) { return 1; } else { ... 阅读全文
posted @ 2018-09-14 18:40 超岭 阅读(214) 评论(0) 推荐(0) 编辑

2018年9月10日

摘要: https://codepen.io 阅读全文
posted @ 2018-09-10 18:12 超岭 阅读(92) 评论(0) 推荐(0) 编辑

2018年9月4日

摘要: var ws = null; //判断当前浏览器是否支持WebSocket if ('WebSocket' in window) { ws = new WebSocket("ws://localhost:8080"); }else { alert('当前浏览器不支持websocket') } //... 阅读全文
posted @ 2018-09-04 15:24 超岭 阅读(122) 评论(0) 推荐(0) 编辑

上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 16 下一页
博客园