Skip to content

Instantly share code, notes, and snippets.

View james-gibson's full-sized avatar
:shipit:
Exiting VSCode with :wq

James Gibson james-gibson

:shipit:
Exiting VSCode with :wq
View GitHub Profile
@james-gibson
james-gibson / GET: api (auth)
Created December 18, 2013 17:55
Authenticated with ?token
[
"http://localhost:3001/api/summary?token=AgileMD",
"http://localhost:3001/api/employment?token=AgileMD",
"http://localhost:3001/api/education?token=AgileMD",
"http://localhost:3001/api/social?token=AgileMD",
"http://localhost:3001/api/professional?token=AgileMD",
"http://localhost:3001/api/resume?token=AgileMD"
]
@james-gibson
james-gibson / Sample resume from api
Created December 18, 2013 17:56
GET api/resume?token=[token]
{
"summary": {
"profiles": [
"http://careers.stackoverflow.com/jamesgibson",
"http://www.linkedin.com/pub/james-gibson/16/8bb/5b3"
]
},
"social": {
"twitter": "https://twitter.com/brainchildpro"
},
@james-gibson
james-gibson / effa
Created January 2, 2014 18:35
Why do flamingos exist?
Her: After a rocky start to the day, not bad. Currently pondering the purpose for the existence of flamingos.
Me: Because peacocks don't make great lawn ornaments in Florida.
Her: They would if the people of Florida would just give them a chance!
Me: Equal feathers for all!
Her: You shouldn't make fun of such a serious issue. Equal rights for birds in Florida is an important and vital concern in the current political market
@james-gibson
james-gibson / SummarizeAccountContacts
Created September 5, 2014 15:54
Contact summary trigger w/test
trigger SummarizeAccountContacts on Contact (after delete, after insert) {
set<ID> accountIds = new set<ID>();
set<ID> contactIds = new Set<ID>();
public void addValidAccountId(Id i)
{
if(i !=null)
accountIds.add(i);
}
syntax on
colorscheme distinguished
set smartindent
set tabstop=4
set shiftwidth=4
set expandtab
set number
autocmd BufNewFile,BufRead *.json set ft=javascript
@james-gibson
james-gibson / customInvoiceTemplateGuide.md
Last active September 16, 2015 22:26
Creating Custom Invoice Templates in Apto

Apto Logo

##Custom Invoice Templates

Last Updated: 9/14/15

####Goal After following this guide, you should be able to create custom invoice templates by leveraging the custom invoice components and controllers, along with CSS.

####Prerequisites

@james-gibson
james-gibson / raspPi-wifi.md
Created August 17, 2015 00:39
Description on how to set up wifi on raspberry pi running raspian

Run sudo cp /usr/share/doc/wpasupplicant/examples/wpa-roam.conf /etc/wpa_supplicant/wpa-roam.conf

Edit /etc/wpa_supplicant/wpa-roam.conf and uncomment update_config=1

and add:

network={
    ssid="<your ssid here>"
    psk="<wireless password here>"
}
@james-gibson
james-gibson / Contract Killer 3.md
Created November 10, 2016 01:18 — forked from malarkey/Contract Killer 3.md
The latest version of my ‘killer contract’ for web designers and developers

Contract Killer

The popular open-source contract for web professionals by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: March 15th 2016
  • Original post

Keybase proof

I hereby claim:

  • I am james-gibson on github.
  • I am thenodester (https://keybase.io/thenodester) on keybase.
  • I have a public key ASD2CmjfYXNgU0B4qNC7Ptu4lRVCYeEalOYSLvSn1xhdmAo

To claim this, I am signing this object:

{
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"amd": false,
"mocha": false,
"jasmine": false,
"es6": true
},