Skip to content

Instantly share code, notes, and snippets.

View todc's full-sized avatar

Tim O'Donnell todc

View GitHub Profile
@todc
todc / mac-setup.md
Last active September 25, 2021 09:21
Fresh Mac OS Setup

1. Run Software Update

Make sure everything is up to date.

Software Update

2. Install Xcode and its "Command Line Tools"

  1. Go to App Store and install Xcode.
  2. Open and accept the terms
@todc
todc / jquery.tokeninput.js
Created July 6, 2012 19:06
jQuery Tokeninput plugin with modifications by @todc
/*
* jQuery Plugin: Tokenizing Autocomplete Text Entry
* Version 1.6.0
*
* Copyright (c) 2009 James Smith (http://loopj.com)
* Licensed jointly under the GPL and MIT licenses,
* choose which one suits your project best!
*
*/
@todc
todc / token-input.less
Created July 6, 2012 19:03
Google-esque styling for jquery.tokeninput.js plugin
ul.token-input-list-facebook {
overflow: hidden;
height: auto !important;
height: 30px;
max-width: 400px;
border: 1px solid #8496ba;
cursor: text;
font-size: 12px;
font-family: Verdana;
min-height: 1px;
@todc
todc / ruby192p290.spec
Created July 20, 2011 00:35
Ruby 1.9.2p290 RPM Spec
%define _prefix /opt/ruby-1.9.2p290
%define _localstatedir /opt/ruby-1.9.2p290/var
%define _mandir /opt/ruby-1.9.2p290/man
%define _infodir /opt/ruby-1.9.2p290/share/info
%define rubyver 1.9.2
%define rubyminorver p290
Name: ruby%{rubyver}%{rubyminorver}
Version: %{rubyver}%{rubyminorver}