First commit

This commit is contained in:
giomba 2020-03-06 15:58:17 +01:00
commit 45330a58ea
4 changed files with 19 additions and 0 deletions

3
check-cpu-throttle.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq | paste -s | awk '{print $1/$2}'

7
cuesplit.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
FLAC=$(find . -iname "*.flac")
CUE=$(find . -iname "*.cue")
shnsplit -f "$CUE" -t "%n %t" "$FLAC"

6
nat-start.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
iptables -P FORWARD ACCEPT
sysctl -w net.ipv4.ip_forward=1

3
pdf-bw.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
convert -density 300 -colorspace GRAY "$1" "$1.gray.pdf"