for f in ./**/*.wav; do ffmpeg -y -i "$f" -c:a libmp3lame -ac 1 -q:a 2 -b:a 96k "${f/%wav/mp3}"; done
for f in ./**/*.mp3; do ffmpeg -y -i "$f" -acodec pcm_u8 -ar 22050 "${f/%.mp3/-1.WAV}"; done
for f in ./**/*.wav; do ffmpeg -y -i "$f" -c:a libmp3lame -ac 1 -q:a 2 -b:a 96k "${f/%wav/mp3}"; done
for f in ./**/*.mp3; do ffmpeg -y -i "$f" -acodec pcm_u8 -ar 22050 "${f/%.mp3/-1.WAV}"; done
unzip /*.zip | |
rm *.zip | |
./citygml-tools *.gml --tojson | |
rm *.gml | |
pip install 'cjio[export]' | |
for f in *.json; do cjio "$f" export gml "$f.json"; done | |
rm *.json |
I use our university's NextCloud instance to host my remote teaching videos. But manually generating all those share links that I need is no fun.
Open the folder with all the videos you want to generate share links for. And execute the script. The script will go through the list and click the share button, then click the generate share link button, the resulting share link is than stored in an array and returned in the end.
The script has a filter to check for specifc extensions only.
NextCloud can be a bit slow at times (at least out instance, so you might need to modify the timeout variable.
You need to scroll once to the end of the page, to load all the data.
collect_geometries( | |
array_foreach( | |
generate_series(1, to_int("count"), 1), | |
translate( | |
geom_from_wkt( | |
concat( | |
'LINESTRING(0 50,', | |
to_string(rand(-25, 25, concat("fid", '_x', @element))), | |
' ', | |
to_string(rand(-5, 5, concat("fid", '_y', @element))), |
let fs = require('fs') | |
const { exec } = require('child_process') | |
let minx = 369095.687897, | |
miny = 5799302.08121, | |
maxx = 416868.309276, | |
maxy = 5838240.33418 | |
//ogr2ogr flurstuecke.sqlite -f SQLite flurstuecke.vrt |
sudo apt-get update | |
sudo apt-get install -y git | |
git clone https://github.com/adafruit/pi_video_looper.git | |
cd pi_video_looper | |
sudo ./install.sh | |
sudo reboot |
/* OLD TWITTER UI */ | |
.tweet-text { | |
font-family:"BLOKK Neue" !important; | |
} | |
.tweet-text a, | |
.tweet-text a *{ | |
font-family:"Helvetica Neue",Helvetica,Arial,sans-serif !important; | |
} |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
The slider is taken from http://bl.ocks.org/shancarter/5979700
Inspired by "Enhancing Scatterplots with Multi-Dimensional Focal Blur", Joachim Staib, Sebastian Grottel, Stefan Gumhold - EuroVis 2016