sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
- Download zsh-autosuggestions by
PurpleSystemAppPort | |
PurpleSystemEventPort | |
UIASTNotificationCenter | |
com.apple.ABDatabaseDoctor | |
com.apple.AppSSO.service-xpc | |
com.apple.AuthenticationServicesCore.AuthenticationServicesAgent | |
com.apple.CARenderServer | |
com.apple.ClipServices.clipserviced | |
com.apple.CoreAuthentication.daemon | |
com.apple.DeviceAccess.xpc |
from typing import Dict | |
class EventEmitter: | |
def __init__(self): | |
self._callbacks: Dict[str, callable] = {} | |
def on(self, event_name, function): | |
self._callbacks[event_name] = self._callbacks.get(event_name, []) + [function] |
class Point { | |
set X(v) { | |
this.x = v; | |
} | |
get X() { | |
return this.x; | |
} | |
getX() { | |
console.log(this.X); | |
} |
Source: https://github.com/philc/vimium/wiki/Search-Engines
g: https://www.google.com/search?q=%s Google gi: https://www.google.com/search?tbm=isch&q=%s Google Images gm: https://www.google.com/maps?q=%s Google Maps recent: https://www.google.com/search?hl=en&tbo=1&tbs=qdr:y&q=%s Google (last year only) translate: http://translate.google.com/?source=osdd#auto|auto|%s Google Translator w: http://en.wikipedia.org/wiki/Special:Search?search=%s Wikipedia d: https://duckduckgo.com/?q=%s DuckDuckGo a: http://www.amazon.com/exec/obidos/external-search/?field-keywords=%s&mode=blended Amazon
//doHttpPost('localhost', 8000, '/TestPost', 'string' , 'TestTestTestTest', false); | |
//doHttpPost('localhost', 8000, '/TestPost', 'file' , '/Users/chengwei/Downloads/grid1.png', true); | |
function doHttpPost(_host, _port, _path, name, value, isFile, fileEncoding) { | |
var http = require('http'), | |
fs = require('fs'), | |
path = require('path'), | |
boundary = Math.random(), | |
postData, postOptions, postRequest; |
{ | |
"require": { | |
"slim/slim": "2.*", | |
"illuminate/database": "*", | |
"dhorrigan/capsule": "*" | |
} | |
} |
var selector = 'img' // Replace this with the selector for the element you want to make transformable | |
jQuery.getScript('//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js', function() { | |
jQuery.getScript('//cdnjs.cloudflare.com/ajax/libs/numeric/1.2.6/numeric.min.js', function() { | |
(function() { | |
var $, applyTransform, getTransform, makeTransformable; | |
$ = jQuery; |
{ | |
"env": { | |
"browser": true, | |
"node": true, | |
"es6": true | |
}, | |
"plugins": ["react"], | |
"ecmaFeatures": { |
<body></body> | |
<script src="http://gamingJS.com/Three.js"></script> | |
<script src="http://gamingJS.com/ChromeFixes.js"></script> | |
<script src="http://gamingJS.com/Tween.js"></script> | |
<script> | |
var scene = new THREE.Scene(); | |
var width = window.innerWidth - 20; | |
var height = window.innerHeight - 20; |