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 'roo' | |
# Spreadsheet courtesy of the A List Apart 2010 Web Design Survey: | |
# http://www.alistapart.com/articles/survey2010 | |
workbook = Excel.new('a-list-apart-web-design-survey-sample.xls') | |
# Set the worksheet you want to work with as the default worksheet. You could | |
# also iterate over all the worksheets in the workbook. | |
workbook.default_sheet = workbook.sheets[0] |
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
group :development do | |
gem "pry" | |
gem "powder" | |
gem "letter_opener" | |
gem "better_errors", ">= 0.7.2" | |
gem "binding_of_caller", ">= 0.7.1" | |
gem 'meta_request' | |
gem "html2haml", ">= 1.0.1" | |
gem 'guard' | |
gem 'rb-fsevent', require: false |
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
### Instructions source http://tumblr.intranation.com/post/766290743/using-dropbox-git-repository #### | |
-- make empty repo on dropbox: | |
cd ~/Dropbox/RipeApps/Git | |
mkdir -p newname.git | |
cd !$ | |
git --bare init | |
-- push your junk into it | |
cd ~/Projects/myrepo |
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
# `ERROR: Error installing nokogiri: | |
# ERROR: Failed to build gem native extension. | |
# | |
# current directory: /usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ext/nokogiri | |
# /usr/local/var/rbenv/versions/2.3.1/bin/ruby -r ./siteconf20170103-68488-r71c9j.rb extconf.rb --with-xml=/usr/local/Cellar/libxml2/ --use-system-libraries | |
# checking if the C compiler accepts ... yes | |
# checking if the C compiler accepts -Wno-error=unused-command-line-argument-hard-error-in-future... no | |
# Building nokogiri using system libraries. | |
# ERROR: cannot discover where libxml2 is located on your system. please make sure `pkg-config` is installed. | |
# *** extconf.rb failed *** |
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
[ | |
{ | |
"event": "send", | |
"msg": { | |
"ts": 1365109999, | |
"subject": "This an example webhook message", | |
"email": "[email protected]", | |
"sender": "[email protected]", | |
"tags": [ | |
"webhook-example" |