I hereby claim:
- I am cobesz on github.
- I am cobesz (https://keybase.io/cobesz) on keybase.
- I have a public key ASDTT3cBcxmKTPQRH4b3ipDN2u1svwlIRjmWtbWB1rIjcwo
To claim this, I am signing this object:
#!/bin/bash | |
array=($(ls /home/)) | |
for i in "${array[@]}"; do #loop through all users in home folder | |
if [ $i = user_1 ] || [ $i = user_2 ]; then #exclude certain users | |
echo "Skipped $1" | |
else | |
echo $i | |
cd /home/$i/<path>/<to>/<wordpress>/<dir>/* |
#!/bin/bash | |
INPUT="$1" | |
OUTPUT="$(basename "${INPUT%.*}")" | |
ffmpeg -i "${INPUT}" \ | |
-vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" \ | |
"${OUTPUT}.mp4" |
#!/bin/bash | |
INPUT="$1" | |
OUTPUT="$(basename "${INPUT%.*}")" | |
ffmpeg -i "${INPUT}" \ | |
-vf "fps=10,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" \ | |
-loop -1 \ | |
"${OUTPUT}.gif" | |
gifsicle --optimize=3 --output "${OUTPUT}-optimized.gif" --resize-height 600 "${OUTPUT}.gif" |
#!/bin/bash | |
xrandr --output HDMI-0 --mode 1920x1080 --rate 60.00 \ | |
--output DVI-D-0 --mode 1920x1080 --rate 60.00 | |
sleep 5 | |
xrandr --output HDMI-0 --primary --mode 1920x1080 --rate 60.00 \ | |
--output DVI-D-0 --mode 3840x2160 --rate 60.00 |
I hereby claim:
To claim this, I am signing this object: