Skip to content

Instantly share code, notes, and snippets.

View austinbv's full-sized avatar
🎯
Focusing

Austin austinbv

🎯
Focusing
View GitHub Profile
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`)
362
7830
4445
5261
188
+-----------+-------------+
| player_id | opponent_id |
+-----------+-------------+
| Austin | Desi |
| Desi | Austin |
+-----------+-------------+
| Desi | Lance |
| Lance | Desi |
+-----------+-------------+
| Austin | Lance |
var eventMap = {
mousemove: "move",
touchmove: "move",
mousedown: "down",
touchstart: "down",
mouseup: "up",
touchend: "up"
};
function init () {
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
class PostsController < ApplicationController
append_before_filter :false?
# ... Regular scaffold generated controller code
private
def false?
false
end
end
.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 */
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
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