Skip to content

Instantly share code, notes, and snippets.

;; Inspired by this blog post on "let's surround":
;; https://arialdomartini.github.io/emacs-surround-2 and
;; https://www.emacswiki.org/emacs/SurroundRegion.
;;
;; Notable bits:
;;
;; - Specifying =open= as a default value in the closing delimiter completing
;; read -- that allows the user to hit return to re-use the opening
;; delimiter for the closing one.
;; - This moves point accordingly, so that you can make repeated calls to
@jensgro
jensgro / 11ty-conference-videos.md
Created May 24, 2024 14:06
The videos of the first online conference of the 11ty-community - in schedule order.
{ pkgs, unstable, ...}:
with pkgs;
let
my-python-packages = ps: with ps; [
pandas
];
in
{
@tech234a
tech234a / README.md
Last active June 10, 2023 14:03
Using unmodified third-party Reddit apps with a custom server
@cpbotha
cpbotha / init.el
Last active February 6, 2023 10:45
;; minimal version of my Emacs setup which approximates the effective points per inch on your screen
;; and then selects your default font pts based on that
;; Also works on wayland / WSLg because it parses out physical dims from weston.log (necessary in 2023-01)
;; LIMITATION: Will probably not work on multi-monitor setups. Exercise for the reader!
;; BSD 3-clause copyright Charl P. Botha <info@charlbotha.com>
(defun get-mon-attr (which)
(cdr (assoc which (car (display-monitor-attributes-list)))))
(defun get-monitor-width-mm ()
@lazy
lazy / init.el
Last active December 15, 2023 05:14
(use-package vertico-posframe
:config
(setq vertico-posframe-parameters
'((left-fringe . 8)
(right-fringe . 8)))
(setq vertico-posframe-border-width 3)
:init
(vertico-posframe-mode)
@thriveth
thriveth / init.el
Created October 28, 2022 01:41
minimal-ish Emacs config to work with Bibliographies and references
(require 'package)
(add-to-list 'package-archives
'("melpa" . "https://melpa.org/packages/") t)
(package-initialize)
(require 'use-package)
(setq custom-file (expand-file-name "emacs-custom.el" user-emacs-directory))
(load custom-file)
@ssrihari
ssrihari / clojure-learning-list.md
Last active July 20, 2024 10:06
An opinionated list of excellent Clojure learning materials

An opinionated list of excellent Clojure learning materials

These resources (articles, books, and videos) are useful when you're starting to learn the language, or when you're learning a specific part of the language. This an opinionated list, no doubt. I've compiled this list from writing and teaching Clojure over the last 10 years.

  • 🔴 Mandatory (for both beginners and intermediates)
  • 🟩 For beginners
  • 🟨 For intermediates

Table of contents

  1. Getting into the language
@SkyyySi
SkyyySi / youtube-vanced-alternatives.md
Last active July 18, 2024 02:57
A list of alternatives after the shutdown of Vanced

NONE OF THESE CLIENTS ARE VERIFIED BY ME FOR SECURITY OR ANYTHING ELSE! USE AT YOUR OWN RISK!

These are the current alternatives (with links when possible):

@vherrmann
vherrmann / doct-org-roam.el
Last active April 21, 2024 00:00 — forked from progfolio/doct-org-roam.el
doct-org-roam.el
;;; doct-org-roam.el --- An org-roam extension for doct
;; Copyright (C) 2020 Nicholas Vollmer
;; Copyright (C) 2022 Valentin Herrmann
;; Author: Nicholas Vollmer <progfolio@protonmail.com>
;; URL: https://github.com/vherrmann/doct-org-roam
;; Created: July 27, 2020
;; Keywords: org, org-roam, convenience
;; Package-Requires: ((emacs "26.1"))
;; Version: 0.0.0