Put this in your config.fish
run
code path/to/project
rustc points.rs --crate-type=dylib | |
npm install | |
node test.js |
### Install OpenJDK | |
cd ~ | |
sudo apt-get update | |
sudo apt-get install openjdk-7-jre-headless -y | |
### Download and Install ElasticSearch | |
### Check http://www.elasticsearch.org/download/ for latest version of ElasticSearch and replace wget link below | |
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.3.1.deb | |
sudo dpkg -i elasticsearch-1.3.1.deb |
var d3 = require('d3') | |
var textures = require('textures').textures | |
var types = ["squares", "nylon", "waves", "woven", "caps", "crosses", "hexagons"] | |
setInterval(render, 500) | |
function render() { | |
var type = types.pop() | |
types.unshift(type) |
var React = require('react/addons'); | |
var activeStyle = { | |
position: 'fixed', | |
top: '0', | |
left: '0', | |
right: '0', | |
bottom: '0', | |
zIndex: '2000' | |
}; |
Put this in your config.fish
run
code path/to/project
js = $(shell echo $(elm) | tr A-Z a-z) | |
elm = Main | |
# Example: make elm=Main js=main watch | |
watch: | |
echo "watching *.elm files, outputing $(js).js" && fswatch -0 *.elm | xargs -0 -n 1 -I \{\} elm-make $(elm).elm --output $(js).js | |
# Example: make elm=Main js=main build | |
build: | |
elm-make $(elm).elm --output $(js).js |
function e | |
emacsclient -t $argv | |
end | |
function ke | |
emacsclient -e '(kill-emacs)' | |
end | |
function ed | |
emacs --daemon |
dev: | |
NODE_ENV=dev $(BIN)/pm2 startOrRestart ./services/pm2_dev_config.json | |
foreman start -f ./services/Procfile_dev | |
test: | |
npm test | |
clean: | |
rm -rf node_modules | |
rm -rf dist |
function nuke | |
rm -rf node_modules; and npm cache clean; and npm install | |
end |
A Pen by Captain Anonymous on CodePen.