Skip to content

Instantly share code, notes, and snippets.

View curiositry's full-sized avatar

Curiositry curiositry

View GitHub Profile
@curiositry
curiositry / format_manuscripts.sh
Last active March 30, 2017 17:19
A little bash script to format manuscripts with Pandoc
#!/bin/sh
echo "Formatting manuscripts..."
for i in "$@"
do
case $i in
-f=*|--filename=*)
FILENAME="${i#*=}"
shift # past argument=value
@SidharthArya
SidharthArya / alttab
Last active July 9, 2025 15:40
Sway Windows Manager Alt Tab behavior
#!/usr/bin/env python3
import sys
import json
import subprocess
direction=bool(sys.argv[1] == 't' or sys.argv[1] == 'T')
swaymsg = subprocess.run(['swaymsg', '-t', 'get_tree'], stdout=subprocess.PIPE)
data = json.loads(swaymsg.stdout)
current = data["nodes"][1]["current_workspace"]
@andreagrandi
andreagrandi / indie_blogs.md
Last active January 7, 2025 04:54
My curated list of indie blogs

My curated list of indie blogs I follow.

This is a curated list of indie blogs I follow. The majority of them are tech related, but not all of them are 100% technical. I've built this list from scratch, often discovering these blogs from links/articles posted on Mastodon.

If you want to suggest me a new blog to follow, you can leave a comment below (spammers will be blocked and reported).

IF I decide to follow the suggested blog, I will take care of adding it to this list.

@hiyukoim
hiyukoim / copy-of-install-ghost-for-free-on-fly-io.ipynb
Last active September 14, 2024 17:06
copy-of-install-ghost-for-free-on-fly-io.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.