Skip to content

Instantly share code, notes, and snippets.

View sebnash's full-sized avatar

Seb Nash sebnash

View GitHub Profile

Keybase proof

I hereby claim:

  • I am sebnash on github.
  • I am sebnash (https://keybase.io/sebnash) on keybase.
  • I have a public key ASC0EiIBSEHaUXgEIQFDPylV3SFhPq-339oJmcg3VpUOCAo

To claim this, I am signing this object:

@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
@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:43a5d990a18065019409
Last active February 16, 2018 18:02
Contents of Huawei’s ‘Mobile Partner.app’ installer
$ pkgutil --files huawei.com.hwnetmgr.hwnetmgr.pkg
HWNetCfg
HWNetMgr
StartupParameters.plist
$ pkgutil --files com.huawei.hwportdetect.pkg
HWPortCfg
config
$ pkgutil --files com.huawei.MobilePartner
mobilepartner.app
mobilepartner.app/Contents
@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: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 / 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: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 / 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: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