[ Launch: test ] 8077fd68826388309c8e by lyuehh[ Launch: test ] 1e3b8910a1eed0ea9d1c by lyuehh[ Launch: test ] 4653053 by enjalot[ Launch: test ] 4652017 by enjalot[ Launch: test ] 4582399 by enjalot
This file contains hidden or 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
$(function () { | |
$('#container').highcharts({ | |
chart: { | |
type: 'column', | |
options3d: { | |
enabled: true, | |
alpha: 15, | |
beta: 15, | |
viewDistance: 25, |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="http://code.jquery.com/jquery-2.1.0.min.js"></script> | |
<script src="http://code.highcharts.com/highcharts.js"></script> | |
<script src="http://cdn.hcharts.cn/highcharts/highcharts-3d.js"></script> | |
<script src="http://jashkenas.github.io/underscore/underscore-min.js"></script> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> |
This file contains hidden or 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
function throttle( fn, time ) { | |
var t = 0; | |
return function() { | |
var args = arguments, ctx = this; | |
clearTimeout(t); | |
t = setTimeout( function() { | |
fn.apply( ctx, args ); | |
}, time ); | |
}; |
[ Launch: test ] 1e3b8910a1eed0ea9d1c by lyuehh[ Launch: test ] 4653053 by enjalot[ Launch: test ] 4652017 by enjalot[ Launch: test ] 4582399 by enjalot
curl -s http://zh.wikipedia.org/zh-cn/%E6%91%A9%E5%A4%A9%E5%A4%A7%E6%A8%93%E5%88%97%E8%A1%A8 | hquery -p -l table2csv -a '.wikitable:first'
排名,名称[A][2],城市,所在地区,所在洲,高度,楼层,落成年份
1,哈里发塔,迪拜, 阿联酋,亚洲,828米,2,717英尺,163,2010
2,上海中心,上海, 中国大陆,亚洲,632米,2,073英尺,128,2014
3,麦加皇家钟塔饭店,麦加, 沙特阿拉伯,亚洲,601米,1,971英尺,120,2012
4,天津高银117大厦,天津, 中国大陆,亚洲,597米,1,959英尺,120,2017
This file contains hidden or 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
# NPM CheatSheet. | |
# Super easy intall: npm comes with node now. | |
# To create your own npm package: https://www.npmjs.org/doc/misc/npm-developers.html | |
# More: https://www.npmjs.org/doc/ | |
# 1. NPM Command Lines. | |
# Local mode is the default. | |
# Use --global or -g on any command to operate in global mode instead. |
This file contains hidden or 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
// Node.js CheatSheet. | |
// Download the Node.js source code or a pre-built installer for your platform, and start developing today. | |
// Download: http://nodejs.org/download/ | |
// More: http://nodejs.org/api/all.html | |
// 0. Synopsis. | |
// http://nodejs.org/api/synopsis.html | |
This file contains hidden or 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
import XMonad | |
import Data.Monoid | |
import qualified Data.Map as M | |
import qualified XMonad.StackSet as W | |
import System.Exit | |
import XMonad.Actions.CycleWS | |
import XMonad.Actions.GridSelect | |
import XMonad.Util.Cursor | |
import XMonad.Util.SpawnOnce | |
import XMonad.Util.EZConfig |
This file contains hidden or 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
#!/bin/bash | |
# load resources | |
xrdb -merge .Xresources | |
#xsetroot -solid '#222'& | |
# map caps lock as extra escape | |
xmodmap -e 'clear Lock' -e 'keycode 0x42 = Escape'& | |
# start clipboard manager | |
parcellite& |