Skip to content

Instantly share code, notes, and snippets.

View matejvelikonja's full-sized avatar

Matej Velikonja matejvelikonja

View GitHub Profile
@mittsh
mittsh / index.html
Last active December 21, 2015 17:09
Ember.js: Easy setup to set document title + having a heading view containing the same title using a subclass of Ember.Route
<script type="text/x-handlebars" data-template-name="title">
{{view.title}}
</script>
<script type="text/x-handlebars">
<header class="topbar">{{view App.TitleView}}</header>
</script>
!#/bin/sh
ssh-add
cap $1 deploy
@jnx
jnx / rbenv-install-system-wide.sh
Created October 1, 2011 20:09
rbenv install and system wide install on Ubuntu 10.04 LTS.
# Update, upgrade and install development tools:
apt-get update
apt-get -y upgrade
apt-get -y install build-essential
apt-get -y install git-core
# Install rbenv
git clone git://github.com/sstephenson/rbenv.git /usr/local/rbenv
# Add rbenv to the path: