Skip to content

Instantly share code, notes, and snippets.

View captainpainway's full-sized avatar
💻

Mary Knize captainpainway

💻
View GitHub Profile
I am attesting that this GitHub handle captainpainway is linked to the Tezos account tz1LY9b5ieyaypmhFQdVViCzRG1ux9J86Yoa for tzprofiles
sig:edsigte1UoxhAZJrsBaNe6V2Bn92KF5ybFg2BMFuKANfNgQJxiqiQZkjTeJngmSDhd7rhkoBr5ZRM5UktBXMMGjDm1aZWhsxPGi
@captainpainway
captainpainway / index.html
Last active April 11, 2021 00:24
Neon Mountains | three.js | https://youtu.be/Obu0TBOueeQ
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Neon Mountains</title>
<script src="js/script.js" type="module" defer></script>
<style>
body {
overflow: hidden;
margin: 0;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Falling Stars</title>
<script src="js/p5.min.js"></script>
<script src="js/script.js"></script>
<style>
body {
overflow: hidden;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>cubes</title>
<script src="js/three.min.js"></script>
<script src="js/script.js" defer></script>
<style>
body {
overflow: hidden;
@captainpainway
captainpainway / index.html
Last active April 7, 2021 19:02
Rainbow Waves | P5, JavaScript | https://youtu.be/kEyxMAR0aI8
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Rainbow Waves</title>
<script src="p5.min.js"></script>
<script src="script.js"></script>
<style>
body {
overflow: hidden;
#!/bin/bash
echo -e "Image title?"
read title
echo -e "Description?"
read desc
echo -e "Location?"
read loc
echo -e "Date as YYYY:MM:DD HH:MM:SS?"
read date
@captainpainway
captainpainway / wordcount.py
Created September 22, 2018 16:57
Parse text, convert to lowercase, remove punctuation, and tally word frequency.
#!/usr/bin/env python
# Clean text of punctuation, convert to lowercase, count the number of instances of each word, then sort by frequency.
# Intended for non-English text.
# ./wordcount.py [input filename] [export filename]
import sys, re, string, argparse
from collections import OrderedDict
file = open(sys.argv[1], "r")

Keybase proof

I hereby claim:

  • I am captainpainway on github.
  • I am mknize (https://keybase.io/mknize) on keybase.
  • I have a public key ASABZmC2So_w9_ArfSxb4e9h_LBjoD8aJdUefKKpSt2TNgo

To claim this, I am signing this object:

Canvas companion cube

A Portal companion cube made in canvas. Not bad for a first canvas project!

A Pen by Mary Knize on CodePen.

License.

Rainbow text animation

Simple color-changing text animation in CSS. Inspired by a color-changing fiber optic light I had as a kid.

A Pen by Mary Knize on CodePen.

License.