Skip to content

Instantly share code, notes, and snippets.

View karlsander's full-sized avatar

Karl Sander karlsander

View GitHub Profile
# Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="robbyrussell"
@karlsander
karlsander / Hi.js
Created January 22, 2020 12:23
theme-ui sx for className
import React from "react"
import { csx } from "csx"
export const Hi = () => <div className={csx({m: 4, color: "primary")}>Hi</div>
var x = 4;
@karlsander
karlsander / build.sh
Created April 16, 2019 17:26
compiling Hemisphere
platformio ci --project-conf="platformio.ini" --build-dir="build" --keep-build-dir O_C-HemisphereSuite/software/o_c_REV/
Put the cat in education
Put the cat in location
Put the cat in categories
Put the cat in category
Put the cat in application
Put the cat in applications
Put the cat in located
Put the cat in communications
Put the cat in communication
Put the cat in publications
@karlsander
karlsander / trill.js
Created February 17, 2017 12:08
MIDI FX Trill Script
//-----------------------------------------------------------------------------
// Trill script adapted from Simple Arpeggiator
//-----------------------------------------------------------------------------
var NeedsTimingInfo = true;
var activeNotes = [];
function HandleMIDI(event) {
if (event instanceof NoteOn) {
// add note to array
@karlsander
karlsander / user_time.py
Created June 26, 2013 18:06
jenni user timezone module
import times
import json
filename = 'timezones.json'
timezones = {}
try:
timezones = json.load(open(filename))
except:
pass
Process: Chocolat [26659]
Path: /Applications/Chocolat.app/Contents/MacOS/Chocolat
Identifier: com.chocolatapp.Chocolat
Version: 3.0rc3 (3.0rc3)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Chocolat [26659]
User ID: 501
Date/Time: 2014-10-05 01:22:31.994 +0200
@karlsander
karlsander / userstyle.css
Last active August 29, 2015 13:58
sticky-wikitable
body.mediawiki table.wikitable > thead, body.mediawiki table.wikitable > tbody > tr > th {
position: -webkit-sticky;
position: sticky;
top: 0;
}