Skip to content

Instantly share code, notes, and snippets.

View tonkku107's full-sized avatar
🤔
Thonking

Tonkku tonkku107

🤔
Thonking
View GitHub Profile
#!/bin/bash
#**
# Screenshot wrapper script by Tonkku
# Since I couldn't find a screenshot app that fit my needs,
# I made this wrapper script over flameshot.
# Only downside rn is that it doesn't capture the cursor.
#
# Depends on
# - flameshot
@tonkku107
tonkku107 / yoink-subs.sh
Created July 3, 2021 18:32
Script for copying subtitles between mkv files
#!/bin/bash
###
# Copies subtitles from mkv files in from/ folder to mkv files in to/ folder
# Output mkv files are saved in an out/ folder
###
# Get file lists
source_files=(from/*)
source_files=( "${source_files[@]##*/}" )
#!/bin/bash
set -m
#**
# Screenrecorder script by Tonkku
# Credit goes to lots of Googling which finally brought me to
# https://www.reddit.com/r/i3wm/comments/7ahbvv/what_do_you_use_to_make_gif_screen_capture/dpavjo7
# Which was basically what I was doing originally but in a nicer form.
# Then I expanded it according to my original plans.
#
@tonkku107
tonkku107 / facts.json
Last active August 6, 2019 13:50 — forked from aetheryx/facts.json
Cat Facts in JSON
[
"A 2007 Gallup poll revealed that both men and women were equally likely to own a cat.",
"A cat almost never meows at another cat, mostly just humans. Cats typically will spit, purr, and hiss at other cats.",
"A cat called Dusty has the known record for the most kittens. She had more than 420 kittens in her lifetime.",
"A cat can jump 5 times as high as it is tall.",
"A cat can jump up to five times its own height in a single bound.",
"A cat can spend five or more hours a day grooming himself.",
"A cat can sprint at about thirty-one miles per hour.",
"A cat can travel at a top speed of approximately 31 mph (49 km) over a short distance.",
"A cat cannot see directly under its nose.",
@tonkku107
tonkku107 / tix.tax.color.schemes.md
Last active December 8, 2020 21:59
Color Schemes for tix.tax.

To enable any of these, enter one of the possible values in the name field.

Color Schemes

Default: reset, default, normal
Night: zzzzzzzzzz
Ubuntu: ubuntu
Nature: go play outside
Pink Everywhere: 💖💖💖💖💖, 💕💕💕💕💕, 💗💗💗💗💗, 💙💙💙💙💙, 💚💚💚💚💚, 💛💛💛💛💛, 💜💜💜💜💜, 💝💝💝💝💝, 💞💞💞💞💞, 💟💟💟💟💟, 🧡🧡🧡🧡🧡, ❤️❤️❤️❤️❤️, 🖤🖤🖤🖤🖤, ♡♡♡♡♡, ♥♥♥♥♥, ❤❤❤❤❤, <3<3<3<3<3
Same Color (Blue): what is going on
Same Color (Red): what is happening

Keybase proof

I hereby claim:

  • I am tonkku107 on github.
  • I am tonkku107 (https://keybase.io/tonkku107) on keybase.
  • I have a public key whose fingerprint is C3E1 8DB1 8F3A 9482 72B1 5915 4889 F359 87A1 1F43

To claim this, I am signing this object: