Skip to content

Instantly share code, notes, and snippets.

View monarrk's full-sized avatar
:bowtie:
swag

Skye Bleed monarrk

:bowtie:
swag
View GitHub Profile
fun main() {
val name = "skye" // that's me
println("Hello, $name") // => "Hello, skye"
// create a mutable variable
var x = 10
// print 10 - 0
while (x >= 0) {
println(x)
x -= 1
static mut devs: [Option<Device>; 8] = [None; 8];
static mut blockdevs: [Option<BlockDevice>; 8] = [None; 8];
pub unsafe fn init() -> Result<&'static [Option<BlockDevice>], ()> {
let baseports: [PortConfig; 8] = [
PortConfig { port: 0x1F0, is_master: true },
PortConfig { port: 0x1F0, is_master: false },
PortConfig { port: 0x170, is_master: true },
PortConfig { port: 0x170, is_master: false },
PortConfig { port: 0x1E8, is_master: true },
#!/usr/bin/env bash
#
# FRC USB Connection Kit - A tool for easily sending files back and forth offline for FRC scouting (Windoes Edititon)
#
# Print an error message and return code 1
fail() {
printf "\e[31mERROR!:\e[0m %s\n" "$1"
exit 1
pub fn put(c: u8) void {
const bytesPerLine = (Font.width + 7) / 8;
var offset: usize = (row * Font.height * Pitch) + (column * (Font.width + 1) * 4);
var idx: usize = 0;
switch(c) {
'\r' => {
for ("\nREADY:> ") |d|
put(d);
},
'\n' => {
/*
* EZPZ way 2 mk a ANDROID counter (0f numb3rs) + control it w/o having 2 use lots of boilerplate c0de :)
* Copyright (c) SKYLAR BLEED, 2069
*
* THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES,
* INCLUDING, BUT NOT LIMITED TO, NOT BREAKING YOUR STUFF WITH THIS
* AND BREAKING COMPUTERS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* BREAKING YOUR SHIT; LOSS OF BRAIN CELLS WHILE CONTRIBUTING;
openssl genrsa -des3 -out private.pem 2048
openssl rsa -in private.pem -outform PEM -pubout -out public.pem