Skip to content

Instantly share code, notes, and snippets.

http://www.grrspurrs.com/categories?direction=forward&i=10&lek_object_id=1118&
id: RG4DEMBH5E3KA, name: Paws IQ Med Salmon 90ct.
id: 5WHYX55AQT1A8, name: Paws IQ Dental Ocean Flavor Treats 2.5oz
id: YXRN3A2SNCKK2, name: Paws IQ Ocean Dental Treats 5.5oz
id: GPD6497ECPAJT, name: Paws IQ Salmon Dental Treats 2.5oz
id: MS6FJJJNXMZHY, name: Paws IQ Salmon Dental Treats 5.5oz
id: CFXJ3ZP485GYJ, name: Paws IQ Tuna Dental Treats 2.5oz
id: RGMBM2Y4ZA7J6, name: Paws IQ Tuna Dental Treats 5.5oz
id: X71DKYCRG8HFG, name: Paws Set Of 6

Keybase proof

I hereby claim:

  • I am buccolo on github.
  • I am buccolo (https://keybase.io/buccolo) on keybase.
  • I have a public key ASC6UQ29d2higGCzrnvmcgxBbccpds6WiSzhmXFF_prGuAo

To claim this, I am signing this object:

@buccolo
buccolo / bisect.sh
Last active July 25, 2016 14:34
Bisector
#!/bin/zsh
# abort on errors
set -e
# setup correct ruby
source $(brew --prefix chruby)/share/chruby/chruby.sh
chruby $(cat ~/dev/project/.ruby-version)
# reproduce issue
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>13E28</string>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleDocumentTypes</key>
<array>
@buccolo
buccolo / 000_postgresql_fancy_datatypes
Created January 7, 2016 02:17 — forked from pcreux/000_postgresql_fancy_datatypes
Postgresql fancy datatypes with Rails / ActiveRecord. Run it with `rake`!
# Postgresql fancy datatypes!
* array
* hstore (=~ hash)
* json
* jsonb
Philippe Creux - [@pcreux](http://twitter.com/pcreux)
module NetSuite
module Records
class CustomerRefundDepositList
include Support::Fields
include Support::Records
include Namespaces::TranCust
fields :amount, :apply, :currency, :deposit_date, :doc, :line, :ref_num, :remaining, :total, :replace_all
def initialize(attributes = {})
#!/usr/bin/env ruby
require 'scraperwiki'
require 'rubygems'
require 'active_support/time'
require 'nokogiri'
class Scraper
worker_processes <%= node[:nginx][:worker_processes] %>;
events {
worker_connections 1024;
}
http {
server {
listen 80;
# apt-get update; could be optimized to not run every time
bash "updates packages" do
code "apt-get update"
end
# apt-get install git
package "git"
# Executes nginx recipe.
include_recipe "detroit::nginx"
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "ubuntu-precise64"
config.vm.box_url = "https://opscode-vm-bento.s3.amazonaws.com/vagrant/opscode_ubuntu-12.04_provisionerless.box"
# Sets the ip we'll use to access the box
config.vm.network :private_network, ip: "10.0.0.10"
config.vm.hostname = "detroit"