Skip to content

Instantly share code, notes, and snippets.

View johnknapprs's full-sized avatar

John Knapp johnknapprs

View GitHub Profile

Change Apple OS X Dock size from Apple Terminal

defaults write com.apple.dock tilesize -int 32; killall Dock

32 is icon size

@ahanmal
ahanmal / README.md
Last active June 23, 2016 14:21
Dashing JIRA Issues Open Widget

##JIRA Open Issues Widget For Dashing Simple widget that fetches current issues from JIRA by using a JQL Search. Data is displayed using th e included Numbers widget in Dashing.

##Usage

  1. Install Widget By Adding jira.rb to the jobs directory, or install by calling dashing install 3186a5869684bb514ad3

  2. Add gem 'jira-ruby', :require => 'jira' to your Gemfile

  3. Change to match your needs:

@willurd
willurd / web-servers.md
Last active March 13, 2026 17:53
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000