Skip to content

Instantly share code, notes, and snippets.

Ian Chesal ianchesal

Block or report user

Report or block ianchesal

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View docker-compose.yaml
version: '2.1'
container_name: grafana
image: proxx/grafana-armv7
user: "1000"
- 3000:3000
- /opt/grafana:/etc/grafana:rw
bzerangue /
Last active Oct 20, 2019
Mac OS X Utilities via Terminal: (Verify and Repair: Disk Permissions AND Disk / Software Update / TimeMachine)

Verify and Repair Disk Permissions via Terminal (Mac OS X)

Verify Permissions

diskutil verifyPermissions /

Repair Permissions

diskutil repairPermissions /

showaltb / gist:8542626
Created Jan 21, 2014
Install PhantomJS on Amazon AMI x86_64
View gist:8542626
# download and unpack distribution
tar xf phantomjs-1.9.6-linux-x86_64.tar.bz2
# copy binary
cd phantomjs-1.9.6-linux-x86_64
cp bin/phantomjs /usr/local/bin
View Ruby.sublime-build
# Get Sublime Text to use your rvm ruby without hardcoding a `$USER`.
# Include the configurations below the commend in the appropriate file listed below:
# - OS X ST2: ~/Library/Application Support/Sublime Text 2/Packages/Ruby/Ruby.sublime-build
# - OS X ST3: ~/Library/Application Support/Sublime Text 3/Packages/User/Ruby.sublime-build
# - Linux ST2: ~/.config/sublime-text-2/Packages/Ruby/Ruby.sublime-build
# - Linux ST3: ~/.config/sublime-text-3/Packages/User/Ruby.sublime-build
View urbanspoon_reservations.rb
require 'rubygems'
require 'mechanize'
EMAIL = ''
SCHEDULE_RANGE = { :start_time => '19:00', :end_time => '20:30' }
ianchesal /
Created Jul 8, 2011 — forked from compbrain/
Download wallpaper images
__doc__ = """
A quick script that fetches desktop images from the site.
It will start at the most current list of images and keep moving backwards, downloading
desktop images in to a directory on your local machine, until it finds an image that
already exists on disk. At that point it will stop.
threebytesfull / fstab
Created May 12, 2011
Example /etc/fstab on Mac OS X 10.6 to disable auto-mounting of specific volumes
View fstab
# You can find the volume UUID in Disk Utility. Select the volume on the left
# and then File->Get Info. See "Universal Unique Identifier".
# Options used below:
# ro for readonly (can be omitted)
# noauto to prevent auto-mount
# noatime to skip writing last access times (performance thing, optional)
# Remember to set the filesystem type (hfs, ntfs, etc) too
compbrain /
Created Dec 13, 2010
Download simpledesktops wallpapers
"""Download a whole page of wallpapers from
- BeautifulSoup:
$ ./ ""
Downloading to wallpaper.png
You can’t perform that action at this time.