Skip to content

Instantly share code, notes, and snippets.

Renée Köcher Shirk

View GitHub Profile
Shirk / gas.vim
Created Jul 8, 2016
gas.vim with support for C++-style single line comments using //
View gas.vim
" Vim syntax file
" Language: GNU as (AT&T) assembler for X86
" Maintainer: Rene Koecher <>
" Last Change: 2013 Aug 15
" Version: 0.9
" Remark: Intel compatible instructions only (for now)
" License: BSD (3 clause), see LICENSE
if version < 600

Keybase proof

I hereby claim:

  • I am shirk on github.
  • I am shirk ( on keybase.
  • I have a public key ASDlWb5MeqwKv0RkI2M0K51Dvtlw8kTRfDKNHoRnlEmmxAo

To claim this, I am signing this object:

Shirk / macligatures-runtime-doc.diff
Last active Nov 13, 2015
Add documentation for macvim PR #129
View macligatures-runtime-doc.diff
diff --git a/runtime/doc/gui_mac.txt b/runtime/doc/gui_mac.txt
index a3d3ea7..e93904d 100644
--- a/runtime/doc/gui_mac.txt
+++ b/runtime/doc/gui_mac.txt
@@ -111,7 +111,7 @@ to your .gvimrc file to revert back to the default Vim tab label.
These are the non-standard options that MacVim supports:
'antialias' 'blurradius' 'fullscreen'
- 'fuoptions' 'macmeta' 'toolbariconsize'
+ 'fuoptions' 'macmeta' 'macligatures' 'toolbariconsize'
Shirk /
Last active Aug 29, 2015
Basic workflow for docker-machine on Mac with VMWare Fusion
# Get everything ready on a Mac
brew install docker docker-machine docker-compose
# Create a new machine (based on the 1.8.1 boot2docker iso)
docker-machine create --driver vmwarefusion --vmwarefusion-memory-size 2048 --vmwarefusion-boot2docker-url osxdock
# Bring the machine up
docker-machine start osxdock
# Configure Shell
Shirk / grub-2.02~beta2_native_clang_OSX_build.patch
Created Aug 24, 2014
Patch grub-2.02~beta2 to build on OS X (up to and including Yosemite) using Clang. Get grub-2.02~beta2 from
View grub-2.02~beta2_native_clang_OSX_build.patch
Patch grub-2.02~beta2 to build on OS X (up to Yosemite) using Clang.
Get grub-2.02~beta2 from
diff -Nrdup grub-2.02~beta2.orig/ grub-2.02~beta2/
--- grub-2.02~beta2.orig/ 2013-12-24 21:06:39.000000000 +0100
+++ grub-2.02~beta2/ 2014-08-24 10:28:34.000000000 +0200
@@ -451,7 +451,6 @@ am_libgrubgcry_a_OBJECTS = grub-core/lib
grub-core/lib/libgcrypt-grub/cipher/libgrubgcry_a-sha256.$(OBJEXT) \
grub-core/lib/libgcrypt-grub/cipher/libgrubgcry_a-sha512.$(OBJEXT) \
grub-core/lib/libgcrypt-grub/cipher/libgrubgcry_a-tiger.$(OBJEXT) \
- grub-core/lib/libgcrypt-grub/cipher/libgrubgcry_a-twofish.$(OBJEXT) \
Shirk / accel-display.c
Created Feb 28, 2014
Pebble on-screen accelerometer data display
View accel-display.c
#include <pebble.h>
static Window *window;
static TextLayer *x_accel_layer, *y_accel_layer, *z_accel_layer;
static char accel_layer_text[3][15];
static void process_accel_data(AccelData *data, uint32_t num_samples)
memset(accel_layer_text, 0, sizeof(accel_layer_text));
Shirk / st3-cpp-highlight-bug.cpp
Created Jan 13, 2014
This file shows how ST3 loses highlighting in long files. I get proper syntax up to line 460.
View st3-cpp-highlight-bug.cpp
class SubStateXX : public BaseState //{{{
SubStateXX( StateID id )
: BaseState( id ) {};
virtual void OnEntry()
View x.js
/* This is a template command. */
names: ["message"],
icon: "",
description: "Send a message to one of your pidgin contacts",
help: "Supported formats are:<br> (empty) - just text<br/> as link - hyperlink using the document title<br/> as quote - hyperlink using the current selection / text",
author: {name: "Rene Koecher", email: ""},
license: "GPL",
homepage: "",
You can’t perform that action at this time.