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
| ;;; org-zettel --- Simple zettelkasten implement in Org-mode -*- lexical-binding: t -*- | |
| ;; Copyright (C) 2025 c4droid | |
| ;; Author: c4droid <[email protected]> | |
| ;; URL: https://codeberg.org/c4dr01d/org-zettel | |
| ;; Version: 0.1 | |
| ;; Package-Requires: ((emacs "27.1")) | |
| ;; Keywords: org |
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
| (setq inhibit-splash-screen t) | |
| (setq-default cursor-type 'bar) | |
| (setq initial-frame-alist (quote ((fullscreen . maximized)))) | |
| (setq package-check-signature nil) | |
| (require 'package) | |
| (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")) |
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
| # Miniconda Portable Installer | |
| # Author: Rakesh Chowdhury @ CypherpunkSamurai | |
| # https://gist.github.com/CypherpunkSamurai/359503fa3a23ea5e493c5eeeaf2de8d4 | |
| # Get Miniconda | |
| Invoke-WebRequest -Uri "https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe" -OutFile "miniconda.exe" | |
| # Extract the Miniconda package | |
| .\miniconda.exe /InstallationType=JustMe /AddToPath=0 /S /RegisterPython=0 /NoRegistry=1 /NoScripts=1 /NoShortcuts=1 /D=$PWD\conda_install | |
| # Wait |
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 custom-tab-line-switch-to-next-tab (&optional mouse-event) | |
| "Switch to the next tab - cycle back to the start at the end. | |
| Its effect is the same as using the `next-buffer' command | |
| (\\[next-buffer]). with the exception it will not open a non-visible buffer" | |
| (interactive (list last-nonmenu-event)) | |
| (let ((window (and (listp mouse-event) (posn-window (event-start mouse-event))))) | |
| (with-selected-window (or window (selected-window)) | |
| (let* ((tabs (funcall tab-line-tabs-function)) | |
| (tab-buffers (mapcar (lambda (tab) (if (bufferp tab) tab (cdr (assq 'buffer tab)))) tabs)) | |
| (num-tabs (length tab-buffers)) |
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
| ;;; init.el --- include-yy's emacs config -*- lexical-binding:t;no-byte-compile:t; -*- | |
| ;; Copyright (C) 2023 include-yy <[email protected]> | |
| ;; Author: include-yy <[email protected]> | |
| ;; Created: 17 Jun 2023 | |
| ;; Version: 0.1 | |
| ;; Keywords: config | |
| ;; URL: https://gist.github.com/include-yy/e70dcbfc1a80403814d0b7a7357971d9 |
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
| ;;; chatgpt.el --- Simple ChatGPT frontend for Emacs -*- lexical-binding: t -*- | |
| ;; Copyright (C) Gavin Jaeger-Freeborn | |
| ;; This package 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, or (at your option) | |
| ;; any later version. | |
| ;; This package is distributed in the hope that it will be useful, |
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
| ;;; Directory Local Variables | |
| ;;; For more information see (info "(emacs) Directory Variables") | |
| ;;; Commentary: | |
| ;; .dir-locals.el for use with the Emacs Eglot LSP client and | |
| ;; python-lsp-server (pylsp) LSP server v1.10.0. | |
| ;; Default values in accordance with | |
| ;; https://github.com/python-lsp/python-lsp-server/blob/v1.10.0/CONFIGURATION.md |
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
| (use-package repeat | |
| :if (version< "28.0" emacs-version) | |
| :bind ("H-z" . repeat) | |
| :hook (after-init . my/repeat-mode) | |
| :config | |
| (defun my/repeat-mode () | |
| (let ((inhibit-message t) | |
| (message-log-max nil)) | |
| (repeat-mode))) | |
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
| #SingleInstance, force ; Allow only one instance of this script to be running. | |
| #Persistent ; To stop the script from exiting. | |
| ; Here, press F1 to trigger the black/white flash | |
| F1:: | |
| ; Source: https://superuser.com/questions/662264/i-would-like-to-make-the-screen-go-black-every-8-seconds-how | |
| Gui, Color, 000000 | |
| Gui, Show, x-5000 y-20 w8000 h8000 | |
| sleep 333 | |
| Gui, Color, FFFFFF |
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 bash | |
| set -e | |
| # Emacs as pager | |
| # | |
| # Author: [email protected] | |
| # Created: 2021-06-06 16.08.51 | |
| # Version: 0.1 | |
| # | |
| # Installation: |
NewerOlder