Skip to content

Instantly share code, notes, and snippets.

@psiborg
psiborg / distros.md
Last active August 2, 2026 06:22
Linux Distros

Distros

Arch-based

Name Description Based on
Arch A minimalist, lightweight, and bleeding edge distribution that follows a rolling release model and offers customizability. It is a DIY distro for proficient GNU/Linux users who want to tweak their system according to their needs. Independent
blendOS With Android app support and Fedora, Debian, CentOS Stream and Ubuntu containers available, as well as system packages/DEs/kernels from Arch Linux and the AUR. Arch
@psiborg
psiborg / cyberwatch.csv
Last active April 11, 2022 19:46
Sample files for Thoughtworks' Tech Radar (https://www.thoughtworks.com/radar)
id name rcn type ending title teaser quadrant ring TRL MRL Score Median Performance Min Max cwurl
1 AARC2 206338 RIA Apr 2019 Authentication and Authorisation For Research and Collaboration The goal of AARC2 is to design an AAI framework to develop interoperable AAI, to enable researchers to access the whole research and infrastructure service portfolio with one login. AARC2's objectives are:1. enable federated access in research communities participating in... Secure Systems Adopt https://cyberwatching.eu/projects/929/aarc-2
4 AEGIS 210218 CSA Apr 2019 Accelerating EU-US DialoGue for Research and Innovation in CyberSecurity and Privacy AEGIS aims to strengthen dialogues between Europe and the US, in order to facilitate exchange of views, policies and best practices to stimulate cooperation around cybersecurity and privacy R&I, and contribute in shaping the future global cybersecurity and privacy... Cybersecurity Governance Adopt https://cyberwatching.eu/projects/932/aegis
@psiborg
psiborg / mtdl.sh
Last active October 8, 2021 13:23
Batch download a list of URLs
#!/bin/bash
dir="$1"
[ $# -eq 0 ] && { echo "Usage: $0 prefix"; exit 1; }
if [ ! -d "$dir" ]
then
mkdir $dir
fi
@psiborg
psiborg / mx_linux.md
Last active April 5, 2023 20:02
MX Linux
  • Live:
    • Username: demo
    • Password: demo

Installation

  • Domain: local
@psiborg
psiborg / kodi_asian_fonts.md
Last active September 27, 2021 10:28
Display Asian filenames in Kodi
@psiborg
psiborg / ren.sh
Last active September 20, 2021 19:56
Sequentially rename jpg files in a folder
#!/bin/bash
a=1
for i in *.jpg; do
new=$(printf "$1-%04d.jpg" "$a") #04 pad to length of 4
mv -i -- "$i" "$new"
let a=a+1
done
@psiborg
psiborg / flac-mp3.sh
Created September 15, 2021 03:57
ffmpeg
#!/bin/sh
for f in *.flac; do
ffmpeg -i "$f" -ab 128k -map_metadata 0 -id3v2_version 3 "${f%".flac"}.mp3"
done
@psiborg
psiborg / formats.md
Last active September 20, 2021 18:32
youtube-dl
youtube-dl -F https://www.youtube.com/watch\?v\={ID}
[youtube] {ID}: Downloading webpage
[info] Available formats for {ID}:
format code  extension  resolution note
249          webm       audio only tiny   50k , webm_dash container, opus @ 50k (48000Hz), 15.30MiB
250          webm       audio only tiny   56k , webm_dash container, opus @ 56k (48000Hz), 16.93MiB
@psiborg
psiborg / jsc.md
Last active August 27, 2021 20:59
JavaScriptCore - JavaScript runtime in the macOS terminal
@psiborg
psiborg / web-servers.md
Created May 20, 2021 03:14 — forked from willurd/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000