Skip to content

Instantly share code, notes, and snippets.

@uGeek
uGeek / commands.txt
Created September 18, 2022 16:14 — forked from DiegoFleitas/commands.txt
youtube-dl (yt-dlp) useful commands
# download first 31 videos from playlist as mp3 ignoring errors
ty-dlp -i --playlist-start 31 --extract-audio --audio-format mp3 -o "%(title)s.%(ext)s" "https://www.youtube.com/playlist?list=PLzIUZKHPb1HbRFdPjNMxsnwngP27R5rk6"
# download first 3 videos from playlist ignoring errors
ty-dlp -i --playlist-end 3 -o "%(title)s.%(ext)s" "https://www.youtube.com/playlist?list=PLzIUZKHPb1HbRFdPjNMxsnwngP27R5rk6"
# backup channel
ty-dlp -f bestvmuideo+bestaudio/best --download-archive archive.txt --merge-output-format mkv -i --all-subs --embed-subs --add-metadata --write-annotations --write-info-json --write-thumbnail --write-description -o "%(uploader)s/%(title)s %(id)s.%(ext)s" --yes-playlist https://www.youtube.com/channel/UCh7zWwSV3xPPzxViCbjJnaQ
# list playlist videos data as json
@uGeek
uGeek / default.conf
Created January 31, 2022 17:23 — forked from meredrica/default.conf
my lilyterm conf
#.config/lilyterm/default.conf
[main]
# Auto save settings when closing window.
auto_save = 0
# The version of this profile's format. DO NOT EDIT IT!
version = 0.9.9
# The default font name of vte terminal.
@uGeek
uGeek / lilyterm_default.conf
Created January 31, 2022 17:14 — forked from nk23x/lilyterm_default.conf
~/.config/lilyterm/default.conf
##
## LilyTerm 0.9.9.4 (2015-11-06)
## ~/.config/lilyterm/default.conf
##
[main]
auto_save = 0
version = 0.9.9.3
@uGeek
uGeek / gallery.sh
Created January 16, 2021 16:45 — forked from MoriTanosuke/gallery.sh
Recursive create a gallery from all images in a directory
@uGeek
uGeek / webdav.conf
Created November 12, 2020 18:38 — forked from pawl/webdav.conf
Installing nginx webdav server on ubuntu 20.04
server {
listen 80;
listen [::]:80;
root /var/dav/webdav_root;
# dav allowed method
dav_methods PUT DELETE MKCOL COPY MOVE;
# Allow current scope perform specified DAV method
dav_ext_methods PROPFIND OPTIONS;
@uGeek
uGeek / RSS.md
Created October 3, 2020 16:05 — forked from thefranke/RSS.md
A list of RSS endpoints, readers and resources

RSS

Please refer to this blogpost to get an overview.

RSS endpoints

Replace *-INSTANCE with one of the public instances listed in the scrapers section. Replace CAPITALIZED words with their corresponding identifiers on the website.

Twitter

@uGeek
uGeek / .stglobalignore
Created February 21, 2020 23:11 — forked from jult/.stglobalignore
syncthing ignore file(s) .stglobalignore and .stignore
// .stglobalignore
// These prevent SyncThing from trying to sync data that's locked, constantly changing, going to be thrown out, unimportant, etc.
// Lots of conflicts/issues disappeared using these ignores, but do check to prevent major disappointment!
// *.log and *cache* are in there, just so you know.. but firefox' startupCache and offlineCache will be synced.
// Decided to stop categorizing these. Sorting them Lexicographically from now on. Ignores are case sensitive.
$RECYCLE.BIN
$WINDOWS.~BT
*.!Sync
@uGeek
uGeek / gist:9cccca4bb924aa0b59269a2ae7637527
Created February 21, 2020 20:41 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@uGeek
uGeek / bash_aliases
Created October 15, 2019 19:10 — forked from MatthewVance/bash_aliases
Bash Aliases
#########
# Aliases
#########
# Configure aliases to work when prefixed with sudo
alias sudo='sudo '
# ------------------------------------
# Apt-get
# ------------------------------------
# Install package (e.g., apti nginx)
@uGeek
uGeek / play.sh
Created October 13, 2019 20:20 — forked from iltempe/play.sh
Suonare un allarme tramite i dati in emergenza
#!/bin/bash
#vedere doc http://python-rsstail.readthedocs.io/en/latest/
rsstail -i 3 -u http://emergency.copernicus.eu/mapping/list-of-components/EMSR261/feed -n 0 | while read line
do
afplay allarme.mp3
echo "$line"
done