a | b | result |
---|---|---|
1 | 2 | 2 |
2 | 3 | 8 |
3 | 4 | 20 |
4 | 5 | 40 |
5 | 6 | 70 |
6 | 7 | 112 |
7 | 8 | 168 |
This file contains hidden or 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 python3 | |
# | |
# Copyright 2024 Yummy Melon Software | |
import os | |
import sys | |
import argparse | |
from subprocess import Popen, PIPE, call | |
import shutil | |
from datetime import datetime |
This file contains hidden or 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
(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) |
This file contains hidden or 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
(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) |
OlderNewer