Skip to content

Instantly share code, notes, and snippets.

View deobald's full-sized avatar
🧀
eating cheese and being afraid

Steven Deobald deobald

🧀
eating cheese and being afraid
View GitHub Profile

@yuvipanda I'm guessing that Evernote is the closest thing to this vision I've had for decades, but I think what I've always wanted (but never badly enough to bother building) was the thing you've roughly described in your post. My mental codename for this project I never even started was always Heap (before heap.io ever existed).

My first inklings toward this sort of tooling emerged when the first real versions of Gmail were released. I started shoving all sorts of weird data in there because it was easy to email a thing to myself and the search was medium-pretty-good. "Oh, that was harder to find than I thought." :Reply-to-email-to-self with some keywords smashed in haphazardly: It was certainly good enough and it was free-er or as-free as Evernote so I never bothered paying money for a thing I barely trust to proprietary software anyway.

At some point I realized that what I wanted was the digital equivalent of Samus Aran's Locker: https://metroid.fandom.com/wiki/The_Locker ...just a place to shove all my

env = sandbox
.PHONY: help init test run
# HELP sourced from https://gist.github.com/prwhite/8168133
# Add help text after each target name starting with '\#\#'
# A category can be added with @category
HELP_FUNC = \
%help; \
while(<>) { \
if(/^([a-z0-9_-]+):.*\#\#(?:@(\w+))?\s(.*)$$/) { \
@deobald
deobald / install-openjdk-macos.sh
Last active October 12, 2022 00:03
How to install OpenJDK 11 on Mac OS Big Sur
# ==== METHOD ONE ====
brew install openjdk@17
# ==== METHOD TWO ====
#!/bin/sh
cd ~/Downloads
# Intel:
wget https://download.java.net/java/GA/jdk17.0.2/dfd4a8d0985749f896bed50d7138ee7f/8/GPL/openjdk-17.0.2_macos-x64_bin.tar.gz
# ARM:
@deobald
deobald / reorder_txt.clj
Last active April 15, 2021 21:44
Clean up Pariyatti Daily Words translations
#!/usr/bin/env bb
#_( ;; Allow this script to be executed directly
"exec" "bb" -o "--classpath" "." "$0" "$@"
)
;; == How To Use This File ==
;;
;; 0) Copy the English daily words file (`daily_words_one_loop.txt`) and another
;; language (ex. `daily_words_one_loop_espanol.txt`) into the directory where
;; you have downloaded this script.
@deobald
deobald / follow_link.py
Created April 29, 2021 20:14
Follow a link with Beautiful Soup
@deobald
deobald / write-the-readme.adoc
Last active November 7, 2023 21:08
Write The Readme

Write The Readme

You must write a README. This is not optional. It is where everyone begins to understand your software. Yourself included.

Who: You are writing the README for future readers. Yourself included. "Who is responsible for the README?" is a question which will be answered in the end.

HOW

@deobald
deobald / how-to-rebase.sh
Created October 16, 2021 00:11
how-to-rebase
# because I will never, ever remember
git co master
git pull
git co <branch>
git rebase master
git pull --rebase
git push
@deobald
deobald / words_of_buddha.json
Created August 25, 2022 22:41
Sample "Daily Words" Translation
{
"original_audio_url": "https://download.pariyatti.org/dwob/samyutta_nikaya_1_150.mp3",
"citepali": "Saṃyutta Nikāya 1.150",
"bookmarkable": true,
"words": "Hitānukampī sambuddho\nyadaññamanusāsati,\nanurodhavirodhehi\nvippamutto tathāgato.",
"type": "words_of_buddha",
"header": "Words of the Buddha",
"shareable": true,
"published_at": "2022-08-25T12:01:00.828338231000Z",
"citebook_url": "https://store.pariyatti.org/Gemstones-of-the-Good-Dhamma-WH342-4_p_1679.html",
@deobald
deobald / no-screens-sleep.txt
Created October 21, 2022 17:21
gnome: turn off screen sleep
[steven@terasa ~]$ gsettings get org.gnome.desktop.session idle-delay
uint32 300
[steven@terasa ~]$ gsettings set org.gnome.desktop.session idle-delay 0
[steven@terasa ~]$ gsettings get org.gnome.desktop.session idle-delay
uint32 0
;; i want this:
[:time_value
{:tag :cat,
:parsers
'({:tag :nt, :keyword :hours_value}
{:tag :nt, :keyword :colon, :hide true}
{:tag :nt, :keyword :minutes_value}
{:tag :nt, :keyword :colon, :hide true}
{:tag :nt, :keyword :seconds_value})}]