Skip to content

Instantly share code, notes, and snippets.

View karlsander's full-sized avatar

Karl Sander karlsander

View GitHub Profile
@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
# 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"
@include add-grid(1);
@include add-grid(6 at 600px);
@include add-grid(12 at 1200px);
@include add-gutter(1/3);
@karlsander
karlsander / _grid.scss
Last active August 29, 2015 13:57
responsive grid
@include add-grid(3);
@include add-grid(6 at 500px);
@include add-grid(12 at 700px);
@include add-grid(2 8 2 at 900px);
@include add-grid(1 3 5 7 9 at 1100px);
// Setting Padding
timerlistFront.setPadding(0,0,0,0);
// Setting Margins
FrameLayout.LayoutParams params = new FrameLayout.LayoutParams(
FrameLayout.LayoutParams.WRAP_CONTENT,
FrameLayout.LayoutParams.WRAP_CONTENT
);
@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;
}
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 / 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
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