Skip to content

Instantly share code, notes, and snippets.

View DomenicP's full-sized avatar

Domenic Rodriguez DomenicP

View GitHub Profile
@DomenicP
DomenicP / tmux_local_install.sh
Last active September 21, 2016 03:01 — forked from ryin/tmux_local_install.sh
bash script for installing tmux without root access
#!/bin/bash
# Script for installing tmux on systems where you don't have root access.
# tmux will be installed in $HOME/local/bin.
# It's assumed that wget and a C/C++ compiler are installed.
#
# 9-14-16
#
# Updated for tmux 2.2, libevent 2.0.22, and ncurses 6.0
//
// Copy and paste this code into the online ide at https://www.codechef.com/ide to test
//
class GyroTest {
public static void main(String[] args) {
Robot myRobot = new Robot(true);
myRobot.run();
Robot otherRobot = new Robot(false);
@DomenicP
DomenicP / EncoderExample.java
Created October 31, 2013 16:03
Simple example of a FRC robot program that drives a robot with encoders during autonomous.
/*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2008. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project. */
/*----------------------------------------------------------------------------*/
package org.lunatecs316.frc;
import edu.wpi.first.wpilibj.CounterBase.EncodingType;