Skip to content

Instantly share code, notes, and snippets.

View zachkrall's full-sized avatar

Zach Krall zachkrall

View GitHub Profile
That can I.
At least, the whisper goes so. Our last king,
Whose image even but now appear'd to us,
Was, as you know, by Fortinbras of Norway,
Thereto prick'd on by a most emulate pride,
Dar'd to the combat; in which our valiant Hamlet
(For so this side of our known world esteem'd him)
Did slay this Fortinbras; who, by a seal'd compact,
Well ratified by law and heraldry,
Did forfeit, with his life, all those his lands
@zachkrall
zachkrall / frankenstein-letter-1.txt
Created April 15, 2023 00:01
Frankenstein - Letter 1
Letter 1
_To Mrs. Saville, England._
St. Petersburgh, Dec. 11th, 17—.
You will rejoice to hear that no disaster has accompanied the
commencement of an enterprise which you have regarded with such evil
@zachkrall
zachkrall / cars.json
Created February 16, 2023 17:04
cars-observable-plot-example-data-set
[
{
"name": "AMC Ambassador Brougham",
"economy (mpg)": 13,
"cylinders": 8,
"displacement (cc)": 360,
"power (hp)": 175,
"weight (lb)": 3821,
"0-60 mph (s)": 11,
"year": 73
@zachkrall
zachkrall / index.html
Last active August 31, 2019 00:36
doorbot
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
<title>RC Doorbot</title>
<link href="/static/doorbot_16.png" rel="icon" type="image/png" sizes="16x16">
<link href="/static/doorbot_32.png" rel="icon" type="image/png" sizes="32x32">
<link href="/static/doorbot_48.png" rel="icon" type="image/png" sizes="48x48">
@zachkrall
zachkrall / tictactoe.js
Created March 26, 2019 18:14
Recurse Center | Tic Tac Toe
const readline = require('readline');
const rl = readline.createInterface({
input: process.stdin,
output: process.stdout
});
// https://nodejs.org/api/readline.html#readline_rl_question_query_callback
const computerToken = 'O';
const playerToken = 'X';
@zachkrall
zachkrall / blend-images.js
Created December 15, 2018 18:25
hydra - blending images
var image1 = document.createElement('img');
image1.src = ''; // IMAGE SOURCE GOES HERE
image1.width = document.innerWidth;
image1.height = document.innerHeight;
s0.init({src: image1 });
var image2 = document.createElement('img');
image2.src = ''; // IMAGE SOURCE GOES HERE
image2.width = document.innerWidth;
image2.height = document.innerHeight;
@zachkrall
zachkrall / arduino.ino
Created October 8, 2018 16:38
CCLAB 10/03/18 - Arduino and Processing test with potentiometer
int sensorPin = A0;
void setup() {
Serial.begin(9600);
}
void loop() {
{"emoji":["😀","😃","😄","😁","😆","😅","😂","🤣","☺️","😊","😇","🙂","🙃","😉","😌","😍","😘","😗","😙","😚","😋","😜","😝","😛","🤑","🤗","🤓","😎","🤡","🤠","😏","😒","😞","😔","😟","😕","🙁","☹️","😣","😖","😫","😩","😤","😠","😡","😶","😐","😑","😯","😦","😧","😮","😲","😵","😳","😱","😨","😰","😢","😥","🤤","😭","😓","😪","😴","🙄","🤔","🤥","😬","🤐","🤢","🤧","😷","🤒","🤕","😈","👿","👹","👺","💩","👻","💀","☠️","👽","👾","🤖","🎃","😺","😸","😹","😻","😼","😽","🙀","😿","😾","👐","🙌","👏","🙏","🤝","👍","👎","👊","✊","🤛","🤜","🤞","✌️","🤘","👌","👈","👉","👆","👇","☝️","✋","🤚","🖐","🖖","👋","🤙","💪","🖕","✍️","🤳","💅","💍","💄","💋","👄","👅","👂","👃","👣","👁","👀","🗣","👤","👥","👶","👦","👧","👨","👩","👱‍♀","👱","👴","👵","👲","👳‍♀","👳","👮‍♀","👮","👷‍♀","👷","💂‍♀","💂","🕵️‍♀️","🕵","👩‍⚕","👨‍⚕","👩‍🌾","👨‍🌾","👩‍🍳","👨‍🍳","👩‍🎓","👨‍🎓","👩‍🎤","👨‍🎤","👩‍🏫","👨‍🏫","👩‍🏭","👨‍🏭","👩‍💻","👨‍💻","👩‍💼","👨‍💼","👩‍🔧","👨‍🔧","👩‍🔬","👨‍🔬","👩‍🎨","👨‍🎨","👩‍🚒","👨‍🚒","👩‍✈","👨‍✈","👩‍🚀","👨‍🚀","👩‍⚖","👨‍⚖","🤶","🎅","👸","🤴","👰","🤵","👼","🤰","🙇‍♀","🙇","💁","💁‍♂","🙅","🙅‍♂","🙆","🙆‍♂","🙋","🙋‍♂","🤦‍♀","🤦‍♂","🤷‍♀","🤷‍♂","🙎","🙎‍♂","🙍","🙍‍♂","💇","💇‍♂","💆","💆‍♂","🕴","💃","🕺","👯",
@zachkrall
zachkrall / index.html
Created May 8, 2018 20:46
Test Email Sample // source https://jsbin.com/gujoliv
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Test Email Sample</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<style>
*{
margin:0 auto;padding:0;
}
@zachkrall
zachkrall / delete-channel-messages.js
Created February 8, 2018 15:12 — forked from firatkucuk/delete-slack-messages.js
Deletes slack public/private channel messages.
var https = require('https');
// CONFIGURATION #######################################################################################################
var token = 'SLACK TOKEN';
var channel = 'CHANNEL ID';
var privateChannel = false;
var delay = 300; // delay between delete operations in millisecond
// GLOBALS #############################################################################################################