Skip to content

Instantly share code, notes, and snippets.

View cirrusUK's full-sized avatar
💭
Dunroamin, Duncarin, Dunlivin.

cirrus cirrusUK

💭
Dunroamin, Duncarin, Dunlivin.
View GitHub Profile
#!/bin/sh
# colors {{{
c_red="\033[1;31m"
c_green="\033[1;32m"
c_yellow="\033[1;33m"
c_blue="\033[1;34m"
c_magenta="\033[1;35m"
c_cyan="\033[1;36m"
c_reset="\033[0m"
c_bold="\033[1m"
#!/bin/bash
date +%H:%M | festival --tts
exit
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives
#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
@cirrusUK
cirrusUK / hexpick
Created May 5, 2024 15:43
copy defined hex colorcode to clipboard
#!/usr/bin/env bash
## Copyright (C) 2020-2024 <[email protected]>
##
## Simple script to pick color quickly.
color=$(xcolor --format hex --preview-size 255 --scale 10)
image=/tmp/${color}.png
main() {
@cirrusUK
cirrusUK / skeet_xhamster.sh
Created April 19, 2024 21:43
xhamster.sh
#!/bin/bash
#
# ▓▓▓▓▓▓▓▓▓▓
# ░▓ author ▓ cirrus <[email protected]>
# ░▓ code ▓ https://gist.github.com/cirrusUK
# ░▓ mirror ▓ http://cirrus.turtil.net
# ░▓▓▓▓▓▓▓▓▓▓
# ░░░░░░░░░░
@cirrusUK
cirrusUK / alacritty.toml
Last active April 27, 2024 05:52
alacritty migrate from .yml to .toml format
# $HOME/.config/alacritty/alacritty.toml
# by Rito Ghosh 2023-10-06
# Alacritty now uses TOML formatting for its config files.
# This is a simple example.
# There are the specification here: https://github.com/alacritty/alacritty/blob/master/extra/man/alacritty.5.scd
# It is not obvious how it translates to TOML. But it is extremely straightforward.
# example: WINDOW, COLORS, etc. are tables, and should be represented as [window], [colors], respectively.
@cirrusUK
cirrusUK / ytdlp.bat
Created December 6, 2023 14:19
Battch file for yt-dlp : handy for the 'open with'' browser extension for kwik video,audio downloads
@ECHO OFF
SET DnBest=--hls-prefer-native --add-metadata -f best
SET DnBestAudVid=--hls-prefer-native --add-metadata
SET DnBestUnmerge=--hls-prefer-native --add-metadata -f "bestvideo,bestaudio"
SET DnBestMP4_MPA=--hls-prefer-native --add-metadata -f "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best"
SET DnBestMP4_AAC=--hls-prefer-native --add-metadata -f "bestvideo[ext=mp4]+bestaudio[ext=aac]/best[ext=mp4]/best"
SET DnMP3=--write-all-thumbnails --hls-prefer-native --add-metadata --embed-thumbnail -f bestaudio/best -x --audio-quality 1 --audio-format mp3
SET DnAAC=--write-all-thumbnails --hls-prefer-native --add-metadata --embed-thumbnail -f bestaudio/best -x --audio-quality 1 --audio-format aac
SET DnM4A=--write-all-thumbnails --hls-prefer-native --add-metadata --embed-thumbnail -f bestaudio/best -x --audio-quality 1 --audio-format m4a
@cirrusUK
cirrusUK / d0cum3ntaries.m3u
Created October 2, 2022 23:29
934 documentaries m3u plsylist
#EXTM3U
# Playlist created by SMPlayer 22.7.0 (revision 10091)
#EXTINF:0,https://doc.downloadha.com/Behnam/Documentaries/February2018/Animals.with.Cameras.S01E01.PROPER.WEBRip.x264-ION10_www.Downloadha.com_.mp4
https://doc.downloadha.com/Behnam/Documentaries/February2018/Animals.with.Cameras.S01E01.PROPER.WEBRip.x264-ION10_www.Downloadha.com_.mp4
#EXTINF:0,https://doc.downloadha.com/Behnam/Documentaries/February2018/Animals.with.Cameras.S01E01.REPACK.1080p.AMZN.WEB-DL.DDP2.0.H.264-NTb_www.Downloadha.com_.mkv
https://doc.downloadha.com/Behnam/Documentaries/February2018/Animals.with.Cameras.S01E01.REPACK.1080p.AMZN.WEB-DL.DDP2.0.H.264-NTb_www.Downloadha.com_.mkv
#EXTINF:0,https://doc.downloadha.com/Behnam/Documentaries/February2018/Animals.with.Cameras.S01E01.REPACK.720p.AMZN.WEBRip.DDP2.0.x264-NTb_www.Downloadha.com_.mkv
https://doc.downloadha.com/Behnam/Documentaries/February2018/Animals.with.Cameras.S01E01.REPACK.720p.AMZN.WEBRip.DDP2.0.x264-NTb_www.Downloadha.com_.mkv
#EXTINF:0,https://doc.downloadha.com/B
@cirrusUK
cirrusUK / flyrics
Last active April 27, 2024 05:53
Fuzzy find lyrics and show on scren with on screen display
#!/bin/sh
# Get song lyrics from your chosen source_dir (mp3 folder) lyrico will save lyric files in defined lyrics_dir
# DEPENDENCY : lyrico https://github.com/abhimanyuPathania/lyrico, pv : https://github.com/icetee/pv, \
# osd_cat : http://www.linuxintro.org/wiki/Osd_cat and fzf : https://github.com/junegunn/fzf
dir=(/home/cirrus/.lyrics)
get_selection() {
for p in $dir; do
ls "$p"
done \
| fzf --ansi --height 80% --color fg:-1,bg:-1,hl:4,fg+:3,bg+:233,hl+:4 --color info:150,prompt:3,spinner:150,pointer:3,marker:174,border:11 --border=sharp --prompt='➤ ' --exit-0
@cirrusUK
cirrusUK / yt651.m3u
Last active April 27, 2024 05:53
mostly true crime documentaries from you stare.
#EXTM3U
# Playlist created by SMPlayer 22.2.0 (revision 10060)
#EXTINF:0,https://www.youtube.com/watch?v=-8gIahvAcas
https://www.youtube.com/watch?v=-8gIahvAcas
#EXTINF:0,https://www.youtube.com/watch?v=-D_54aJrhzk
https://www.youtube.com/watch?v=-D_54aJrhzk
#EXTINF:0,https://www.youtube.com/watch?v=-Pk0ti9jn6Q
https://www.youtube.com/watch?v=-Pk0ti9jn6Q
#EXTINF:0,https://www.youtube.com/watch?v=-VhZKipyMKY
https://www.youtube.com/watch?v=-VhZKipyMKY