Skip to content

Instantly share code, notes, and snippets.

View chuckwagoncomputing's full-sized avatar

David Holdeman chuckwagoncomputing

View GitHub Profile
@rubiojr
rubiojr / mr_status_bar_app.rb
Created November 30, 2009 11:47
MacRuby StatusBar Application
#
# Initialize the stuff
#
# We build the status bar item menu
def setupMenu
menu = NSMenu.new
menu.initWithTitle 'FooApp'
mi = NSMenuItem.new
mi.title = 'Hellow from MacRuby!'
mi.action = 'sayHello:'
@FrankDMartinez
FrankDMartinez / gist:1358286
Created November 11, 2011 15:36
Raking Shoes on OS 10.5
/Users/Frank/sandbox/shoes/Rakefile:63: Use RbConfig instead of obsolete and deprecated Config.
** Invoke default (first_time)
** Invoke build (first_time)
** Invoke osx:build (first_time)
** Invoke osx:build_tasks:pre_build (first_time)
** Invoke osx:build_tasks:check_ruby_arch (first_time)
** Execute osx:build_tasks:check_ruby_arch
** Execute osx:build_tasks:pre_build
** Invoke build_skel (first_time)
** Execute build_skel
@stevenh512
stevenh512 / .gitignore
Created May 22, 2012 21:23
GitHub Authorizations API for command line apps using Octokit
Gemfile.lock
@belsrc
belsrc / gist:4132373
Created November 22, 2012 17:55
Apple Touch Icon Links - HTML
<!-- From Mathias Bynens' blog post 'Everything you always wanted to know about touch icons' (http://mathiasbynens.be/notes/touch-icons) -->
<!-- For third-generation iPad with high-resolution Retina display: -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="apple-touch-icon-144x144-precomposed.png">
<!-- For iPhone with high-resolution Retina display: -->
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="apple-touch-icon-114x114-precomposed.png">
<!-- For first- and second-generation iPad: -->
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="apple-touch-icon-72x72-precomposed.png">
@ph
ph / gist:4133409
Created November 23, 2012 00:13 — forked from brandonb927/osx-for-hackers.sh
OSX for Hackers: Mountain Lion Edition
# ~/.osx — http://mths.be/osx
###############################################################################
# General UI/UX #
###############################################################################
# Set computer name (as done via System Preferences → Sharing)
scutil --set ComputerName "MacBookPro"
scutil --set HostName "MacBookPro"
scutil --set LocalHostName "MacBookPro"
@deedubs
deedubs / gist:4136146
Created November 23, 2012 15:35
Houston, We have a problem
64 bytes from 74.125.225.34: icmp_seq=242 ttl=56 time=671.851 ms
64 bytes from 74.125.225.34: icmp_seq=243 ttl=56 time=300.758 ms
64 bytes from 74.125.225.34: icmp_seq=244 ttl=56 time=10195.477 ms
64 bytes from 74.125.225.34: icmp_seq=245 ttl=56 time=12608.617 ms
64 bytes from 74.125.225.34: icmp_seq=246 ttl=56 time=11721.149 ms
64 bytes from 74.125.225.34: icmp_seq=247 ttl=56 time=11333.200 ms
64 bytes from 74.125.225.34: icmp_seq=248 ttl=56 time=10350.588 ms
64 bytes from 74.125.225.34: icmp_seq=249 ttl=56 time=9370.136 ms
64 bytes from 74.125.225.34: icmp_seq=250 ttl=56 time=8805.165 ms
64 bytes from 74.125.225.34: icmp_seq=251 ttl=56 time=7809.359 ms
@sandfox
sandfox / Things.md
Last active October 13, 2015 03:58
shiny new mac - getting started

#Things to install on new MacBooks to make moar awesome

##Install these

  1. iTerm - terminal replacement
  2. Alfred - spotlight replacement and uber useful tool
  3. Git - Because you do version control the right way
  4. Oh My Zsh - Lets make your bash usable
  5. Sublime Text 2 - Best text editor ever (unless you're a vim gimp)
  6. Package Control - Package manager for ST2
  7. Virtual Box - VMs that work pretty well
@sosedoff
sosedoff / __readme.md
Created November 23, 2012 19:30 — forked from jimeh/__readme.md
Let's not localize programming languages. Please >_<

Let's not localize programming languages. Please >_<

Feel free to fork and expand and/or add more languages as an example to why this would be horrible, and I'll add them here :)

@wonkwh
wonkwh / github.css
Created November 24, 2012 03:32 — forked from theconektd/github.css
Github Markdown CSS - for Markdown Editor Preview
body {
font-family: Helvetica, arial, sans-serif;
font-size: 14px;
line-height: 1.6;
padding-top: 10px;
padding-bottom: 10px;
background-color: white;
padding: 30px; }
body > *:first-child {
@cezarsa
cezarsa / robot.js
Created November 28, 2012 16:03
Simple Wall Robot
var Robot = function(robot){
robot.turnLeft(robot.angle % 90);
robot.turnGunRight(90);
robot.clone();
this.direction = 1;
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.ahead(1);
if (robot.parentId) {