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
<!DOCTYPE html> | |
<html lang="en"><head> | |
<meta charset="utf-8"> | |
<title>Bootstrap, from Twitter</title> | |
<meta name="description" content=""> | |
<meta name="author" content=""> | |
<!-- Le HTML5 shim, for IE6-8 support of HTML elements --> | |
<!--[if lt IE 9]> | |
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> |
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
def to_quickbooks_hash | |
hash = {"invoice_add"=>{ | |
"customer_ref"=>{ | |
"list_id"=> self.order.account.list_id | |
#"full_name"=> self.order.account.company_name #"Abercrombie, Kristy" # | |
}, | |
"txn_date"=>Date.today.xmlschema, | |
"bill_address"=>{ | |
"addr1"=>self.order.address(:billing, :name), | |
"addr2"=>self.order.address(:billing, :street_1), |
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
#!/usr/bin/env ruby | |
# | |
# Expects path to the root folder of the submission sequence to be passed as param 1 | |
# | |
# ectdmd5.rb (PATH) | |
# | |
args = ARGV.dup | |
ARGV.clear |
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
Sub alphabatizeSelection(Optional control As IRibbonControl) | |
'almost works | |
Dim numberOfLines As Integer | |
Dim selectionArray() As Variant | |
'Dim iterator As Long: iterator = 0 | |
Dim temprange As Range | |
Dim temptext As String: temptext = "" | |
temptext = Selection.Range.Text |
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
#accepts array of string and symbols that will be prepended with 'icon-' | |
#any hashes will be passed into the content tag call and any additonal classes will be merge into the content_tag class as well | |
def bootstrap_icon(*args) | |
icon_words = [] | |
options = {} | |
args.each do |arg| | |
if arg.is_a?( String) || arg.is_a?(Symbol) | |
icon_words << arg |
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
mysql: | |
hostname: 127.0.0.1 | |
port: 8889 | |
#socket: /tmp/mysql.sock | |
username: root | |
password: root | |
database: burningpony | |
destination: | |
# if file is given, output goes to file, else postgres |
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] TypeError: 'undefined' is not an object (evaluating 'this.Notification.all') | |
initialize (all.js, line 1839) | |
(anonymous function) (all.js, line 3250) | |
View (all.js, line 1249) | |
b (all.js, line 1809) | |
b (all.js, line 1838) | |
subview (all.js, line 1809) | |
topLevelView (all.js, line 3152) | |
showHeader (all.js, line 3208) | |
(anonymous function) (all.js, line 3173) |
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
Don't use pull from the raw gist... It can't be https. | |
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
worker: QUEUE=* bundle exec rake environment resque:work | |
scheduler: bundle exec rake environment resque:scheduler |
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
Correct Timestamps and update images and links to images with a quick script from posterous wordpress export data. | |
Figured might be useful for someone. |
OlderNewer