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'
services:
grafana:
container_name: grafana
image: proxx/grafana-armv7
user: "1000"
ports:
- 3000:3000
volumes:
- /opt/grafana:/etc/grafana:rw
@bzerangue
bzerangue / _verify-repair-permissions-disk.md
Last active Oct 20, 2019
Mac OS X Utilities via Terminal: (Verify and Repair: Disk Permissions AND Disk / Software Update / TimeMachine)
View _verify-repair-permissions-disk.md

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

Verify Permissions

diskutil verifyPermissions /

Repair Permissions

diskutil repairPermissions /

@showaltb
showaltb / gist:8542626
Created Jan 21, 2014
Install PhantomJS on Amazon AMI x86_64
View gist:8542626
# download and unpack distribution
wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.6-linux-x86_64.tar.bz2
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'
FIRST_NAME = 'FIRST_NAME'
LAST_NAME = 'LAST_NAME'
PHONE = 'PHONE'
EMAIL = 'EMAIL@provider.com'
PARTY_SIZE = 2
SCHEDULE_RANGE = { :start_time => '19:00', :end_time => '20:30' }
@ianchesal
ianchesal / simpledesktops_download.py
Created Jul 8, 2011 — forked from compbrain/simpledesktops_download.py
Download simpledesktops.com wallpaper images
View simpledesktops_download.py
#!/usr/bin/python
__doc__ = """
simpledesktops_download.py
A quick script that fetches desktop images from the http://simpledesktops.com/ 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
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
compbrain / simpledesktops_download.py
Created Dec 13, 2010
Download simpledesktops wallpapers
View simpledesktops_download.py
#!/usr/bin/python
"""Download a whole page of wallpapers from simpledesktops.com.
Requires:
- BeautifulSoup: http://www.crummy.com/software/BeautifulSoup/#Download
Usage:
$ ./simpledesktops_download.py "http://simpledesktops.com/browse/6/"
Downloading http://parsed.url.com/directory/subdir/wallpaper.png to wallpaper.png
You can’t perform that action at this time.