Skip to content

Instantly share code, notes, and snippets.

View devsamuelv's full-sized avatar
🌊
Bit surfing

Samuel Villegas devsamuelv

🌊
Bit surfing
View GitHub Profile
@devsamuelv
devsamuelv / kickoff_counter.py
Created November 30, 2021 02:59
Time Until FRC Kickoff
import datetime
import dateutil.rrule
today = datetime.datetime.today()
kickoff = datetime.datetime(2022, 1, 8, 11, 30)
untill = kickoff - today
print(str(untill.days) + "." + str(untill.seconds))
@devsamuelv
devsamuelv / hello_world_cc.lua
Created July 18, 2021 03:32
Computer Craft Hello World
local global_init = true
local lastTorch = 0
local currentTorch = 0
local totalSlots = 16
local currentSlot = 1
function attack()
turtle.attack()
end