Skip to content

Instantly share code, notes, and snippets.

;; USE EASY PG IN EMACS TO ENCRYPT CONFIGFILES AND OTHER FILES
;; Brendan Johan Lee <[email protected]>
;;
;; You need Easy PG <http://epg.sourceforge.jp/> Which is included in Emacs >= 23
;;
;;
;; To activate Easy PG, put the following two lines in your .emacs
;;
(require 'epa-file)
(epa-file-enable)
@deadcyclo
deadcyclo / mark.pl
Created May 10, 2016 18:47
Simple IRSSI plugin used to add a timestamped line to the currently focused window (bind it to control-space to easily keep track of how far you have read).
#!/usr/bin/perl
use strict;
use warnings;
use Irssi;
our $VERSION = 0.1;
our %IRSSI = (
authors => 'Brendan Johan Lee',
contact => '[email protected]',
name => 'mark',
@deadcyclo
deadcyclo / .stumpwmrc
Last active December 5, 2022 06:18
stumpwm configurations for the Stumpwm power quick guide
;; Configurations as seen in Stumpwm power quick guide TODO: URL
;; ommand to grab a regional screenshot
(defcommand printscreenregion() ()
(message "Print screen region")
(run-shell-command "gnome-screenshot -a"))
;; command to copy clipboard to intellij
;; NOTE: This requires the special set up to get intellij working with
;; stumpwm found later in this file
### Keybase proof
I hereby claim:
* I am deadcyclo on github.
* I am deadcyclo (https://keybase.io/deadcyclo) on keybase.
* I have a public key whose fingerprint is 5C35 E692 0CA0 2E49 D7A3 395E CFC5 3A4C 0EE7 7562
To claim this, I am signing this object: