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
(define-command-global ph/org-capture () | |
(let* ((url (ph/url-encode (ph/buffer-url))) | |
(title (ph/url-encode (ph/buffer-title))) | |
(body (ph/url-encode (%copy))) | |
(org-protocol-uri | |
(ph/format | |
"'org-protocol://capture?template=w&url=~a&title=~a&body=~a'" | |
url title body))) | |
(format *error-output* "Sending to Emacs:~%~a~%" org-protocol-uri) | |
(uiop:run-program |
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
(aggressive-indent | |
cl-print | |
link-hint | |
goto-addr | |
avy | |
highlight-symbol | |
cal-move | |
bbdb-anniv | |
header2 | |
lib-requires |
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 bash | |
# $1 (optional): triggering host | |
source "${HOME}/bin/sec-utils/agent.source.bash" | |
# Mainly called remotely, often from eshell, so 'less' messes things up | |
export PAGER=cat | |
# Pull changes from central repo into local repo |
This file has been truncated, but you can view the full file.
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
D: 0.176: quodlibet._init_gettext: LANGUAGE: 'en_GB.UTF-8:C:en_US.ISO8859-1:C:en:C:C' | |
D: 0.176: quodlibet._init_gettext: LANG: 'en_GB.UTF-8' | |
D: 0.177: quodlibet._init_gettext: No translation found in '/usr/share/locale' | |
D: 0.486: formats._misc.init: MimeType=application/x-flac;audio/aac;audio/aiff;audio/midi;audio/mp3;audio/mp4;audio/mpeg;audio/mpeg4;audio/mpg;audio/ogg;audio/vorbis;audio/wav;audio/wave;audio/x-aac;audio/x-aiff;audio/x-flac;audio/x-m4a;audio/x-midi;audio/x-mp3;audio/x-mpc;audio/x-mpeg;audio/x-ms-wma;audio/x-ms-wmv;audio/x-musepack;audio/x-oggflac;audio/x-speex;audio/x-tta;audio/x-wav;audio/x-wavpack;audio/x-wma;video/ogg;video/x-ms-asf;video/x-theora;video/x-wmv; | |
D: 0.486: formats._misc.init: Supported formats: aac, aiff, midi, mod, monkeysaudio, mp3, mp4, mpc, spc, trueaudio, vgm, wav, wavpack, wma, xiph | |
D: 1.351: quodlibet._init_gtk_debug: Initializing debugging extensions | |
D: 1.623: qltk.add_signal_watch: Register Python signal handler: 'SIGHUP' | |
D: 1.623: qltk.add_signal_watch: Register Pyt |
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
WARNING: Setting locale failed. | |
Check the following variables for correct values: | |
LC_ALL=en_GB.UTF-8 | |
LANG=en_GB.UTF-8 | |
Next version 1.3.4 | |
<INFO> [21:28:37] next remote.lisp (initialize-instance :after remote-interface) - | |
D-Bus addresses: (#<Unix socket address: @"/tmp/dbus-cuENar4m4a">) | |
<INFO> [21:28:37] next remote.lisp (initialize-instance :after remote-interface) - | |
Bus connection name: :1.1 | |
<INFO> [21:28:38] next port.lisp (run-program port) - |
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
;; Adapted from | |
;; http://muublog.blogspot.com/2018/01/for-various-reasons-i-needed-to-sync.html | |
(eval-and-compile | |
(require 'dash)) ; for `-lambda' | |
(defcustom ph/shadow-file-mappings nil | |
"Each key is the regular expression matching the file(s) | |
that should be copied, and the value is the target directory." | |
:group 'files |
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 bash | |
# Standard-repo requirements: | |
# w, awk, head, mktemp, split, grep, ck-list-sessions, sed, getent, cut | |
# TODO Check whether awk can't exit immediately after first match | |
ACTIVE_USER=`w --no-header -s | awk '/ :0 / {print $1}' | head -1` | |
[ -n "$ACTIVE_USER" ] && { | |
echo "$ACTIVE_USER" | |
exit 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
;;; vorbiscomment.el --- Edit comments in Ogg Vorbis files | |
;; Copyright (C) 2003 Jesper Harder | |
;; Author: Jesper Harder <harder@ifa.au.dk> | |
;; Created: 19 Aug 2003 | |
;; Version: 1.1 | |
;; Location: <http://purl.org/harder/> | |
;; Keywords: multimedia, data |
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
--- Contents/Info.plist 2012-02-17 06:47:35.000000000 +0000 | |
+++ foo/Info.plist 2012-02-15 14:02:14.000000000 +0000 | |
@@ -2,6 +2,32 @@ | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
+ <key>CFBundleSignature</key> | |
+ <string>CNKR</string> | |
+ <key>CFBundleIdentifier</key> | |
+ <string>org.mozdev.conkeror</string> |
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
;; An Org-mode capture template for scheduling a phone call to a BBDB contact. | |
;; Shortcut key: c | |
;; Target location: Under headline "Incoming" in file "~/org/ToDo.org". | |
;; Default tags: @phone | |
;; The function `ph/capture-bbdb' (see below) handles BBDB contacts with either a name or only an organization. | |
;; | |
;; To use this capture template, first mark the whole of the specific phone number you | |
;; want within the contact record in the *BBDB* buffer, then hit C-c t c. | |
;; | |
;; Prompts for: |
NewerOlder