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
#!/run/current-system/profile/bin/guile -s | |
!# | |
(define (nm-tag terms) | |
(system* "notmuch" "tag" (car terms) "--" (cdr terms))) | |
(define %post-sync-terms '(("+inbox" . "path:/.*\\/INBOX/") | |
("+draft" . "path:/.*\\/Drafts/") | |
("+sent" . "path:/.*\\/Sent/") | |
("+trash" . "path:/.*\\/Trash/") |
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
;; This "home-environment" file can be passed to 'guix home reconfigure' | |
;; to reproduce the content of your profile. This is "symbolic": it only | |
;; specifies package names. To reproduce the exact same profile, you also | |
;; need to capture the channels being used, as returned by "guix describe". | |
;; See the "Replicating Guix" section in the manual. | |
(add-to-load-path (dirname (current-filename))) | |
(use-modules | |
(srfi srfi-171 meta) | |
(gnu home) | |
(gnu packages) |
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
alias YOU YOUR NAME <email@somewhere.com> |
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
{ pkgs ? import <nixpkgs> {} }: | |
pkgs.mkShell { | |
buildInputs = with pkgs; [ | |
jdk18 | |
maven | |
lombok | |
]; | |
JAVA_HOME="${pkgs.jdk18}"; | |
LOMBOK_JAR="${pkgs.lombok}/share/java/lombok.jar"; |
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
lastIncident=20230114 | |
days_since=$(( ($(date +%s) - $(date -d $lastIncident +%s)) / (60*60*24) )) | |
sayings=( | |
"Don't be sorry, be better." | |
"Don't get caught up in the details." | |
"Deliver something every day." | |
"${days_since} days since last Emacs incident." | |
) |
OlderNewer