Skip to content

Instantly share code, notes, and snippets.

View neverett's full-sized avatar

Nikki Everett neverett

View GitHub Profile

Keybase proof

I hereby claim:

  • I am neverett on github.
  • I am neverett (https://keybase.io/neverett) on keybase.
  • I have a public key ASCU_cEnSp9UmMTwn5PXaRwvA8nu46psID32-5pdQADR6Ao

To claim this, I am signing this object:

@neverett
neverett / gitio
Created June 25, 2014 21:21 — forked from defunkt/gitio
#!/usr/bin/env ruby
# Usage: gitio URL [CODE]
#
# Turns a github.com URL
# into a git.io URL
#
# Copies the git.io URL to your clipboard.
url = ARGV[0]
code = ARGV[1]
@neverett
neverett / public.txt
Created June 23, 2014 21:20
a public gist
some public text
@neverett
neverett / test5.rb
Created August 2, 2013 21:09
description
# Rails 3.2.14
[27] pry(Spree):1> order
=> #<Spree::Order id: 4, number: "R668780026", item_total: #<BigDecimal:c3126b0,'0.15992E3',18(36)>, total: #<BigDecimal:c3566a8,'0.14393E3',18(36)>, state: "cart", adjustment_total: #<BigDecimal:c35684c,'-0.1599E2',18(18)>, user_id: 1, completed_at: nil, bill_address_id: nil, ship_address_id: nil, payment_total: #<BigDecimal:c356504,'0.0',9(36)>, shipping_method_id: nil, shipment_state: "pending", payment_state: "balance_due", email: "spree@example.com", special_instructions: nil, created_at: "2013-08-02 06:11:13", updated_at: "2013-08-02 15:45:51", currency: "USD", last_ip_address: "127.0.0.1", created_by_id: 1>
[28] pry(Spree):1> shipment
=> #<Spree::Shipment id: 22, tracking: nil, number: "H47677816488", cost: nil, shipped_at: nil, order_id: 4, address_id: nil, state: "pending", created_at: "2013-08-02 18:14:03", updated_at: "2013-08-02 18:14:03", stock_location_id: nil>
[29] pry(Spree):1> order.adjustments.create({source: shipment, label: "ha", amount: 0}, without
@neverett
neverett / TEST 4
Created August 2, 2013 20:57
test description once more
# Rails 3.2.14
[27] pry(Spree):1> order
=> #<Spree::Order id: 4, number: "R668780026", item_total: #<BigDecimal:c3126b0,'0.15992E3',18(36)>, total: #<BigDecimal:c3566a8,'0.14393E3',18(36)>, state: "cart", adjustment_total: #<BigDecimal:c35684c,'-0.1599E2',18(18)>, user_id: 1, completed_at: nil, bill_address_id: nil, ship_address_id: nil, payment_total: #<BigDecimal:c356504,'0.0',9(36)>, shipping_method_id: nil, shipment_state: "pending", payment_state: "balance_due", email: "spree@example.com", special_instructions: nil, created_at: "2013-08-02 06:11:13", updated_at: "2013-08-02 15:45:51", currency: "USD", last_ip_address: "127.0.0.1", created_by_id: 1>
[28] pry(Spree):1> shipment
=> #<Spree::Shipment id: 22, tracking: nil, number: "H47677816488", cost: nil, shipped_at: nil, order_id: 4, address_id: nil, state: "pending", created_at: "2013-08-02 18:14:03", updated_at: "2013-08-02 18:14:03", stock_location_id: nil>
[29] pry(Spree):1> order.adjustments.create({source: shipment, label: "ha", amount: 0}, without
@neverett
neverett / the third test again
Created August 2, 2013 20:51
a description again
# Rails 3.2.14
[27] pry(Spree):1> order
=> #<Spree::Order id: 4, number: "R668780026", item_total: #<BigDecimal:c3126b0,'0.15992E3',18(36)>, total: #<BigDecimal:c3566a8,'0.14393E3',18(36)>, state: "cart", adjustment_total: #<BigDecimal:c35684c,'-0.1599E2',18(18)>, user_id: 1, completed_at: nil, bill_address_id: nil, ship_address_id: nil, payment_total: #<BigDecimal:c356504,'0.0',9(36)>, shipping_method_id: nil, shipment_state: "pending", payment_state: "balance_due", email: "spree@example.com", special_instructions: nil, created_at: "2013-08-02 06:11:13", updated_at: "2013-08-02 15:45:51", currency: "USD", last_ip_address: "127.0.0.1", created_by_id: 1>
[28] pry(Spree):1> shipment
=> #<Spree::Shipment id: 22, tracking: nil, number: "H47677816488", cost: nil, shipped_at: nil, order_id: 4, address_id: nil, state: "pending", created_at: "2013-08-02 18:14:03", updated_at: "2013-08-02 18:14:03", stock_location_id: nil>
[29] pry(Spree):1> order.adjustments.create({source: shipment, label: "ha", amount: 0}, without
@neverett
neverett / second test file
Created August 2, 2013 20:51
test description once more
# Rails 3.2.14
[27] pry(Spree):1> order
=> #<Spree::Order id: 4, number: "R668780026", item_total: #<BigDecimal:c3126b0,'0.15992E3',18(36)>, total: #<BigDecimal:c3566a8,'0.14393E3',18(36)>, state: "cart", adjustment_total: #<BigDecimal:c35684c,'-0.1599E2',18(18)>, user_id: 1, completed_at: nil, bill_address_id: nil, ship_address_id: nil, payment_total: #<BigDecimal:c356504,'0.0',9(36)>, shipping_method_id: nil, shipment_state: "pending", payment_state: "balance_due", email: "spree@example.com", special_instructions: nil, created_at: "2013-08-02 06:11:13", updated_at: "2013-08-02 15:45:51", currency: "USD", last_ip_address: "127.0.0.1", created_by_id: 1>
[28] pry(Spree):1> shipment
=> #<Spree::Shipment id: 22, tracking: nil, number: "H47677816488", cost: nil, shipped_at: nil, order_id: 4, address_id: nil, state: "pending", created_at: "2013-08-02 18:14:03", updated_at: "2013-08-02 18:14:03", stock_location_id: nil>
[29] pry(Spree):1> order.adjustments.create({source: shipment, label: "ha", amount: 0}, without
@neverett
neverett / moar test
Created August 2, 2013 20:48
description
things here
@neverett
neverett / testing testing
Created August 2, 2013 20:46
here is a description
# Rails 3.2.14
[27] pry(Spree):1> order
=> #<Spree::Order id: 4, number: "R668780026", item_total: #<BigDecimal:c3126b0,'0.15992E3',18(36)>, total: #<BigDecimal:c3566a8,'0.14393E3',18(36)>, state: "cart", adjustment_total: #<BigDecimal:c35684c,'-0.1599E2',18(18)>, user_id: 1, completed_at: nil, bill_address_id: nil, ship_address_id: nil, payment_total: #<BigDecimal:c356504,'0.0',9(36)>, shipping_method_id: nil, shipment_state: "pending", payment_state: "balance_due", email: "spree@example.com", special_instructions: nil, created_at: "2013-08-02 06:11:13", updated_at: "2013-08-02 15:45:51", currency: "USD", last_ip_address: "127.0.0.1", created_by_id: 1>
[28] pry(Spree):1> shipment
=> #<Spree::Shipment id: 22, tracking: nil, number: "H47677816488", cost: nil, shipped_at: nil, order_id: 4, address_id: nil, state: "pending", created_at: "2013-08-02 18:14:03", updated_at: "2013-08-02 18:14:03", stock_location_id: nil>
[29] pry(Spree):1> order.adjustments.create({source: shipment, label: "ha", amount: 0}, without