This file contains hidden or 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
<strong><span style="font-size: large;">Ingredients:</span></strong><br /> | |
<ul> | |
<li>Ines Rosales Rosemary and Thyme Tortas</li> | |
<li>Pizza Sauce (ready made in a jar)</li> | |
<li>Roma Tomatoes</li> | |
<li>Roasted Red Peppers </li> | |
<li>Marinated Artichoke Hearts</li> | |
<li>Olives (I used Pitted Spanish Manzanilla Olives)</li> | |
<li>Daiya Vegan Mozzarella Cheese</li> | |
</ul> |
This file contains hidden or 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
<strong><u><span style="font-size: large;">Ingredients:</span></u></strong><br /> | |
<ul> | |
<li>2 Granny Smith Apples (Peeled and Diced)</li> | |
<li>Juice from 1/2 Lemon</li> | |
<li>2 TBSP Splenda Brown Sugar</li> | |
<li>1/2 tsp Cinnamon</li> | |
<li>1/2 Cup Rolled Oats</li> | |
</ul> |
This file contains hidden or 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
class String | |
def split_to_array | |
encoding_options = { | |
:invalid => :replace, # Replace invalid byte sequences | |
:undef => :replace, # Replace anything not defined in ASCII | |
:replace => ' ', # Use a blank for those replacements | |
:universal_newline => true # Always break lines with \n | |
} | |
string = self.encode(Encoding.find('ASCII'), encoding_options) | |
string = string.split("\n").delete_if {|x| x.empty?} |
This file contains hidden or 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 Vitual Machines ####### | |
sudo locale-gen en_CA.UTF-8 | |
sudo apt-get install ruby git build-essential | |
############ Apt-Fast ############ | |
sudo apt-get install axel | |
axel -a "http://www.mattparnell.com/linux/apt-fast/apt-fast.sh" | |
sudo chmod +x apt-fast | |
sudo mv apt-fast /usr/bin/ |
This file contains hidden or 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
$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 | |
$ sudo vi /etc/apt/sources.list.d/10gen.list #add deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen | |
$ sudo apt-get update | |
$ sudo apt-get install mongodb-10gen |
This file contains hidden or 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
sudo sed -i -e "s/# deb/deb/g" /etc/apt/sources.list |
This file contains hidden or 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
curl -L get.rvm.io | bash -s stable --auto; source /home/ubuntu/.rvm/scripts/rvm | |
sudo apt-get install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion pkg-config #dependencies | |
rvm install 1.9.3 #or whatever the latest is. |
This file contains hidden or 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 'pp' | |
require 'HTTParty' | |
require 'mail' | |
#JSON broken for Mandrill. | |
#class Mandrill | |
# include HTTParty | |
# base_uri 'mandrillapp.com' | |
# def initialize(key) | |
# #@auth = {:email => u, :key => p} |
This file contains hidden or 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
High School/Jr.High | |
10 PRINT "HELLO WORLD" | |
20 END | |
First year in College | |
program Hello(input, output) | |
begin | |
writeln('Hello World') |
This file contains hidden or 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
# download this gist, and cd into folder. | |
$ sudo gem i vpim #Installs vpim | |
$ ruby make_vcard.rb ~/Downloads/Extreme\ Startups\ Contact\ List\ \%282\%29\ -\ Contact\ List.csv #Yours will be slightly different. ruby make_vcard.rb file_path | |
OlderNewer