This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
"011B777", | |
"01sandyshook", | |
"0311mcp", | |
"0ctoberReignz", | |
"0foks", | |
"0ryuge", | |
"0xOliverWong31", | |
"10_03_23_ABC", | |
"10k__gold", |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For easily managing your SSH identity for github. | |
# | |
# 1. Source this script in your .profile or .bashrc | |
# 2. Run `git config user.identity=/path/to/keyfile` in each repository you want to be using a non-default SSH identity | |
# 3. Git around as usual. | |
function git() { | |
local git="$(which git)" | |
local cmd=("$git" "${@}") | |
local ident="$("$git" config user.identity)" |
I hereby claim:
- I am fordi on github.
- I am fordiman (https://keybase.io/fordiman) on keybase.
- I have a public key ASBlGL04vAv2m8ZfucjiLx4YD7hZmjqlgmY_2KJu_eY9BAo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Stepper.h> | |
#include <math.h> | |
#include <Servo.h> | |
#include <Wire.h> | |
#include <Adafruit_GFX.h> | |
#include <Adafruit_SSD1306.h> | |
#include <stdint.h> | |
#define SCREEN_WIDTH 128 // OLED display width, in pixels | |
#define SCREEN_HEIGHT 32 // OLED display height, in pixels |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
const getPixels = require('get-pixels'); | |
const { basename } = require('path'); | |
const { writeFile } = require('fs/promises'); | |
const pixels = async src => new Promise((resolve, reject) => { | |
getPixels(src, (err, pixels) => { | |
if (err) return reject(err); | |
return resolve(pixels); | |
}); |
Proposed minimum wage, designed to align political goals.
Mw = Mi * (GDP + Fm - Fb) / (HY * (GDP + Fm))
Mi = US average Income (as of 2021, $61372)
GDP = Gross Domestic Product (as of 2021, $21.43T)
Fb = US Budget total expenditures (as of 2021, $4.79T)
Fm = US Military expenditures (as of 2021, $778B)
HY = Working hours / year, or 1980, assuming 15 holidays
Mw = Minimum wage, in USD / hr (given equation and current values, $22.94, or $6.82 in 1980 dollars)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This file will reduce the size of and improve the performance of certain arduino code | |
* 1. It strips away about 310 bytes of overhead by replacing the implicit main function with a minimal one (which will also be faster) | |
* 2. It replaces the library `pinMode` and `digitalWrite` code with register-based variants - saving 120 | |
* bytes - and which which perform faster than the built-ins for single-pin changes (for multi-pin changes, | |
* use the registers yourself). | |
*/ | |
#ifndef ECON_101 | |
#define ECON_101 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<script> | |
window.AudioContext = window.AudioContext || window.webkitAudioContext; | |
var context = new AudioContext(); | |
function playSound(arr) { | |
var buf = new Float32Array(arr.length) |
NewerOlder