Skip to content

Instantly share code, notes, and snippets.

View lee2sman's full-sized avatar

Lee T lee2sman

  • W/O/R/L/D/W/I/D/E
View GitHub Profile
@lee2sman
lee2sman / keybase.md
Created November 21, 2017 19:12
Keybase proof

Keybase proof

I hereby claim:

  • I am lee2sman on github.
  • I am notapipe (https://keybase.io/notapipe) on keybase.
  • I have a public key ASCfKPQ-6C1H9xBLZiNOqsMm-VHwdYF5oGEfd4POFrqYfgo

To claim this, I am signing this object:

@lee2sman
lee2sman / bleh.js
Last active December 9, 2017 05:47
grayyydient
var colors = new Array(
[62,35,255],
[60,255,60],
[255,35,98],
[45,175,230],
[255,0,255],
[255,128,0]);
var step = 0;
//color table indices for:
@lee2sman
lee2sman / basic_text_editor.html
Created January 19, 2018 00:37
a text editor in your browser
data:text/html, <title>Text Editor</title><body contenteditable style=" font-size:2rem; line-height:1.4; max-width: 60rem; margin: 0 auto; padding: 4rem; background: black; color: #adebad;">
@lee2sman
lee2sman / stations.csv
Last active June 3, 2023 18:41
My pyradio stations, located at /Users/2sman/.config/pyradio/stations.csv
Deep Space One: A soundtrack for inner and outer space exploration http://somafm.com/deepspaceone.pls
Space Station Soma: Spaced-out ambient and mid-tempo electronica http://somafm.com/spacestation.pls
Drone Zone: Atmospheric textures with minimal beats http://somafm.com/dronezone.pls
DEF CON Radio: Music for Hacking http://somafm.com/defcon.pls
Sonic Universe: Transcending the world of jazz http://somafm.com/sonicuniverse192.pls
Fluid: Drown in the electronic sound of instrumental hiphop future soul and liquid trap http://somafm.com/fluid130.pls
Cliqhop IDM: Blips n beeps backed mostly w/beats http://somafm.com/cliqhop.pls
NTS Radio Infinite Mixtapes - Slow Focus https://stream-mixtape-geo.ntslive.net/mixtape
Ambient Art Foundation-Romania http://185.80.220.12:2199/tunein/ambientart.pls
@lee2sman
lee2sman / terrain_generator_p5.js
Created April 3, 2018 08:30
a very simple terrain generator in p5js
let rows = 16, cols = 9, xStep, yStep;
let c = ['DeepSkyBlue','forestgreen','Sienna','BurlyWood'];
function setup() {
createCanvas(windowWidth, windowHeight);
xStep = width/cols;
yStep = height/rows;
@lee2sman
lee2sman / pandoc.css
Created August 2, 2018 18:10 — forked from killercup/pandoc.css
Add this to your Pandoc HTML documents using `--css pandoc.css` to make them look more awesome. (Tested with Markdown and LaTeX.)
/*
* I add this to html files generated with pandoc.
*/
html {
font-size: 100%;
overflow-y: scroll;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
window.addEventListener('keydown', (event) => {
if(event.key === 'ArrowLeft' ||
event.key === 'ArrowRight' ||
event.key === 'ArrowDown' ||
event.key === 'ArrowUp') {
event.preventDefault();
}
@lee2sman
lee2sman / index.html
Created October 18, 2018 05:51
Basic (emphasis on the basic) dropdown menu example using HTML and CSS no JS
<!DOCTYPE html>
<!-- for Wyatt / Oct 18 2018 -->
<html>
<head>
<style>
body {
font: 15px arial, sans-serif;
background-color: #ffcccc
}
@lee2sman
lee2sman / starter.css
Created January 30, 2019 02:11
ultra-minimalist mobile-responsive starter css code
/* created for students of Purchase College-Math/Comp Sci Scripting For The Web course */
body {
font-family: sans-serif;
font-size: 1.2rem;
line-height: 1.65em;
max-width: 38em;
margin: auto;
color: #4a4a4a;
padding: 13px;
}
@lee2sman
lee2sman / game.txt
Last active March 16, 2019 23:23
plingpling
{"gameTitle":"Hamberpinball","winText":"Congratulations. You successfully played with yer food.","gameLink":"www.plingpling.org","canvasIndex":0,"canvasses":[[270,"0",2,"f",122,"0",1,"f",2,"0",1,"f",120,"0",1,"f",4,"0",1,"f",87,"0",1,"6",3,"0",1,"6",27,"0",1,"f",4,"0",1,"f",88,"0",1,"6",1,"0",1,"6",29,"0",1,"f",2,"0",1,"f",90,"0",1,"6",31,"0",2,"f",90,"0",1,"6",1,"0",1,"6",121,"0",1,"6",3,"0",1,"6",318,"0",6,"b",118,"0",8,"b",118,"0",6,"b",1,"2",118,"0",7,"2",117,"0",1,"2",1,"0",6,"2",116,"0",9,"2",116,"0",10,"2",116,"0",9,"2",116,"0",9,"2",116,"0",9,"2",116,"0",9,"2",22,"0",18,"e",76,"0",9,"2",20,"0",3,"e",16,"3",2,"e",75,"0",9,"2",19,"0",2,"e",19,"3",2,"e",74,"0",9,"2",19,"0",1,"e",6,"3",5,"a",10,"3",2,"e",73,"0",10,"2",17,"0",2,"e",2,"3",17,"a",3,"3",2,"e",72,"0",10,"2",17,"0",1,"e",2,"3",19,"a",3,"3",1,"e",72,"0",10,"2",17,"0",1,"e",2,"3",19,"a",3,"3",1,"e",72,"0",11,"2",16,"0",1,"e",3,"3",17,"a",1,"b",3,"3",1,"e",28,"0",1,"c",3,"0",1,"c",4,"0",1,"c",34,"0",11,"2",16,"0",1,"e",9,"3",10,"a",5,"3",1,"e",27,