Skip to content

Instantly share code, notes, and snippets.

View camdez's full-sized avatar

Cameron Desautels camdez

View GitHub Profile
@camdez
camdez / gist:2910550
Last active October 6, 2015 01:18
OrgSync API: Forms: Show Single Submission
{
"id": 3827851,
"on_behalf_of": {
"community_id": 13,
"id": 71915,
"name": "PASSPORT",
"picture_url": "https://d1nrm4vx8nf098.cloudfront.net/i8eoik14bczgw1b_150.jpg",
"short_name": "PASSPORT"
},
"submitter_id": 15594,
@camdez
camdez / gist:2910661
Created June 11, 2012 15:30
OrgSync API: Forms: List Organization Forms
[
{
"name": "Student Organization Registration",
"category": {
"name": "General",
"id": 216
},
"is_published": true,
"id": 7553,
"ends_at": "2034-06-02T16:45:38Z",
@camdez
camdez / gist:2920615
Created June 12, 2012 22:48
OrgSync API: Identification Cards: List All Identification Cards
[
{
"number": "123",
"account_id": 2,
"id": 143168,
"email": null
},
{
"number": "1234",
"account_id": 2,
@camdez
camdez / gist:2920627
Created June 12, 2012 22:52
OrgSync API: Identification Cards: Show Single Identification Card
{
"number": "123",
"account_id": 2,
"id": 143168,
"email": null
}
@camdez
camdez / gist:2938446
Created June 15, 2012 19:59
OrgSync API: Org Membership Logs: Show Single Entry
[
{
"created_at": "2008-09-10T10:44:05Z",
"account_id": 1500,
"action": "Join",
"org_id": 225
},
{
"created_at": "2008-09-10T10:45:08Z",
"account_id": 1500,
@camdez
camdez / gist-browse.el
Created July 24, 2012 15:41
Add keybindings to browse gists in gist.el
;; Add `b' binding to `gist-list' to browse to the current gist.
(defun gist-browse-current ()
(interactive)
(gist-browse (tabulated-list-get-id)))
(defun gist-browse (id)
(interactive)
(browse-url (concat "https://gist.github.com/" id)))
(define-key gist-list-menu-mode-map "b" 'gist-browse-current)
@camdez
camdez / example.json
Created July 30, 2012 15:29
OrgSync API: Course Entries: List All Course Entries
[
{
"name": "Chemistry",
"account_id": 3287,
"date": "2012-08-04",
"id": 1,
"link": "https://courses.yourschool.edu/chemistry",
"section": "001"
},
{
@camdez
camdez / example.json
Created July 30, 2012 15:34
OrgSync API: Course Entries: Show Single Course Entry
{
"name": "Chemistry",
"account_id": 3287,
"date": "2012-08-04",
"id": 1,
"link": "https://courses.yourschool.edu/chemistry",
"section": "001"
}
@camdez
camdez / example.json
Created July 30, 2012 15:48
OrgSync API: Course Entries: Create Course Entry
{
"name": "Chemistry",
"account_id": 3287,
"date": "2012-08-04",
"id": 4,
"link": "https://courses.yourschool.edu/chemistry",
"section": "001"
}
@camdez
camdez / gist:4179693
Created December 1, 2012 00:13
OrgSync API: Timesheets: List All Timesheets
[
{
"start_date": "2008-11-04",
"alternate_org_name": "The Giving Tree",
"account": {
"id": 15594,
"last_name": "Williams",
"first_name": "Taylor"
},
"org": null,