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
/* | |
* cs452-hw4.c | |
* | |
* Created: 3/1/2016 11:21:02 AM | |
* Author : Brandon Jank <[email protected]> | |
* | |
* Size of code in program: <from elf viewer> | |
* | |
*/ |
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
-- 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', |
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
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; | |
} |
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
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 | |
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
NDefines.NEconomy.START_ENERGY = 50.0; -- The amount of money each country starts with 50.0 | |
NDefines.NEconomy.START_INFLUENCE = 100.0; -- The amount of influence each country starts with 100.0 | |
NDefines.NEconomy.START_MINERALS = 200.0; -- The amount of minerals each country starts with 200.0 | |
NDefines.NGameplay.BASE_MONTHLY_INFLUENCE = 5; -- Base Influence gained per month (3) | |
NDefines.NGameplay.BASE_MONTHLY_MINERALS = 20; -- Base Minerals gained per month (0) | |
NDefines.NGameplay.BASE_MONTHLY_PHYSICS = 20; -- Base Physics gained per month (5) | |
NDefines.NGameplay.BASE_MONTHLY_SOCIETY = 20; -- Base Society gained per month (5) | |
NDefines.NGameplay.BASE_MONTHLY_ENGINEERING = 20; -- Base Engineering gained per month (5) | |
NDefines.NGameplay.BASE_MONTHLY_ENERGY = 20; -- Base Energy gained per month (0) |
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
#!/bin/bash | |
echo "Configuring ALSA mixer for the DR-1X..." | |
sudo amixer -c udrc -s << EOF | |
# If you change your level settings, make a new script, save, and run it | |
# Set input and output levels to 0dB | |
sset 'ADC Level' -5.5dB | |
sset 'LO Driver Gain' 0.0dB | |
sset 'PCM' 0.0dB |
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
-- Beast Mastery Hunter DPS Rotation | |
-- Legion 7.1 - 12/4/2016 | |
local function resting() | |
-- PET MANAGEMENT | |
if pet.exists then | |
if pet.dead and player.castable('Revive Pet') then | |
return player.cast('Revive Pet') | |
elseif pet.alive and pet.health.percent < 90 and player.castable('Mend Pet') then | |
return player.cast('Mend Pet') |
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
-- Beast Mastery Hunter DPS Rotation | |
-- Legion 7.1 - 12/11/2016 | |
--- COMBAT ROTATION | |
local function combat() | |
-- PAUSES | |
if -player.buff(SB.FeignDeath) or target.is(player) or player.channeling or IsMounted() or IsAoEPending() or UnitControllingVehicle("player") then | |
return false | |
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
/* Calculator Assignment 5 | |
* | |
* A simple calculator program controlled program, controlled by a menu and | |
* divided into separate functions. | |
* | |
* Name: Brandon Jank | |
* Section: CS 120-05 | |
* Due Date: 10/06/2014 | |
* Assignment #5 | |
* |
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
/* Lab Assignment #4 | |
* Name: Brandon Jank | |
* Due: February 19th, 2015 | |
* | |
* A basic Reverse Polish Notation (RPN) Calculator that implements basic | |
* math functions. | |
* | |
* Date Created: February 16th, 2015, 12:21 PM | |
* Date Modified: February 18th, 2015, 6:40 PM | |
*/ |