Skip to content

Instantly share code, notes, and snippets.

View kickingvegas's full-sized avatar

Charles Choi kickingvegas

View GitHub Profile
@kickingvegas
kickingvegas / melpa-package-status.py
Created May 23, 2024 20:01
Script to read MELPA package status
#!/usr/bin/env python3
#
# Copyright 2024 Yummy Melon Software
import os
import sys
import argparse
from subprocess import Popen, PIPE, call
import shutil
from datetime import datetime
@kickingvegas
kickingvegas / cumulative-sum-table.org
Last active October 4, 2024 15:12
Org Table Cumulative Sum Example
abresult
122
238
3420
4540
5670
67112
78168
@kickingvegas
kickingvegas / dired-double-click-config.el
Created October 7, 2024 19:03
Elisp Dired configuration to change single click to double to open a new file/directory
(add-hook
'dired-mode-hook
(lambda ()
(setq-local mouse-1-click-follows-link 'double)))
(keymap-set dired-mode-map "<mouse-2>" #'dired-mouse-find-file)
(defun eli/dired--move-to-next-line (arg jumpfun)
(let ((wrapped nil)
(old-arg arg)
(old-position (progn
;; It's always true that we should move
;; to the filename when possible.
(dired-move-to-filename)
(point)))
;; Up/Down indicates the direction.
(moving-down (if (cl-plusp arg)