Skip to content

Instantly share code, notes, and snippets.

View gpadd's full-sized avatar

Andreas Wilfer gpadd

View GitHub Profile
@gpadd
gpadd / game.scm
Created January 5, 2012 20:38
Lame unfinished game
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;
;;;;;;add's contribution
;;;;;;
;;;;;;
;;;;;;
;;;;;;
@gpadd
gpadd / casting-spels.scm
Created September 2, 2013 07:52
Casting SPELs in LISP, Scheme version.
;; Casting SPELs in LISP, scheme version
(define *objects* '(whiskey-bottle bucket frog chain))
(define *map* '((living-room (Your in the living room. Its dusty and dirty.)
(west door garden)
(upstairs stairway attic))
(garden (Your in the garden. There stands a well.)
(east door living-room))
(attic (Your in the attic. There is a welding torch in the corner.)
@gpadd
gpadd / fix_telegram.md
Last active January 12, 2017 23:50 — forked from 9ary/fix_telegram.md
How to fix the really really round telegram bubbles and avatars and << >> -- stuff
@gpadd
gpadd / flyer-mwe.tex
Last active April 20, 2017 11:35
Stupid dot and "empty" first page latex (lualatex)
%%%%%----------------------------------------------------------------------%%%%%
%\documentclass[12pt,a4paper,titlepage,draft]{article}
\documentclass[12pt,a4paper]{article}
%%%%%----------------------------------------------------------------------%%%%%
\usepackage{mwe}
\usepackage[a4paper,total={6in, 8in}]{geometry}
\usepackage[export]{adjustbox}
\usepackage{luaotfload}
\usepackage{fontspec}
%%%%%----------------------------------------------------------------------%%%%%
% ALSOFT_DRIVERS="-jack" ./notalone.bin
<DEBUG> [18:25:58] cl-bodge.engine engine.lisp (enable-system) -
Enabling HOST-SYSTEM
<DEBUG> [18:25:58] cl-bodge.host system.lisp (initialize-system :after host-system) -
Injecting loop into main thread
<DEBUG> [18:25:58] cl-bodge.host system.lisp (initialize-system :after host-system with-truncated-stack-lambda) -
Initializing GLFW context for OpenGL version 3.3
<DEBUG> [18:25:58] cl-bodge.host system.lisp (initialize-system :after host-system with-truncated-stack-lambda) -
Host main loop running
<DEBUG> [18:25:58] cl-bodge.host system.lisp (initialize-system :after host-system with-truncated-stack-lambda) -
@gpadd
gpadd / caps_2_ctrl_or_esc.ahk
Created March 7, 2024 10:25
Remap CAPS to be either CTRL or ESC depending on if you are holding it down or not. Tweaked For AutoHotkey v2. Original from https://superuser.com/a/581988
#Requires AutoHotkey v2.0
*CapsLock::
{
Send "{Blind}{Ctrl Down}"
global cDown := A_TickCount
}
*CapsLock up::
{