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
#!/bin/bash | |
# to install, download this file to /usr/local/bin and make sure the execute bit is enabled. | |
highlight -O xterm256 $1 |
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
import java.util.Objects; | |
import java.util.concurrent.atomic.AtomicInteger; | |
import java.util.concurrent.TimeUnit; | |
import java.util.function.Consumer; | |
/** | |
* Lightweight lambda-based async. Tasks can be chained together using | |
* {@link #andThen(AsyncTask, long)}, with a delay between them. | |
* | |
* If you don't want arguments, make T {@link Void}, then pass null to |
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 org.firstinspires.ftc.teamcode; | |
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; | |
import com.qualcomm.robotcore.eventloop.opmode.TeleOp; | |
import com.qualcomm.robotcore.hardware.DcMotor; | |
import com.qualcomm.robotcore.hardware.Servo; | |
/** | |
* Created by Administrator on 9/29/2017. | |
*/ |