Skip to content

Instantly share code, notes, and snippets.

View sebnash's full-sized avatar

Seb Nash sebnash

View GitHub Profile
@sebnash
sebnash / body
Created May 9, 2014 12:41
Notify Foration of comment update
{{updater.name}} has updated a ticket in pebble.it Zendesk.
Ticket details follow.
#TicketId: {{ticket.id}}
#Subject: {{ticket.title}}
#Created: {{ticket.created_at}}
#Status: {{ticket.status}}
#Firstname: {{ticket.requester.first_name}}
#Lastname: {{ticket.requester.last_name}}
@sebnash
sebnash / rapha_brands.json
Created June 25, 2014 15:20
Create Ticket for Brand config
{
"brand_21cf": "21cf@rapha.cc",
"brand_ausnz": "ausnz@rapha.cc",
"brand_ccldn": "ccldn@rapha.cc",
"brand_ccmcr": "ccmcr@rapha.cc",
"brand_ccnyc": "ccnyc@rapha.cc",
"brand_ccsfc": "ccsfc@rapha.cc",
"brand_enquiries": "enquiries@rapha.cc",
"brand_ipp": "ipp@rapha.cc",
"brand_kundenservice": "kundenservice@rapha.cc",
@sebnash
sebnash / gist:dc889c94a402541037c9
Created August 19, 2014 12:19
Location of OS X Preview app signatures
~/Library/Containers/com.apple.Preview/Data/Library/Preferences/com.apple.Preview.signatures.plist
@sebnash
sebnash / gist:7b564286144daa2640e5
Created October 1, 2014 13:23
Google Apps Users’ memberships
/**
* This script populates the "Users" sheet with all DomainUsers and Groups they are members of
*
* Uses: https://developers.google.com/apps-script/reference/domain/user-manager
* https://developers.google.com/apps-script/reference/domain/groups-manager
* https://plus.google.com/+EricKoleda/posts/ThnVjUgU3E9 (Moment.js Library)
*
* A Time-Driven Trigger (hourly, roughly top of the hour) updates the "Users" sheet
* 'On Open' the "META" sheet is updated, showing when the data was last refreshed
*/
@sebnash
sebnash / gist:65cd1b75e11fe3566309
Created October 1, 2014 13:24
Google Apps Group memberships
/**
* This script generates a sheet for each DomainGroup and populates with the current group members
*
* Uses: https://developers.google.com/apps-script/reference/domain/groups-manager
* https://plus.google.com/+EricKoleda/posts/ThnVjUgU3E9 (Moment.js Library)
*
* A Time-Driven Trigger (hourly, roughly top of the hour) updates the 'Group' sheets
* 'On Open' the "META" sheet is updated, showing when the data was last refreshed
*/
@sebnash
sebnash / gif-brewery2-beta.rb
Last active August 29, 2015 14:08
GIF Brewery 2 Beta Cask (not working)
class GifBrewery2Beta < Cask
version '2.3.5-beta1'
sha256 '82c5cb4f0ccc81d076358195e54427819a61a581f583458879c99b9f974b6886'
url "http://www.helloresolven.com/betas/gifbrewery/GIFBrewery-#{version}.zip"
homepage 'http://gifbrewery.com'
license :closed
app "GIF Brewery-#{version}.app"
end
@sebnash
sebnash / gist:43cffa8f831f7b57c403
Created October 23, 2014 07:41
`brew cask install gif-brewery-2-beta` error
$ brew cask install gif-brewery-2-beta
==> Downloading http://www.helloresolven.com/betas/gifbrewery/GIFBrewery-2.3.5-beta1.zip
Already downloaded: /Library/Caches/Homebrew/gif-brewery2-beta-2.3.5-beta1.zip
Error: It seems the symlink source is not there: '/opt/homebrew-cask/Caskroom/gif-brewery2-beta/2.3.5-beta1/GIF Brewery-2.3.5-beta1.app'
@sebnash
sebnash / gist:83697bd8ed5955dd5630
Created October 24, 2014 04:10
`brew cask install --debug gif-brewery2-beta` error
$ brew cask install --debug gif-brewery2-beta
==> Initializing Taps
==> Creating directories
==> Loading Cask definitions
==> Translating 'gif-brewery2-beta' into a valid Cask source
==> Testing source class Cask::Source::URI
==> Testing source class Cask::Source::PathSlashRequired
==> Testing source class Cask::Source::TappedQualified
==> Testing source class Cask::Source::UntappedQualified
==> Testing source class Cask::Source::Tapped
@sebnash
sebnash / gist:20dadbea441cda38b5eb
Last active August 29, 2015 14:08
Batch-export frames
$ mplayer -nosound -really-quiet -vo png:z=9:outdir="$HOME/Pictures" -frames 1 *.mp4
@sebnash
sebnash / gist:85de51e7b80f10f883ff
Created November 27, 2014 17:19
Mountain v1.6 beta uninstall commands
sudo launchctl unload /Library/LaunchDaemons/de.appgineers.Mountain.Helper.plist
sudo rm /Library/LaunchDaemons/de.appgineers.Mountain.Helper.plist
sudo rm /Library/PrivilegedHelperTools/de.appgineers.Mountain.Helper