Skip to content

Instantly share code, notes, and snippets.

Avatar
📉
🚀 😧 🚬

Sugeng Tigefa tigefa4u

📉
🚀 😧 🚬
View GitHub Profile
@tigefa4u
tigefa4u / discord-shortcut-clipboard.md
Last active Nov 6, 2022
Discord shortcut Clipboard
View discord-shortcut-clipboard.md

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 Jul 15, 2022 — forked from pwm/giffer.sh
Gif gen
View giffer.sh
#!/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
View gifs.md

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

@tigefa4u
tigefa4u / caddy-install-guide.md
Created Jun 18, 2022 — forked from coocheenin/caddy-install-guide.md
This is in-depth guide how to install a Caddy web server as service, that running from regular unprivileged user.
View caddy-install-guide.md

How to install and configure Caddy, a modern web server, running as a service on CentOS 6.8. You will also obtain a free SSL-Certificate for a website automatically.

This is in-depth guide how to install a modern web server named Caddy as service, that running from regular unprivileged user. You will also obtain a Free SSL-Certificate for a Website automatically.

Why Caddy?

Apache and Nginx are the two most common web servers in the world. Apache is a classical solution, but due to it's memory consumption (because to it's nature of creating a new process for each request) we will leave it for another occasion. Nginx is very fast and the RAM consumption is very-very low, if we need to serve static pages. But Nginx's configuration is not to easy read and understand, this is why we will try more flexible and clear solution, which is more intended for newbies.

Caddy is written is Go, open-source and pretty fast web server. If you're looking for low-memory solution the Cadd

@tigefa4u
tigefa4u / windows_activation.md
Created Jun 14, 2022 — forked from butageek/windows_activation.md
Activate Windows for free
View windows_activation.md

For Windows 10

Step 1 - Open PowerShell or Command Prompt as administrator

Step 2 - Install KMS client key

slmgr /ipk your_license_key

Replace your_license_key with following volumn license keys according to Windows Edition:

@tigefa4u
tigefa4u / tilix_ubuntu_guide.md
Created May 27, 2022 — forked from agtbaskara/tilix_ubuntu_guide.md
Installation Guide for Tilix on Ubuntu
View tilix_ubuntu_guide.md

Install Tilix on Ubuntu 20.04

Install Tilix

sudo apt-get install tilix

Fix Tilix VTE

sudo ln -s /etc/profile.d/vte-2.91.sh /etc/profile.d/vte.sh
sudo chmod +x /etc/profile.d/vte.sh
View .upptimerc.yml
owner: tigefa4u # Your GitHub organization or username, where this repository lives
repo: status # The name of this repository
runner: [ubuntu-latest]
user-agent: tigefa4u
sites:
- name: Tigefa
url: https://tigefa.com
icon: https://tigefa.com/favicon.ico
- name: Tigefa Neet
View keybase.md

Keybase proof

I hereby claim:

  • I am tigefa4u on github.
  • I am tigefa (https://keybase.io/tigefa) on keybase.
  • I have a public key ASD5FKhK2M8AsH2ye1ynP_izletSuP7Pzh64wusJsOiDmwo

To claim this, I am signing this object:

@tigefa4u
tigefa4u / .licrc
Created Jan 17, 2022 — forked from robertohuertasm/.licrc
Simple .licrc config file for Licensebat
View .licrc
[licenses]
# This indicates which are the only licenses that Licensebat will accept.
# The rest will be flagged as not allowed.
accepted = ["MIT", "MSC", "BSD"]
# This will indicate which licenses are not accepted.
# The rest will be accepted, except for the unknown licenses or dependencies without licenses.
# unaccepted = ["LGPL"]
# Note that only one of the previous options can be enabled at once.
# If both of them are informed, only accepted will be considered.