Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

James Gibson james-gibson

🏠
Working from home
View GitHub Profile
@james-gibson
james-gibson / GET: api (auth)
Created Dec 18, 2013
Authenticated with ?token
View GET: api (auth)
[
"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 Dec 18, 2013
GET api/resume?token=[token]
View Sample resume from api
{
"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 Jan 2, 2014
Why do flamingos exist?
View effa
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 Sep 5, 2014
Contact summary trigger w/test
View SummarizeAccountContacts
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);
}
View vimrc
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 Sep 16, 2015
Creating Custom Invoice Templates in Apto
View customInvoiceTemplateGuide.md

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 Aug 17, 2015
Description on how to set up wifi on raspberry pi running raspian
View raspPi-wifi.md

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 Nov 10, 2016 — forked from malarkey/Contract Killer 3.md
The latest version of my ‘killer contract’ for web designers and developers
View Contract Killer 3.md

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

View keybase.md

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:

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