Skip to content

Instantly share code, notes, and snippets.

@dave-f
dave-f / tmux.conf
Created January 22, 2020 10:09
tmux configuration
unbind C-b
set -g prefix C-a
set -s escape-time 0
bind-key C-a last-window
bind-key a send-prefix
set -g base-index 1
@dave-f
dave-f / README.md
Created October 4, 2017 12:40 — forked from blooalien/CoderCat Example.jpg
A simple gimp plugin to easily create cartoon speech bubbles.

speechbubble.py

A simple gimp plugin to easily create cartoon speech bubbles


License

  • Public Domain - This script is entirely too simple for me to care how it's used.
@dave-f
dave-f / extract-cq.el
Last active October 4, 2017 10:27
Extract map data for BBC micro game Castle Quest into a recognisable emacs buffer
;
; Extracting Castle Quest map data; the file is 2K from BBC Micro memory 0x400
; See https://en.wikipedia.org/wiki/Castle_Quest_(1985_video_game)#Development
;
(defun extract-cq-map()
(interactive)
(let ((map-data (f-read-bytes "C:/Path/To/Raw/CastleQuestMap")))
(switch-to-buffer (get-buffer-create "*CQ*"))
(erase-buffer)
(ruler-mode 1)
@dave-f
dave-f / pickteams.el
Created September 4, 2012 12:10
Quick bit of Emacs Lisp to automatically pick bowlers and assign them to lanes
; Define bowler names and lane size, then run `create-bowling-teams-buffer' to display
(defconst bowlers
'("Player 1"
"Player 2"))
(defconst lane-size 6)
(defun create-bowling-teams-buffer ()
(interactive)