Skip to content

Instantly share code, notes, and snippets.

View tigefa4u's full-sized avatar
πŸ“‰
πŸš€ 😧 β˜• 🚬

Sugeng Tigefa tigefa4u

πŸ“‰
πŸš€ 😧 β˜• 🚬
View GitHub Profile
@tigefa4u
tigefa4u / requirements.txt
Created January 17, 2026 10:20
pip install -r requirements.txt
Brotli==1.1.0
brotlicffi==1.1.0.0
certifi==2025.8.3
cffi==1.17.1
charset-normalizer==3.4.3
cryptography==45.0.5
curl_cffi==0.13.0
idna==3.10
jeepney==0.9.0
mutagen==1.47.0
alias ls='ls --color=auto'
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
alias dir='dir --color=auto'
alias vdir='vdir --color=auto'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
# Add an "alert" alias for long running commands. Use like so:
@tigefa4u
tigefa4u / ffmpeg.md
Created September 30, 2024 01:00 — forked from steven2358/ffmpeg.md
FFmpeg cheat sheet
@tigefa4u
tigefa4u / ffmpeg.md
Created September 30, 2024 00:27 — forked from yunooooo/ffmpeg.md
FFmpeg cheat sheet

FFmpeg Cheat Sheet

A list of useful commands for the ffmpeg command line tool.

Full documentation: https://www.ffmpeg.org/ffmpeg.html

Basic conversion

ffmpeg -i input.mp4 output.mkv
@tigefa4u
tigefa4u / pass.md
Created September 8, 2024 23:42 — forked from sgarciav/pass.md
Initialize your password store

About

Summarizing the instructions of the pass tool (as seen on its website).

Getting Started

Installation

Execute: $ sudo apt install pass

@tigefa4u
tigefa4u / output.py
Created July 14, 2023 10:01
hello world!
hello world!
@tigefa4u
tigefa4u / stable-diffusion-ubuntu-2004-amd.sh
Created July 9, 2023 19:27 — forked from geerlingguy/stable-diffusion-ubuntu-2004-amd.sh
Install Stable Diffusion on an AMD GPU PC running Ubuntu 20.04
# Note: This will only work on Navi21 GPUs (6800/6900+).
# See: https://github.com/RadeonOpenCompute/ROCm/issues/1668#issuecomment-1043994570
# Install Conda (latest from https://docs.conda.io/en/latest/miniconda.html#linux-installers)
wget https://repo.anaconda.com/miniconda/Miniconda3-py39_4.12.0-Linux-x86_64.sh
bash Miniconda3-py39_4.12.0-Linux-x86_64.sh
# follow the prompts to install it, and run `conda` to make sure it's working.
# Install git and curl, and clone the stable-diffusion repo
sudo apt install -y git curl
@tigefa4u
tigefa4u / discord-shortcut-clipboard.md
Last active November 6, 2022 06:25
Discord shortcut Clipboard

reminders

-remindme 14m35s @izzi#9752 rd bt all hidebt

-remindme 10m @izzi#9752 rd bt hidebt

-remindme 5m @izzi#9752 rd bt hidebt
@tigefa4u
tigefa4u / giffer.sh
Created July 15, 2022 04:59 — forked from pwm/giffer.sh
Gif gen
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p ffmpeg pngquant gifski gifsicle
# shellcheck shell=bash
set -euo pipefail
if [[ "$#" -ne 3 ]]; then
echo "Usage: gif.sh <name> <scale> <fps>"
exit 1
fi

Stuff to make gifs

Meshing gif

Here I used glob style input. I also had to pad because the image height was odd

ffmpeg -framerate 10 -pattern_type glob -i '*.jpg' -vf "pad=ceil(iw/2)*2:ceil(ih/2)*2" out.gif

ffmpeg -framerate 20 -pattern_type glob -i '*.jpg' -vf "scale=trunc(iw/4)*2:trunc(ih/4)*2" out.gif