Skip to content

Instantly share code, notes, and snippets.

View dkimbel's full-sized avatar

Daniel Kimbel dkimbel

View GitHub Profile
@dkimbel
dkimbel / kmonad.kbd
Created July 6, 2021 01:21
Refined KMonad
#| --------------------------------------------------------------------------
40%-format layout on a US ANSI laptop keyboard
OVERVIEW
========
This configuration fits several constraints. It must:
- Minimize wrist strain.
- Work on keyboards with standard wide spacebars (meaning few, if any, other
(defcfg
input (device-file "/dev/input/by-path/platform-i8042-serio-0-event-kbd")
output (uinput-sink "KMonad output")
fallthrough true
allow-cmd true
)
;; Approximately matches Galago Pro 5
(defsrc
@dkimbel
dkimbel / gist:7920292
Created December 11, 2013 23:16
The module pattern in JavaScript, implemented through a timer.
var TIMER = (function() {
var _time = 0
var _startTime = null
var _stopTime = null
var _running = false
return {
start: function() {
this.output()
_startTime = new Date()
_running = true
@dkimbel
dkimbel / index.html
Last active December 27, 2015 10:29 — forked from dbc-challenges/index.html
DBC Phase 2 Practice Assessment Part 3
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="http://cdn.jsdelivr.net/normalize/2.1.0/normalize.css">
<link rel="stylesheet" href="main.css">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Lato:100,900">
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/3.0.2/css/font-awesome.min.css">
</head>