Skip to content

Instantly share code, notes, and snippets.

View takuyan's full-sized avatar
🎯
Focusing

Takuya Kato / katton takuyan

🎯
Focusing
View GitHub Profile
@takuyan
takuyan / 0_reuse_code.js
Created December 1, 2015 04:32
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@takuyan
takuyan / projections.json
Last active December 29, 2015 14:39 — forked from jsteiner/projections.json
rails.vim projection file for Backbone.Marionette.
{
"app/serializers/*_serializer.rb": {
"command": "serializer",
"related": "app/model/*.rb",
"alternate": "spec/serializers/%s_spec.rb"
},
"app/assets/javascripts/models/*.js.coffee": {
"command": "jmodel",
"alternate": "spec/javascripts/models/%s_spec.js.coffee",
"template": "class @AppName.Models.%S extends Backbone.Model"
@takuyan
takuyan / chef_solo_bootstrap.sh
Created November 12, 2012 02:17 — forked from ryanb/chef_solo_bootstrap.sh
Bootstrap Chef Solo
#!/usr/bin/env bash
sudo apt-get -y update
sudo apt-get -y install build-essential zlib1g-dev libssl-dev libreadline5-dev libyaml-dev
cd /tmp
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p327.tar.gz
tar -xvzf ruby-1.9.3-p327.tar.gz
cd ruby-1.9.3-p327/
./configure --prefix=/usr/local
make
sudo make install