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
Avenging Spirit | |
B.Rap Boys | |
Chanbara | |
Dungeon Magic | |
Exvania | |
Fortress 2 Blue Arcade | |
Gundhara | |
Hopper Robo | |
Itazura Tenshi | |
Joinem |
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
# Some shell commands to investigate startup times of Vim. | |
# Intended to be used on their own, in example by copy-paste. | |
# Measure the startup time. | |
vim --startuptime /dev/stdout +qall && echo && time vim +q | |
# Remove the first column and sort the output based on time elapsed for that particular entry. | |
vim --not-a-term --startuptime /dev/stdout +qall | awk '{$1="" ; print $0}' | grep -E '^ *[0-9]' | sort | |
# Get detailed information. |
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
#!/bin/env bash | |
# https://gist.github.com/thingsiplay/21595bf70743dde56539696f7bd942ad | |
# Downloads playlists from "balb" user to be used in RetroArch under native | |
# installation for Linux. It will download all playlists, convert internal | |
# paths, change the filename and move it to the playlists folder. You have to | |
# set all three "_dir" variables below, as the default values are only my | |
# personal setup. |
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
#!/bin/sh | |
fc-list \ | |
| grep -ioE ": [^:]*$1[^:]+:" \ | |
| sed -E 's/(^: |:)//g' \ | |
| tr , \\n \ | |
| sort \ | |
| uniq |
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
#reference "shaders_slang/presets/crt-royale-kurozumi.slangp" | |
geom_mode_runtime = "3.000000" | |
interlace_detect_toggle = "0.000000" |
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
#!/bin/env bash | |
input="$(mktemp)" | |
output="$(mktemp)" | |
import "$input.png" | |
tesseract -l eng "$input.png" "$output" 2> /dev/null | |
cat "$output.txt" | |
rm -f "$input" |
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
#!/bin/env bash | |
# biggest - list biggest files and folders | |
# | |
# Usage: | |
# biggest | |
# biggest *.png | |
du --apparent-size --all --max-depth 1 --one-file-system "$@" \ | |
| sort --numeric-sort --ignore-leading-blanks --reverse \ |
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
#!/bin/env bash | |
# Count unread mails in Thunderbird and write to stdout. | |
# Usage: | |
# checkmails.sh | |
# Path to your Thunderbird profile. | |
profile="$HOME/.thunderbird/aabbcc007.default" | |
# Regex to find the unread message lines. |
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
# cdd - jump to a directory you visited previously | |
# A Function for ZSH config file. | |
# | |
# Usage: | |
# $ cdd | |
# $ cdd "regex" | |
# | |
# Don't forget to enable "setopt auto_pushd", so that each "cd" command will | |
# add a folder to the list automatically. | |
# |
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
#!/bin/env bash | |
# py - check Python script with mypy and flake8, then execute it | |
export PATH=".:$PATH" | |
file=$(/usr/bin/which --skip-alias --skip-functions "$1") | |
shift | |
export MYPY_CACHE_DIR="/tmp/.mypy_cache" | |
mkdir -p "$MYPY_CACHE_DIR" | |
mypy "$file" \ |