Skip to content

Instantly share code, notes, and snippets.

View ethnt's full-sized avatar
🐢

Ethan Turkeltaub ethnt

🐢
View GitHub Profile
sudo gem install sinatra datamapper haml
require 'rubygems'
require 'sinatra'
get '/' do
"Hello world!"
end
{% (this is a block) %}
${ (this is an expression) }
$this_is_a_variable
${ this_is_also_a_variable }
${ variable | this_is_a_filter("and", "these are", arguments) }
$variable.these.are.attributes
this == is + an ~ "expression"
{# this is a comment, and is removed when the template is built #}
#!/bin/bash -e
# Copyright (c) 2009 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Script to install everything needed to build chromium (well, ideally, anyway)
# See http://code.google.com/p/chromium/wiki/LinuxBuildInstructions
# and http://code.google.com/p/chromium/wiki/LinuxBuild64Bit
cd ~/Desktop
sudo sh prerequisites.sh
export PATH=`pwd`/home/ethan/Install/depot_tools:"$PATH"
cd ~/Install/chromium
cd ~/Install
mkdir chromium
export CHROMIUM_ROOT=/home/ethan/Install/chromium/
cd $CHROMIUM_ROOT
svn co http://src.chromium.org/svn/trunk/tools/depot_tools
export LANG=C
./depot_tools/gclient sync