Skip to content

Instantly share code, notes, and snippets.

View bwghughes's full-sized avatar

Ben Hughes bwghughes

View GitHub Profile

Keybase proof

I hereby claim:

  • I am bwghughes on github.
  • I am bwghughes (https://keybase.io/bwghughes) on keybase.
  • I have a public key whose fingerprint is 8F45 C90A 4C6D 5F9F 1E46 C811 BF59 021A D1FD AC64

To claim this, I am signing this object:

OpenAir Data Setup

Project Mapping Setup

This mapping allows us to map a project in OpenAir to a project in Quickbooks.

As a OpenAir administrator:

  1. Navigate to Application Settings -> Projects
  2. If the external ID field is not visible, make it visible using the column setting menu on the right hand side of the table.

Keybase proof

I hereby claim:

  • I am bwghughes on github.
  • I am benhughes (https://keybase.io/benhughes) on keybase.
  • I have a public key whose fingerprint is C9C9 FE7A 62A4 EEE8 B9DB AEF3 E2CF 4D36 645D DE97

To claim this, I am signing this object:

import os
import json
import requests
import logging
logging.basicConfig(level=logging.INFO)
log = logging.getLogger(__name__)
url = "http://0ba03adb.ngrok.io/api.rsc/BillExpenseItems"
@bwghughes
bwghughes / py
Created June 3, 2016 08:55
Problem with POST'ing BillExpenseItems
import os
import json
import requests
import logging
logging.basicConfig(level=logging.INFO)
log = logging.getLogger(__name__)
url = "http://0ba03adb.ngrok.io/api.rsc/BillExpenseItems"
// Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to permit
// persons to whom the Software is furnished to do so, subject to the
// following conditions:
//
### Keybase proof
I hereby claim:
* I am bwghughes on github.
* I am bwghughes (https://keybase.io/bwghughes) on keybase.
* I have a public key whose fingerprint is F56F F8CA AFA2 92A4 6252 746F F997 CCE3 41DD B60F
To claim this, I am signing this object:
@bwghughes
bwghughes / deploy.py
Created May 29, 2013 15:15
pushbutton
#!/usr/bin/env python
import sys, usb.core
dev = usb.core.find(idVendor=0x1d34, idProduct=0x0008)
if dev is None:
sys.exit("No Panic button found in the system");
try:
if dev.is_kernel_driver_active(0) is True:
#!/bin/sh
setup_brew () {
if ![-f "/usr/local/bin/brew"]; then
/usr/bin/ruby -e "$(/usr/bin/curl -fsSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)"
fi
}
setup_ipython () {
brew install readline
import time
import json
import datetime
from random import randrange
from datetime import timedelta
def date_range():
start_date = datetime.datetime.now().date() - timedelta(days=-365)