Skip to content

Instantly share code, notes, and snippets.

View gorbiz's full-sized avatar
😺
Found a paper bag

Karl Svartholm gorbiz

😺
Found a paper bag
  • Gothenburg, Sweden
View GitHub Profile
@gorbiz
gorbiz / README.md
Last active February 24, 2016 18:29
Classes in Markdown?
@gorbiz
gorbiz / README.md
Last active February 18, 2016 13:46
Grammatica Latina
@gorbiz
gorbiz / README.md
Last active February 18, 2016 01:31
latina-immergo
@gorbiz
gorbiz / index.html
Created February 17, 2016 21:38
ASCii colorist
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>ASCii color</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<textarea name="ascii" id="ascii" rows="24" cols="80"></textarea>
@gorbiz
gorbiz / README.md
Last active February 19, 2016 03:48
Latin declensions
@gorbiz
gorbiz / index.html
Last active February 18, 2016 12:10
Interactive Latin book...
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>latin2</title>
<link href="style.css" rel="stylesheet">
<link href='https://fonts.googleapis.com/css?family=Cinzel' rel='stylesheet' type='text/css'>
</head>
<body>
<ol class="evolving-header">
@gorbiz
gorbiz / wiki-latin-link.user.js
Last active February 23, 2016 22:53
Wicked wiki Latin link
@gorbiz
gorbiz / init.coffee
Last active March 3, 2016 00:55
Atom: auto save (some files) on change #hack
path = require 'path'
delay = (t, cb) -> setTimeout cb, t
saveTimer = null
saveCooldown = 100
atom.workspace.observeTextEditors (editor) ->
subscription = editor.onDidChange (change) ->
clearTimeout saveTimer
saveTimer = delay saveCooldown, ->
@gorbiz
gorbiz / kalender-se.user.js
Last active November 10, 2015 16:41
Use left & right arrows to change month
// ==UserScript==
// @name kalender.se keyboard navigation
// @version 0.1.1
// @homepage https://gist.github.com/gorbiz/de9b43da4138385db881
// @description Use left & right arrows to change month
// @match http://www.kalender.se/*
// ==/UserScript==
document.addEventListener('keydown', function(e) {
var link = document.querySelector(({37: '.leftarrow a', 39: '.rightarrow a'})[e.keyCode]);
link && link.click();
@gorbiz
gorbiz / README.md
Last active October 25, 2015 14:16
Image cycler (part of time-lapse project)

image cycler

A javascript cycling through a list of images.
I use it to preview the last ~30-60 photos from my timelapse cam (without the need to build a video every minute).