This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EASY MARSHMALLOWS | |
----------------- | |
Marshmallows are perhaps one of the simplest confections you can make. They only | |
require a handful of ingredients, a batch can be thrown together in 10-15 minutes | |
(plus *cough* 3 hours for them to set), and you can flavor them however you like. | |
(You haven't LIVED until you've had coconut marshmallows!) | |
Hardware needed: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
. ~/.bashrc | |
mkdir ~/local | |
mkdir ~/node-latest-install | |
cd ~/node-latest-install | |
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
./configure --prefix=~/local | |
make install # ok, fine, this step probably takes more than 30 seconds... | |
curl https://www.npmjs.org/install.sh | sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BASIC BAECHU KIMCHI | |
-------------------------------------------------------------------------- | |
Baechu (Napa cabbage) kimchi is one of the staple foods in Korea. Spicy | |
and tangy, it is typically served as a side dish, with rice, but is also | |
found in various Korean soups and stews. | |
This basic version has just the fundamentals; once you're comfortable | |
with this version, you might try adding shredded carrots, Daikon radish, | |
pickled baby shrimp, or any number of other things. Search around online |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BASIC OI (CUCUMBER) KIMCHI | |
-------------------------------------------------------------------------- | |
Oi (cucumber) kimchi is a delicious, refreshing variation on the | |
traditional Korean kimchi recipe. | |
This particular recipe is a modified version of the recipe posted by Dr. | |
Ben Kim, at http://www.drbenkim.com/how-to-make-cucumber-kim-chi.htm. | |
-------------------------------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'net/scp' | |
namespace :db do | |
desc 'pull the latest backup & restore locally' | |
task :restore do | |
Rake::Task['db:download'].invoke | |
Rake::Task['db:replace'].invoke | |
end | |
desc 'pull down the lastest backup from production' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bash < <( curl https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer ) | |
source /etc/profile.d/rvm.sh | |
yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison iconv-devel | |
rvm install 1.9.3 | |
rvm use --default 1.9.3 | |
gem install --no-rdoc --no-ri adhearsion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; | |
; AutoHotkey Version: 1.x | |
; Language: English | |
; Platform: Win9x/NT | |
; Author: Matt Heath <[email protected]> | |
; | |
; Script Function: | |
; Remaps keys when using an Apple Keyboard with a Windows PC | |
; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=Navigating= | |
visit('/projects') | |
visit(post_comments_path(post)) | |
=Clicking links and buttons= | |
click_link('id-of-link') | |
click_link('Link Text') | |
click_button('Save') | |
click_link_or_button('Link Text') # Click either a link or a button | |
click('Button Value') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add this to the end of your development.rb and add | |
# | |
# gem 'pry' | |
# | |
# to your Gemfile and run bundle to install. | |
silence_warnings do | |
begin | |
require 'pry' | |
IRB = Pry |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for f in `find . -regex '.*\.html\.erb'`; do echo "Converting $f" && html2haml $f > "${f%.erb}.haml" && rm $f; done |
OlderNewer