This file contains hidden or 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
SELECT DISTINCT `matches`.`id` FROM `players` | |
INNER JOIN `league_registrations` ON (`league_registrations`.`player_id` = `players`.id OR second_player_id = `players`.`id`) | |
INNER JOIN `matches` ON (`matches`.`home_league_registration_id` = `league_registrations`.`id` OR `matches`.`away_league_registration_id` = `league_registrations`.`id`) | |
WHERE `players`.`id` = 113 | |
INTERSECT | |
SELECT DISTINCT `matches`.`id` FROM `players` | |
INNER JOIN `league_registrations` ON (`league_registrations`.`player_id` = `players`.id OR second_player_id = `players`.`id`) | |
INNER JOIN `matches` ON (`matches`.`home_league_registration_id` = `league_registrations`.`id` OR `matches`.`away_league_registration_id` = `league_registrations`.`id`) |
This file contains hidden or 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
362 | |
7830 | |
4445 | |
5261 | |
188 |
This file contains hidden or 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
+-----------+-------------+ | |
| player_id | opponent_id | | |
+-----------+-------------+ | |
| Austin | Desi | | |
| Desi | Austin | | |
+-----------+-------------+ | |
| Desi | Lance | | |
| Lance | Desi | | |
+-----------+-------------+ | |
| Austin | Lance | |
This file contains hidden or 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
var eventMap = { | |
mousemove: "move", | |
touchmove: "move", | |
mousedown: "down", | |
touchstart: "down", | |
mouseup: "up", | |
touchend: "up" | |
}; | |
function init () { |
This file contains hidden or 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
initialize = -> | |
canvas = $('#drawn').get 0 | |
window.c = canvas.getContext '2d' | |
$('#drawn').parent().append($('<canvas id="temp" height="'+canvas.height+'" width="'+canvas.width+'"></canvas>')) | |
window.d = $('#temp').get(0).getContext '2d' | |
window.c.lineJoin = d.lineJoin = "round" | |
window.c.lineCap = d.lineJoin = "round" | |
window.c.strokeStyle = d.strokeStyle = "#"+ghex | |
window.c.lineWidth = d.lineWidth = 1 |
This file contains hidden or 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
cal |
This file contains hidden or 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
class PostsController < ApplicationController | |
append_before_filter :false? | |
# ... Regular scaffold generated controller code | |
private | |
def false? | |
false | |
end | |
end |
This file contains hidden or 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
.hll { background-color: #ffffcc } | |
.c { color: #408080; font-style: italic } /* Comment */ | |
.err { border: 1px solid #FF0000 } /* Error */ | |
.k { color: #008000; font-weight: bold } /* Keyword */ | |
.o { color: #666666 } /* Operator */ | |
.cm { color: #408080; font-style: italic } /* Comment.Multiline */ | |
.cp { color: #BC7A00 } /* Comment.Preproc */ | |
.c1 { color: #408080; font-style: italic } /* Comment.Single */ | |
.cs { color: #408080; font-style: italic } /* Comment.Special */ | |
.gd { color: #A00000 } /* Generic.Deleted */ |
This file contains hidden or 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
My Job | |
I currently am a programmer for MityMo a small web development company that takes on big projects. | |
The Beginning | |
I have always had a love for solving puzzles, growing up I used to take things apart just so I could put them back together. I started programming writing scripts for a small bittorrent site in middle school. My script helped grab new linux distros for distribution. From their I quickly started to love writing code, I picked up php and html quickly to start writing server side code. From there I worked all small projects all through highschool experimenting in different languages but always maintaining a love and loyalty to web development. | |
The Middle | |
Finally I made it to Eckerd College. After bouncing around majors for a year I settled on Computer Science. I excelled networking, programming, and architecture. | |
I try to apply everything in my life to how I program. For the christmas of 2011 my dad my brother and I climbed Mt. Kilimanjaro together. Just like with programming I knew I had to |
This file contains hidden or 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: TextMate [96703] | |
Path: /Applications/TextMate.app/Contents/MacOS/TextMate | |
Identifier: com.macromates.textmate | |
Version: 1.5.10 (1623) | |
Code Type: X86 (Native) | |
Parent Process: launchd [129] | |
Date/Time: 2011-07-29 11:39:27.255 -0400 | |
OS Version: Mac OS X 10.6.8 (10K549) | |
Report Version: 6 |
OlderNewer