This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Bar { | |
fun invoke(x: Int): Int = x | |
} | |
class Foo { | |
val get: Bar = Bar() | |
} | |
class Baz { | |
public fun get(x: Int) : Int = x | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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] |