This file contains 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
package com.bluemedora; | |
public class Main { | |
public static void main(String[] args) { | |
/* ------------------------------------------------------------------------------------------------------------- | |
* The Game | |
* A single grand prize is behind Door A, B, or C. The other two doors have a goat behind them. | |
* | |
* 1 - Host randomly puts a grand prize behind a single door and a goat behind the other two doors. | |
* 2 - Contestant picks door A, B, or C |
This file contains 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
@TeleOp(name="KickoffAutonomous") | |
public class KickoffAutonomous extends OpMode { | |
DcMotor left1, left2, right1, right2; | |
ElaspedTime timer = new ElapsedTime(); | |
@Override | |
public void init() { | |
left1 = hardwareMap.dcMotor.get("left1"); | |
left2 = hardwareMap.dcMotor.get("left2"); | |
right1 = hardwareMap.dcMotor.get("right1"); |
This file contains 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
@TeleOp(name="KickoffTeleop!") | |
public class KickoffTeleop extends OpMode { | |
DcMotor left1, left2, right1, right2; | |
@Override | |
public void init() { | |
left1 = hardwareMap.dcMotor.get("left1"); | |
left2 = hardwareMap.dcMotor.get("left2"); | |
right1 = hardwareMap.dcMotor.get("right1"); | |
right2 = hardwareMap.dcMotor.get("right2"); |
This file contains 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
export POW_EXT_DOMAINS=gpat.atomicobject.localnet | |
export POW_TIMEOUT=28800 |
This file contains 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
alias al="tail -f log/development.log" | |
alias restart="touch tmp/restart.txt" |
This file contains 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
└── .pow | |
├── default -> /Users/greg/git/ddot/ddot | |
├── ddot -> /Users/greg/git/ddot/ddot | |
├── aotools -> /Users/greg/git/aotools | |
└── kidtelligent -> /Users/greg/git/kidtelligent |
This file contains 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
config PKG_RUBY | |
depends CAP_HAS_MMU | |
bool "ruby" | |
help | |
An interpreter of object-oriented scripting language |
This file contains 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
require 'sinatra' | |
set :public, File.dirname(__FILE__) + '/www' |
This file contains 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
$LOAD_PATH << File.expand_path(File.dirname(__FILE__)) | |
require 'app' | |
run Sinatra::Application |
This file contains 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
watch /src\/.*\.haml/ do |md| `thor convert:haml` end | |
watch /src\/.*\.rb/ do |md| `thor convert:haml` end | |
watch /src\/.*\.scss/ do |md| `thor convert:sass` end | |
watch /src\/.*\.sass/ do |md| `thor convert:sass` end | |
watch /src\/.*\.coffee/ do |md| `thor convert:coffee` end |
NewerOlder