- Updated Resume?
PDF Resume - What is your availability?
My Availability Calendar(use my email at the top for invites)
I prefer scheduling meetings after 10am.
Please try to avoid unsolicited / unscheduled phone calls. - Are you looking for a new job?
Only in the Video Game industry. - What positions are you most interested in?
| $ = (function() { | |
| $ = function() { | |
| var args = _.toArray(arguments); | |
| var sequence = false; | |
| var func; | |
| if (args.length == 1 && _.isArray(args[0])) { | |
| sequence = true; | |
| } else { | |
| func = args.shift(); | |
| } |
| ControlMap.create InfantryPlayerInputControlMap | |
| ControlMap.addKeysToAxisMapping c_PIYaw IDFKeyboard IDKey_D IDKey_A 0 | |
| ControlMap.addKeysToAxisMapping c_PIThrottle IDFKeyboard IDKey_W IDKey_S 0 | |
| ControlMap.addButtonToTriggerMapping c_PIFire IDFMouse IDButton_0 0 0 | |
| ControlMap.addButtonToTriggerMapping c_PIFire IDFFalcon IDButton_0 0 1 | |
| ControlMap.addKeyToTriggerMapping c_PIAction IDFKeyboard IDKey_Space 10000 0 | |
| ControlMap.addKeyToTriggerMapping c_PIAltSprint IDFKeyboard IDKey_W 1000 0 | |
| ControlMap.addKeyToTriggerMapping c_PISprint IDFKeyboard IDKey_LeftShift 0 0 | |
| ControlMap.addKeyToTriggerMapping c_PIWeaponSelect1 IDFKeyboard IDKey_1 10000 0 | |
| ControlMap.addKeyToTriggerMapping c_PIWeaponSelect2 IDFKeyboard IDKey_2 10000 0 |
| /** | |
| * Facebook Timeline in CSS | |
| */ | |
| * { | |
| box-sizing: border-box; | |
| } | |
| body { | |
| background: #f06; | |
| background: linear-gradient(45deg, #fff, #fff); | |
| min-height:100%; |
| /** | |
| * focusOn - Focuses an input on scope event | |
| * | |
| * @example | |
| * <input focus-on="someEventName"> | |
| * or | |
| * <input focus-on="focus-row-{{$index}}"> | |
| * or | |
| * <p focus-on="anotherEvent"></p> | |
| * ... |
| /*** BAD: *** | |
| * Never put $scope.$apply() deep down a call stack | |
| * You may end up calling the same method inside a | |
| * $digest, and find yourself using $scope.$$phase | |
| * or $timeout to hack around it. | |
| */ | |
| setTimeout(function(){ | |
| a(); | |
| }) | |
| elm.bind('click', function(){ |
| <?php | |
| $con = mysqli_connect("localhost","root","","password"); | |
| if(isset($_GET['scan'])) { | |
| for($i=$_GET['scan'];$i<$_GET['scan']+10;$i++){ | |
| $string = file_get_contents('http://bash.org/?browse&p='.$i); | |
| preg_match_all('/<p class="quote"><a href="\?(\d+)".*?>\((-?\d+)\)<.*?<p class="qt">(.*?)<\/p>/si',$string,$matches); | |
| echo '<br>Page '.$i.':'; | |
| for($j=0;$j<count($matches[0]);$j++){ |
This document is designed to illustrate different examples of code complexity I've encountered and potential solutions to combat it. Code complexity can keep changing through the lifecycle of code, but one of my primary goals I try to keep in mind above all else is refactorability. No matter what, code will eventually become dated and need refactoring. Documentation, organization, cleanliness, unit tests are all aspects that help contribute to refactorable code. While quick prototypes and one-time use codebases will typically not be as concerned with code quality and complexity, long-lasting applications and libraries should be mindful of some of these anti patterns and work to reduce them when possible.
All of these are my own opinion and should not be treated as rules, just as suggestions.
In alphabetical order:
| # Path to your oh-my-fish. | |
| set fish_path $HOME/.oh-my-fish | |
| # Theme | |
| set fish_theme agnoster | |
| # Which plugins would you like to load? (plugins can be found in ~/.oh-my-fish/plugins/*) | |
| # Custom plugins may be added to ~/.oh-my-fish/custom/plugins/ | |
| # Path to your custom folder (default path is $FISH/custom) |
| <h1>Alert</h1> | |
| <p>Bootstrap JS</p> | |
| <div class="alert fade in"> | |
| <button type="button" class="close" data-dismiss="alert">×</button> | |
| <strong>Holy guacamole!</strong> Best check yo self, you're not looking too good. | |
| </div> | |
| <p></p><a ng-click="alert=true">Open Alert (AngularJS)</a></p> | |
| <div class="alert fade" ng-class="{in:alert}"> | |
| <button type="button" class="close" ng-click="alert=false">×</button> |