⌘T | go to file |
⌘⌃P | go to project |
⌘R | go to methods |
⌃G | go to line |
⌘KB | toggle side bar |
⌘⇧P | command prompt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
106.10.137.23 farm9.staticflickr.com | |
106.10.137.23 farm8.staticflickr.com | |
106.10.137.23 farm7.staticflickr.com | |
106.10.137.23 farm6.staticflickr.com | |
106.10.137.23 farm5.staticflickr.com | |
106.10.137.23 farm4.staticflickr.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a = (_)-> | |
a=_ | |
(__,_)-> | |
(__+_)*a | |
alert (a 10) a,3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alert ((_)->((_)->_+_)(((_)->_*_)(_))) 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fib = (n)-> | |
return ((n,a,b) -> | |
if n>0 then arguments.callee n-1, b, a+b else a | |
)(n,0,1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fib = (n)-> | |
arr = {} | |
$ = (_) -> | |
return _ if _ < 2 | |
return arr[_] if arr[_] | |
arr[_] = $(_-1) + $(_-2) | |
arr[_] | |
$(n) | |
console.time('a') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
background: #f06; | |
background: linear-gradient(60deg, #f06, yellow); | |
min-height: 100%; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (typeof window.localStorage == 'undefined' || typeof window.sessionStorage == 'undefined') (function () { | |
var Storage = function (type) { | |
function createCookie(name, value, days) { | |
var date, expires; | |
if (days) { | |
date = new Date(); | |
date.setTime(date.getTime()+(days*24*60*60*1000)); | |
expires = "; expires="+date.toGMTString(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
qemu-img create -f raw NAME.img 8G | |
virt-install --name='VNAME' --ram=512 --vcpus=1 --description='' --cdrom=/share/downloads/centos-6.2-x86_64-minimal.iso --disk=/share/vos/VNAME.img --vnc --noautoconsole --force | |