sudo gem uninstall net-ssh-gateway --all
sudo gem uninstall net-ssh-multi --all
sudo gem uninstall net-ssh --all
sudo gem uninstall moneta --all
sudo gem uninstall cinderella --all --executables
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
source 'https://rubygems.org' | |
ruby '1.9.3' | |
gem "slim" | |
gem "redcarpet" | |
gem "middleman", "~>3.0.6" | |
gem "middleman-syntax", ">=1.1.1" | |
gem "rubypython" |
We're seeking an experienced, enthusiastic Back-End Developer to join our team. You'll work closely with @_pjkelly and @createbang in crafting some of the finest web applications and APIs on the web.
- Working collaboratively with our highly skilled development team to turn ideas into reality using high quality Ruby and JavaScript
- Participating in client meetings
- Meeting internal and client deadlines
- Keeping updated on new development methods and technologies
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 'axis' | |
set = (0..9).to_a | |
top = Axis.new('Top Numbers', set.dup) | |
side = Axis.new('Side Numbers', set.dup) | |
top.generate_values! | |
side.generate_values! |
Note: This assumes there are no spaces at the end of lines.
Example Text:
Praesent commodo cursus magna, vel scelerisque nisl
consectetur et. Nulla vitae elit libero, a pharetra
augue. Curabitur blandit tempus porttitor. Maecenas
faucibus mollis interdum. Donec ullamcorper nulla
non metus auctor fringilla. Cras mattis consectetur
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
window.AppName = | |
Models: {} | |
Colls: {} | |
Views: {} | |
Routers: {} | |
Data: {} | |
Pages: | |
Home: | |
init: -> | |
new AppName.Views.HomePage el: $("body") |
- Make sure you've install X11 from here: http://xquartz.macosforge.org/landing/.
- Set
CPPFLAGS
environment variable:
$ export CPPFLAGS=-I/opt/X11/include
3. Find gcc-4.2
on your system:
$ which gcc-4.2
=> /Users/pjkelly/Developer/bin/gcc-4.2
These instructions work best on a fresh system. While I've gotten them to work on a system where I just upgraded from Snow Leopard to Lion and had a previously working development environment (using an older version of Cinderella in my case), it was not without difficulty. It's much easier to start from scratch.
These instructions are for Mac OS X 10.7.x (Lion) only.
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
# In Rails 1.2.x, the default JSON encoder doesn't quote | |
# attributes. To force quoting, set the following option | |
# to false. From the ActiveSupport::JSON docs: | |
# | |
# When +true+, Hash#to_json will omit quoting string or symbol keys | |
# if the keys are valid JavaScript identifiers. Note that this is | |
# technically improper JSON (all object keys must be quoted), so if | |
# you need strict JSON compliance, set this option to +false+. | |
# mattr_accessor :unquote_hash_key_identifiers | |
# @@unquote_hash_key_identifiers = true |
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 'rubygems' | |
require 'yajl' | |
require 'to_google_spreadsheet' | |
json = File.new('sizes.json', 'r') # file with more than one json | |
parser = Yajl::Parser.new | |
data = parser.parse(json) | |
GoogleSpreadsheet.config do |c| | |
c.email = "me@there.com" |