An alias that will generate a git commit message staged changes as shown in git-status. Put this alias (section below) in your .gitconfig
.
The message generated will be in the format of:
$ git status --porcelain
A file1.py
A file2.py
A file3.py
{ | |
"input": { | |
"blocklist": [], | |
"compressor": { | |
"attack": 20.0, | |
"boost-amount": 6.0, | |
"boost-threshold": -72.0, | |
"hpf-frequency": 10.0, | |
"hpf-mode": "off", | |
"input-gain": 0.0, |
#!/bin/bash | |
systemctl stop snapd.socket | |
systemctl stop snapd.service | |
systemctl disable snapd.socket | |
systemctl disable snapd.service | |
apt purge snapd | |
rm -rf ~/snap /snap /var/snap /var/lib/snapd /var/cache/snapd /usr/lib/snapd |
# WIP | |
# The script is compatible with Canonical Ubuntu (Always Free Eligible) Minimal | |
sudo apt update | |
sudo apt install wireguard | |
# ifconfig to check your interfae | |
# for Ubuntu 20.04 Minimal 2021.03.25-0 it's ens3 | |
# Generate keys (WIP) |
#!/bin/bash | |
# | |
# ~/.local/bin/btswitch | |
# | |
# wait a second this is too fast for udev | |
sleep 1 | |
btdev="$(pactl list sinks|grep Name|grep 'bluez.*.a2dp.sink'|sed 's/Name: //'|sed 's/\s//')" | |
if [ -n "$btdev" ]; then |
KEYMAPOPTS="us us" | |
HOSTNAMEOPTS="-n alpine" | |
INTERFACESOPTS="auto lo | |
iface lo inet loopback | |
auto eth0 | |
iface eth0 inet dhcp | |
hostname alpine | |
" | |
TIMEZONEOPTS="-z UTC" |
This guide shows how to build Linux on a Android Device and was made for people that doesn't have s Computer.
You need to install Termux
On void linux. | |
Under `/etc/containers/` there is a file called `registries.conf`. It is complemented by `man 5 containers-registries.conf`. | |
Change (for me lines 11-12) which say | |
[registries.search] | |
registries = [] | |
<?php | |
// Proxy script for Shoutcast audio streams. | |
// Overcomes the CORS issue when using JavaScript to fetch streams for playback and analysis. | |
// Also http > https | |
/* | |
// .htaccess file | |
// eg: index.php and .htaccess in /radio on your host. | |
// Point JS/fetch to https://yourhost/radio/audio.mp3 (or any made-up .mp3 name) |