- CREATIVE CODING WOO
- Randomness
- flocking
View creative-coding.org
View merge-fonts.sh
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/local/bin/fontforge | |
Open($1) | |
MergeFonts($2) | |
Generate($3) |
View setup.org
Following needs to be root: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Ubuntu stuff
- ln -s “/mnt/c/Users/EdwardsJ/Documents/src” /home/jessica/src
- share src directories
ssh
- ssh-keygen -C “email@sample.com”
View generate-url.js
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
// in case something expects http(s)://, and not // | |
const generateUrl = string => new URL(string, window.location.href) |
View generate-slug.js
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
export const getSlug = string => | |
string | |
.match(/(?:['\w])+/g) | |
.join("-") | |
.replace(/'/g, "") | |
.toLowerCase() |
View keybase.md
Keybase proof
I hereby claim:
- I am jsscclr on github.
- I am jsscclr (https://keybase.io/jsscclr) on keybase.
- I have a public key ASDQJBO_9U3sTQsHllbUMyjgj4FsNyYN0feKJnL-n7gxqQo
To claim this, I am signing this object:
View command.cpp
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
class Command { | |
public: | |
virtual ~Command(); | |
virtual void Execute() = 0; | |
protected: | |
Command(); | |
}; | |
// game programming patterns |
View reclaimWindows10.ps1
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
########## | |
# Win10 Initial Setup Script | |
# Author: Disassembler <disassembler@dasm.cz> | |
# Version: 1.7, 2016-08-15 | |
# dasm's script: https://github.com/Disassembler0/Win10-Initial-Setup-Script/ | |
# THIS IS A PERSONALIZED VERSION | |
# This script leaves more MS defaults on, including MS security features. | |
# Tweaked based on personal preferences for @alirobe 2016-11-16 - v1.7.1 |
View Hello.tsx
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
// src/components/Hello.tsx | |
import { h, Component, render } from "preact"; | |
export interface HelloProps { compiler: string; framework: string; } | |
export default class Hello extends Component<HelloProps, undefined> { | |
constructor(props: any) { | |
super(props); | |
// #TODO: fetch() from the API, or set up a ServiceWorker to do so. |
View canvasrecord.js
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
(function() { | |
let canvas = document.querySelector('canvas'); | |
// Optional frames per second argument. | |
let stream = canvas.captureStream(25); | |
var options = {mimeType: 'video/webm; codecs=vp9'}; | |
let recorder = new MediaRecorder(stream, options); | |
let blobs = []; | |
function download(blob) { | |
var url = window.URL.createObjectURL(blob); |
NewerOlder