Verify boot mode if UEFI
ls /sys/firmware/efi/efivars
Check for network connectivity
ip link
ping archlinux.org
Verify boot mode if UEFI
ls /sys/firmware/efi/efivars
Check for network connectivity
ip link
ping archlinux.org
// total width (in mm) of the box | |
boxWidth = 50; | |
// total length (in mm) of the box | |
boxLength = 80; | |
// total height (in mm) of the box | |
boxHeight = 30; | |
// total thickness (in mm) of the walls |
A quick way to identify what to input for hotkeys.
hotkeys.js
const readline = require('node:readline');
const readlinePromises = require('node:readline/promises');
const rl = readlinePromises.createInterface({
// Grove_4Digital_Display library | |
#include <TM1637.h> | |
int VREAD = 0; | |
int CLK = 8; | |
int DIO = 7; | |
float vout = 0.0; | |
float vin = 0.0; | |
float R1 = 100000.0; |
#include <TM1637.h> | |
// pins | |
int leftPin = 2; | |
int rightPin = 5; | |
int resetPin = 8; | |
// display | |
int clk = 11; | |
int dio = 12; |
The bot (@braddock_canvas) does two things:
To get upcoming assignments, you must tag the bot and include two things: the course and the type of assignment. Note: options are not case sensitive.
Options for courses include:
body { | |
width: 600px; | |
background-color: #F1F1D4; | |
} | |
#timer { | |
font-size: 100px; | |
text-align: right; | |
margin-top: -35px; | |
} |
const input = [1,0,0,3,1,1,2,3,1,3,4,3,1,5,0,3,2,9,1,19,1,9,19,23,1,23,5,27,2,27,10,31,1,6,31,35,1,6,35,39,2,9,39,43,1,6,43,47,1,47,5,51,1,51,13,55,1,55,13,59,1,59,5,63,2,63,6,67,1,5,67,71,1,71,13,75,1,10,75,79,2,79,6,83,2,9,83,87,1,5,87,91,1,91,5,95,2,9,95,99,1,6,99,103,1,9,103,107,2,9,107,111,1,111,6,115,2,9,115,119,1,119,6,123,1,123,9,127,2,127,13,131,1,131,9,135,1,10,135,139,2,139,10,143,1,143,5,147,2,147,6,151,1,151,5,155,1,2,155,159,1,6,159,0,99,2,0,14,0]; | |
const a = [...input]; | |
a[1] = 12; | |
a[2] = 2; | |
let i = 0; | |
do { | |
if (a[i] === 1) a[a[i + 3]] = a[a[i + 1]] + a[a[i + 2]]; | |
else if (a[i] === 2) a[a[i + 3]] = a[a[i + 1]] * a[a[i + 2]]; |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Race Timer</title> | |
<link href="https://fonts.googleapis.com/css2?family=Major+Mono+Display&display=swap" rel="stylesheet"> | |
<style> | |
body { | |
font-family: 'Major Mono Display', monospace; | |
background-color: black; |