These commands are good as of 2011-07-27.
App store http://itunes.apple.com/us/app/xcode/id448457090?mt=12) The download/install takes awhile so start it first. When it finishes downloading you will still need to run it to complete installation.
# A* Shortest Path Algorithm | |
# http://en.wikipedia.org/wiki/A* | |
# FB - 201012256 | |
from heapq import heappush, heappop # for priority queue | |
import math | |
import time | |
import random | |
class node: | |
xPos = 0 # x position |
# 6.00 Problem Set 10 | |
# Graph optimization | |
# | |
# A set of data structures to represent graphs | |
# | |
class Node(object): | |
def __init__(self, name): |
<html ng-app="goodfilms"> | |
<!-- ... --> | |
<body ng-controller="FrameController"> | |
<header> <!-- Logo and menu buttons --> </header> | |
<div id="stage" ng-controller="FeedController"> | |
<ul class="events"> | |
<li class="event" ng-repeat="film in films"> |
/** | |
* Inspired by AngularJS' implementation of "click dblclick mousedown..." | |
* | |
* This ties in the Hammer events to attributes like: | |
* | |
* hm-tap="add_something()" | |
* hm-swipe="remove_something()" | |
* | |
* and also has support for Hammer options with: | |
* |
#!/bin/bash | |
# License: Public Domain. | |
# Author: Joseph Wecker, 2012 | |
# | |
# Now a repo with faster code- please refer to https://github.com/josephwecker/bashrc_dispatch - thanks gioele | |
# | |
# Are you tired of trying to remember what .bashrc does vs .bash_profile vs .profile? | |
# Are you tired of trying to remember how darwin/mac-osx treat them differently from linux? | |
# Are you tired of not having your ~/.bash* stuff work the way you expect? | |
# |
#!/bin/bash | |
# License: Public Domain. | |
# Author: Joseph Wecker, 2012 | |
# | |
# Now a repo with faster code- please refer to https://github.com/josephwecker/bashrc_dispatch - thanks gioele | |
# | |
# Are you tired of trying to remember what .bashrc does vs .bash_profile vs .profile? | |
# Are you tired of trying to remember how darwin/mac-osx treat them differently from linux? | |
# Are you tired of not having your ~/.bash* stuff work the way you expect? | |
# |
# | |
# my zsh theme with iTerm titlebar manip. | |
# see video to see the bug I have.. any help would be HUGELY appreciated :) | |
# http://youtu.be/U-h9XCCq0q4 | |
# | |
# also | |
# https://github.com/sjl/oh-my-zsh/ | |
# http://sage.ucsc.edu/xtal/iterm_tab_customization.html |
These commands are good as of 2011-07-27.
App store http://itunes.apple.com/us/app/xcode/id448457090?mt=12) The download/install takes awhile so start it first. When it finishes downloading you will still need to run it to complete installation.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2012 Sindre Sorhus <http://sindresorhus.com> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
/* | |
* Normalized hide address bar for iOS & Android | |
* (c) Scott Jehl, scottjehl.com | |
* MIT License | |
*/ | |
(function( win ){ | |
var doc = win.document; | |
// If there's a hash, or addEventListener is undefined, stop here | |
if( !location.hash && win.addEventListener ){ |