Make sure there is at least one file in it (even just the README.md)
ssh-keygen -t rsa -C "[email protected]"
;;; openwith.el --- Open files with external programs -*- lexical-binding: t; -*- | |
;; <2020-04-10 fre> A. Miller | |
;; Hacked openwith to not be a minor mode. | |
;; The handler is now changed to be interactive function so it can be bound | |
;; to a key and invoked manually when desired instead of being a global handler. | |
;; Assumes invocation from a dired buffer, so the name is changed | |
;; to reflect the prefered use case. | |
;; Copyright (C) 2007 Markus Triska |
(defun org-todo-per-file-keywords (kwds) | |
"Sets per file TODO labels. Takes as argument a list of strings to be used as | |
labels." | |
(let (alist) | |
(push "TODO" alist) | |
(dolist (kwd kwds) | |
(push kwd alist)) | |
(setq alist (list (nreverse alist))) | |
;; TODO keywords. | |
(setq-local org-todo-kwd-alist nil) |
;; An experiment for an SVG toolbar using icons from material.io | |
;; | |
;; Example usage: (toolbar 48 "black" "white" t t) | |
;; Material icons freely available (Apache 2 license) from | |
;; - https://material.io/resources/icons/?style=outline | |
;; - https://github.com/google/material-design-icons | |
(require 'xml) (require 'svg) | |
(defun toobar-item (label icon fg-color bg-color size with-icon with-label) |
Make sure there is at least one file in it (even just the README.md)
ssh-keygen -t rsa -C "[email protected]"
;;; build-emacs.el --- Build custom Emacs from sources -*- lexical-binding: t; -*- | |
;; Copyright (C) 2022 Arthur Miller | |
;; Author: Arthur Miller <[email protected]> | |
;; Keywords: tools | |
;; This program is free software; you can redistribute it and/or modify | |
;; it under the terms of the GNU General Public License as published by | |
;; the Free Software Foundation, either version 3 of the License, or |
;;; shell-command-with-aliases.el --- Use Bash aliases in interactive shell-comands -*- lexical-binding: t; -*- | |
;; Copyright (C) 2023 Arthur Miller | |
;; Author: Arthur Miller <[email protected]> | |
;; Keywords: | |
;; This program is free software; you can redistribute it and/or modify | |
;; it under the terms of the GNU General Public License as published by | |
;; the Free Software Foundation, either version 3 of the License, or |
;;; org-capture-complete.el --- Two different ideas for org-capture via completing read -*- lexical-binding: t; -*- | |
;; Copyright (C) 2023 Arthur Miller | |
;; Author: Arthur Miller <[email protected]> | |
;; Keywords: tools, lisp | |
;; This program is free software; you can redistribute it and/or modify | |
;; it under the terms of the GNU General Public License as published by | |
;; the Free Software Foundation, either version 3 of the License, or |
;;; aoc-helper.el --- Gen AOC skeleton -*- lexical-binding: t; -*- | |
;; Copyright (C) 2023 Arthur Miller | |
;; Author: Arthur Miller <[email protected]> | |
;; Keywords: | |
;; This program is free software; you can redistribute it and/or modify | |
;; it under the terms of the GNU General Public License as published by | |
;; the Free Software Foundation, either version 3 of the License, or |
;; no consing one iteration | |
(defun rotatel (list) | |
(let ((new (cdr list))) | |
(setf (cdr list) nil) | |
(setf new (nconc new list)))) | |
;; no consing two iterations | |
(defun rotatel (list) | |
(let ((first (pop list)) | |
(rlist (nreverse list))) |