Skip to content

Instantly share code, notes, and snippets.


Jürgen Hötzel juergenhoetzel

View GitHub Profile
juergenhoetzel / utf16.go
Created Dec 8, 2018
Decode utf16 (little or big endian) to string
View utf16.go
package main
import (
func DecodeUtf16(b []byte, order binary.ByteOrder) (string, error) {
View window-rotate.el
(require 'cl)
(defun rotate-left (l) (append (cdr l) (list (car l))))
(defun rotate-windows ()
(let ((start-positions (rotate-left (mapcar 'window-start (window-list))))
(buffers (rotate-left (mapcar 'window-buffer (window-list)))))
(mapcar* (lambda (window buffer pos)
(set-window-buffer window buffer)
(set-window-start window pos))
juergenhoetzel / lein-swank.el
Created May 30, 2010
Launch a Leiningen Swank Process and connect
We couldn’t find that file to show.