Skip to content

Instantly share code, notes, and snippets.

@johanneswuerbach
johanneswuerbach / rails-vagrant-provision.sh
Last active June 29, 2020 19:24
Provision a vagrant box with ruby stable (using rvm), postgres, redis and node (using nvm)
#!/usr/bin/env bash
sudo locale-gen en_US.UTF-8
sudo update-locale LANG=en_US.UTF-8
sudo update-locale LC_ALL=en_US.UTF-8
sudo apt-get update
sudo apt-get install -y build-essential git curl libxslt1-dev libxml2-dev libssl-dev
# postgres
@hostsamurai
hostsamurai / canvas.html
Created July 1, 2011 16:54
Light flickering effect using html5 canvas and JavaScript
<canvas width=220 height=150></canvas>