Skip to content

Instantly share code, notes, and snippets.

View brandonjank's full-sized avatar

Brandon Jank brandonjank

View GitHub Profile
FRAME:
HobbyKing X666 Glass Fiber Quadcopter Frame 666mm
http://www.hobbyking.com/hobbyking/store/uh_viewitem.asp?idproduct=24227
$17.50
-OR-
Turnigy Talon Carbon Fiber Quadcopter Frame 550mm
http://www.hobbyking.com/hobbyking/store/__22397__Turnigy_Talon_Carbon_Fiber_Quadcopter_Frame.html
$29.99
private Vector3 worldToIso(Vector3 point, int tileWidth, int tileHeight) {
gameCamera.unproject(point);
point.x /= tileWidth;
point.y = (point.y - tileHeight / 2) / tileHeight + point.x;
point.x -= point.y - point.x;
return point;
}
-- GOLBALS
H, T, P, D = 0, 0, 0, 0
-- WIFI SETUP
enduser_setup.start(
function()
print("Connected to wifi as:" .. wifi.sta.getip())
-- SYNC TIME
tmr.alarm(0, 1000, tmr.ALARM_SINGLE, function()
sntp.sync('192.168.1.1',
/*
* cs452-hw4.c
*
* Created: 3/1/2016 11:21:02 AM
* Author : Brandon Jank <[email protected]>
*
* Size of code in program: <from elf viewer>
*
*/
// Copyright (C) 2011-2015 Bossland GmbH
// See the file LICENSE for the source code's detailed license
using Buddy.BehaviorTree;
using DefaultCombat.Core;
using DefaultCombat.Helpers;
namespace DefaultCombat.Routines
{
internal class Marksmanship : RotationBase
# Ubuntu 14.04 LTS kickstart for XenServer
# branch: develop
##########################################
# Install, not upgrade
install
# Install from a friendly mirror and add updates
url --url http://us.archive.ubuntu.com/ubuntu/
class Submenu()
end
class "Main Menu"()
method newGame()
end
method closeGame()
end
method joinGame()
end
@brandonjank
brandonjank / nginx
Last active November 28, 2015 04:12
server {
listen 80;
server_name brandonjank.com www.brandonjank.com;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
server_name brandonjank.com www.brandonjank.com;
x += velocity * Math.cos(angle * Math.PI /180);
y += velocity * Math.sin(angle * Math.PI /180);
if (x < 0 || x > canvas.width) {
angle = 180 - angle;
}
else if (y < 0 ||y > canvas.height) {
angle = 360 - angle;
}
@brandonjank
brandonjank / keybase.md
Created November 22, 2015 08:38
keybase.md

Keybase proof

I hereby claim:

  • I am backburn on github.
  • I am bjank (https://keybase.io/bjank) on keybase.
  • I have a public key whose fingerprint is CF99 3D68 AC89 5F9E 4A2F 4A98 DED0 53AD AC4E 43E4

To claim this, I am signing this object: