This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public Vector<Integer> dd() { | |
Vector<Integer> output = new Vector<Integer>(); | |
// create a list of the answers | |
ArrayList<Integer> todo = new ArrayList<Integer>(); | |
for (int i=0;i<answers.length ;i++ ) { | |
todo.add(answers[i]); | |
} | |
// call dijkstra on the first answer, looking for only the remaining answers | |
int currentValue=1; | |
while (todo.size()>0) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Author: E. Travers | |
; Date: 3/2010 | |
.586 | |
.MODEL FLAT | |
INCLUDE io.h ; header file for input/output | |
.STACK 4096 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function() { | |
$("#theidofthebutton").click(function(){ | |
$("#thepants").show(); | |
}); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sites: | |
instapaper.com (simple bookmarking for putting links off till later) | |
delicious.com (taggable bookmarking for saving links forever) | |
google.com/voice (managing all your phones, free texting, transcriptions) | |
google.com/reader (RSS reader) | |
gmail.com (mail) | |
stackoverflow.com (best source of help for programming) | |
dropbox.com (getting at my files on teh go) | |
dimdim.com (better than gotomeeting, less annoying, free) | |
http://myfav.es/ (good start page with keyboard shortcuts) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(dribble "output") | |
(print "testing hextodec") | |
(load "hextodec") | |
(print (hextodec '(a))) | |
(print (hextodec '(1 f))) | |
(print (hextodec '(5 a 6 b 7 c 8 d 9 e))) | |
(print "testing perfect") | |
(load "perfect") | |
(print (perfect 6)) | |
(print (perfect 298)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdlib.h> | |
#include <stdio.h> | |
#include <math.h> | |
int getCard(); | |
int stnd(int, int, int, int, int); | |
int dubl(int, int, int, int, int); | |
int hitd(int, int, int, int, int); | |
/* Params: (1) Your card, (2) Your card, (3) Dealer up, (4) number of iterations, (5) [optional] seed value */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==> Build Environment | |
CC: /usr/bin/cc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2 | |
CXX: /usr/bin/c++ => /usr/bin/c++-4.2 | |
LD: /usr/bin/cc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2 | |
CFLAGS: -O3 -march=core2 -msse4.1 -w -pipe | |
CXXFLAGS: -O3 -march=core2 -msse4.1 -w -pipe | |
CPPFLAGS: -I/usr/local/Cellar/readline/6.1/include | |
LDFLAGS: -L/usr/local/Cellar/readline/6.1/lib | |
MAKEFLAGS: -j2 | |
PKG_CONFIG_PATH: /usr/local/Cellar/readline/6.1/lib/pkgconfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You changed your cc to symlink to llvm. | |
This bypasses LLVM checks, and some formulae may mysteriously fail to work. | |
You may want to change /usr/bin/cc to point back at gcc. | |
To force Homebrew to use LLVM, you can set the "HOMEBREW_LLVM" environmental | |
variable, or pass "--use-llvm" to "brew install". | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
100 Suns by 30 Seconds To Mars from This Is War | |
Attack by 30 Seconds To Mars from A Beautiful Lie | |
Indian Summer Sky by U2 from The Unforgettable Fire | |
Broussard's Lament by Sarah Jarosz from Song Up In Her Head | |
This Too Shall Pass by OK Go from Of the Blue Colour of the Sky | |
Wonders Never Cease by Morcheeba from The Antidote | |
Black Magic by Magic Wands from Unknown Album | |
Fortuna by Kaki King from Everybody Loves You | |
I Don't Want to Set the World on Fire by The Ink Spots from The Anthology | |
Pitter-Pat by Erin McCarley from Pitter-Pat (Acoustic) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Process: iTunes [384] | |
Path: /Applications/iTunes.app/Contents/MacOS/iTunes | |
Identifier: com.apple.iTunes | |
Version: 10.5 (10.5b27) | |
Build Info: iTunes-10502701~1 | |
Code Type: X86 (Native) | |
Parent Process: launchd [153] | |
Date/Time: 2011-06-11 14:10:41.168 -0500 | |
OS Version: Mac OS X 10.6.7 (10J869) |
OlderNewer