Skip to content

Instantly share code, notes, and snippets.

View pbriggs28's full-sized avatar

sudo rm -rf / pbriggs28

View GitHub Profile
public static void main(String[] args) {
try {
File file = new File("test.txt");
System.out.println(file.length());
} catch (Exception e) {
}
}
package com.team2073.common.util;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.File;
import java.util.*;
public class LogFileCleaner {
@Override
public void teleopPeriodic() {
// Set buttonCurr
// Check if a press JUST started
// If so, reset timer