Skip to content

Instantly share code, notes, and snippets.

View hoosin's full-sized avatar
🦍
在这个男神女神遍地的年代,我只是一个男兽。

XIN HU hoosin

🦍
在这个男神女神遍地的年代,我只是一个男兽。
  • China
  • 18:54 (UTC +08:00)
View GitHub Profile
@hoosin
hoosin / js.js
Last active August 29, 2015 14:01
parseInt()
console.log(parseInt("10")) //10
console.log(parseInt("010")) //10
console.log(parseInt("19", 10)) //19
console.log(parseInt("11", 2)) //3
console.log(parseInt("17", 8)) //15
console.log(parseInt("1f", 16)) //31
console.log(parseInt("He was 40")) //Nan
@hoosin
hoosin / index.html
Last active August 29, 2015 14:01
通过CSS实现GitHub的Loading效果
<div class="loading-msg">
数据加载中请稍后
<div class="loading-box">
<div class="loading" index="0"></div>
<div class="loading" index="1"></div>
<div class="loading" index="2"></div>
<div class="loading" index="3"></div>
<div class="loading" index="4"></div>
</div>
</div>
@hoosin
hoosin / JavaScript.js
Last active August 29, 2015 14:01
this me
var me=[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]][([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]((![]+[])[+!+[]]+(![]+[])[!+[]+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]+(!![]+[])[+[]]+(![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[
@hoosin
hoosin / index
Created May 8, 2014 06:17
IE67中li浮动外边距无法撑开ul的解决方法
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<div class="wrap">
<ul class="q">
<li></li>
<li></li>