Skip to content

Instantly share code, notes, and snippets.

colevscode / custom-stripe.css
Created Oct 27, 2020
Styling Stripe Elements example
View custom-stripe.css
* The CSS shown here will not be introduced in the Quickstart guide, but shows
* how you can use CSS to style your Element's container.
.StripeElement {
box-sizing: border-box;
height: 40px;
padding: 10px 12px;
colevscode / startup.scd
Created Feb 24, 2020
Supercollider Startup Script for UMC404HD with Midi
View startup.scd

( var deviceName;

deviceName = "UMC404HD 192k"; // substitute your own device here

s.reboot { // server options are only updated on reboot

// configure the sound server: here you could add hardware specific options
// see
s.options.numBuffers = 1024 * 256; // increase this if you need to load more samples
#!/usr/bin/env python
import random
from enum import Enum
from typing import NamedTuple
from collections import Counter
from dataclasses import dataclass
class Color(Enum):
RED = 1
View gist:3fc5d8e935ef99e3a78244f6d8136a28
import React, { Component } from "react";
import { Shaders, Node, GLSL } from "gl-react";
import {Surface, resolveAssetSource} from "gl-react-expo";
import { Image } from 'react-native';
const shaders = Shaders.create({
helloImage: {
frag: GLSL`
precision highp float;
View lispparser.js
/* UPDATE --- It's working!
Just needed to make sure I was consistently spreading the args (or not spreading them)
and not forget that javascript typeof [] === 'object'.
lispparser is a lisp parser! It's meant to turn a lisp string
like this:
"(first (list 1 (+ 2 3) 9))"
colevscode / formbutton-default.css
Last active Jul 30, 2020
Default formbutton styles.
View formbutton-default.css
body {
font-family: sans-serif;
font-size: 100%;
line-height: 1;
font-weight: 400;
#formbutton-shim {
position: fixed;
top: 0;
colevscode / form-reset.css
Last active Mar 14, 2022
Formspree universal form styles
View form-reset.css
/* reset */
form input,
form select,
form textarea,
form fieldset,
form optgroup,
form label,
.StripeElement {
font-family: inherit;
font-size: 100%;
colevscode / nginx.rb
Created Jun 30, 2012
Homebrew formula for nginx with upload
View nginx.rb
require 'formula'
class Nginx < Formula
url ''
head ''
homepage ''
if ARGV.include? '--HEAD'