Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env -S emacs --script
;; Sandbox
(setq
user-emacs-directory (concat (file-name-directory load-file-name) ".emacs/")
package-user-dir (concat user-emacs-directory "elpa/")
use-package-always-ensure t
inhibit-message t) ; if there are errors, remove this.
; debug-on-error t) ; if there are errors, add this.
@Stebalien
Stebalien / yubitouch.sh
Created January 17, 2016 05:04 — forked from a-dma/yubitouch.sh
Bash script for setting or clearing touch requirements for cryptographic operations in the OpenPGP application on a YubiKey 4.
#!/bin/bash
# Bash script for setting or clearing touch requirements for
# cryptographic operations the OpenPGP application on a YubiKey 4.
#
# Author: Alessio Di Mauro <[email protected]>
GCA=$(which gpg-connect-agent)
DO=0
UIF=0
@Stebalien
Stebalien / sample.kt
Last active January 4, 2016 07:29 — forked from abreslav/sample.kt
class Bar {
fun invoke(x: Int): Int = x
}
class Foo {
val get: Bar = Bar()
}
class Baz {
public fun get(x: Int) : Int = x
}
@Stebalien
Stebalien / g15daemon.service
Created October 9, 2012 00:41 — forked from jinks/g15daemon.service
g15daemon unit file for systemd
[Unit]
Description=A daemon that makes it possible to use the G-Buttons and draw on the G15 LCD
Documentation=man:g15daemon(1)
[Service]
Type=forking
PIDFile=/run/g15daemon.pid
ExecStart=/usr/sbin/g15daemon
[Install]