Skip to content

Instantly share code, notes, and snippets.

I may be slow to respond.

Boris Buliga d12frosted

I may be slow to respond.
View GitHub Profile
View agenda.el
(defun vulpea-project-p ()
"Return non-nil if current buffer has any todo entry.
TODO entries marked as done are ignored, meaning the this
function returns nil if current buffer contains only completed
(seq-find ; (3)
(lambda (type)
(eq type 'todo))
(org-element-map ; (2)
d12frosted / MarIO.lua
Created Jun 15, 2015
MarI/O by SethBling
View MarIO.lua
-- MarI/O by SethBling
-- Feel free to use this code, but please do not redistribute it.
-- Intended for use with the BizHawk emulator and Super Mario World or Super Mario Bros. ROM.
if gameinfo.getromname() == "Super Mario World (USA)" then
Filename = "DP1.state"
ButtonNames = {
View emacs-eru
#!/usr/bin/env bash
set -e
if [[ -d "$XDG_CONFIG_HOME" ]]; then
View +org-roam-tags.el
(defun +org-notes-tags-read ()
"Return list of tags as set in the buffer."
(org-roam--extract-tags-prop (buffer-file-name (buffer-base-buffer))))
(defun +org-notes-tags-delete ()
"Delete a tag from current note."
(unless (+org-notes-buffer-p)
(user-error "Current buffer is not a note"))
(let* ((tags (+org-notes-tags-read))
d12frosted / migrate_git
Created Jul 8, 2020
quick code migration from one repository to another
View migrate_git
#!/usr/bin/env bash
# Requirements:
# 1. git >= 2.25
# 2. git-filter-repo
# 3. bash >= 4.0
# Installation:
View emacs-plus-fix-imagemagick.patch
commit 23236f26d2f5839f2fdb7022039dcf102dcf3a3b
Author: Dhruva Krishnamurthy <address@hidden>
Date: Mon Dec 23 14:49:51 2019 -0800
Initialize ImageMagick runtime environment before use
diff --git a/src/image.c b/src/image.c
index 70d932f9ed..50d90ccb55 100644
--- a/src/image.c
+++ b/src/image.c
View macos-drawing-fixes.patch
From 95160c34b4f41e867761f29239db02e8e7232bbe Mon Sep 17 00:00:00 2001
From: Alan Third <>
Date: Mon, 29 Oct 2018 15:37:35 +0000
Subject: [PATCH] Fix more drawing bugs in NS port (bug#32932)
* src/nsterm.m (ns_row_rect): New function.
(ns_clip_to_row): Remove function.
(ns_copy_bits): Fix mistake.
(ns_draw_fringe_bitmap): Stop using ns_clip_to_row.
(ns_draw_window_cursor): Stop using ns_clip_to_row and move

Keybase proof

I hereby claim:

  • I am d12frosted on github.
  • I am d12frosted ( on keybase.
  • I have a public key whose fingerprint is 5E8F 3282 1421 9477 A44A C324 0273 2815 0F06 4FA8

To claim this, I am signing this object:

View 01.patch
From 2724d26e5f6cc8bfa9c9ca86d35e3df396bcd2ba Mon Sep 17 00:00:00 2001
From: Boris Buliga <>
Date: Thu, 7 Jun 2018 20:11:34 +0300
Subject: [PATCH] allow to resize undecorated frame
src/nsterm.m | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/nsterm.m b/src/nsterm.m