Advanced Search
Search Results
200 total results found
Working with images
#Mount image to first avaliable loop devicesudo losetup -fP --show pivilion.img #Mount second partition (linux partition for Pi) to /mntmount /dev/loop1p2 /mnt#Copy some filescp -R /files/blah/* /mnt/var/www/#Or chroot and insta...
Operating systems
Fubomatic
Automate all the things
fixlab
Fauxbar
Online fubar that both is and isn't fubar. It's quantum fubar. Post quantum fubar.
fubar.space
3. KRATKI POVIJESNI PREGLED (WiP)
U ovom poglavlju ukratko su pojašnjeni koncepti s primjerima umjetničkih djela koja su prethodila istraživanju autonomne digitalne umjetnosti, s obzirom da je cijelo istraživanje postavljeno na raskrižju digitalne umjetnosti i tehnologije te održivosti i ekolo...
New Page
folders
## simple file char cleaning detox -r -v /path/to/your/files ## regex file char sanitization cat original.txt | tr '~?,[]/\=<>:;'""'&$#*()|~`!{}%+' - > modified.txt ## create folders from list xargs mkdir <list.txt
credits
## images from a list (crops first five chars) while IFS="\d*_" read id text; do convert -size 1920x1080 xc:black -font Unifont -fill white -pointsize 36 -gravity center -draw "text 0,0 '$text'" $id.png; done < list.txt images from a list (no cropping, keeps...
playing
#!/bin/bash # infinity-looper-2.sh # Infinite looping script # J.E.HUTTING 21-JAN-2017 #set -x # expand the commands # set here the files to play --------------------------------------------------- FILES=`ls *.*` # ----------------------------------...
files
## rename files in subdirs to name dirs (one level) for x in */*; do dir2=${x%/*}; dir1=${dir2%/*}; dir2=${dir2#"$dir1"} mv -- "$x" "${x%/*}/${dir1}-${dir2}--${x##*/}" done ## find spaces in files find . -type f -name "* *" ## rename spaces in f...
transcoding
#copy all audio into h264 mp4 video with static image (useful for playing back audio with video players (shows cover while playing)) for i in *.mp3; do ffmpeg -loop 1 -i image-file.jpg -i $i -c:a copy -c:v h264 -q:v 255 -shortest -y -s cif -pix_fmt yuv420p m...
meta
all find -maxdepth 2 -name "*.*" -exec ffprobe -v error -select_streams v:0 -show_entries stream=width,height -of csv=s=x:p=0 -i {} \; -exec ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 -sexagesimal -i {} \; -exec ffpr...
mapping
create images from lines in a text file (need an "imgs" subfolder) while read line; do convert -background transparent -fill '#5733af' -pointsize 10 -font Unifont +antialias label:$line imgs/$line.png; done < list.txt once these are created they can be impor...
tree
0. create: tree > tree.txt 1. regex to clean lines up to the extension (leaving only last 3 chars, without the preceeding '.') .*(?=\.). 2. clean extra newlines \n\nto\n 3. regex to replace multiple duplicate lines with one single ^(.*)(\r?\n\1)+$to\1
poster
to-do: write a detailed process 0. consent 1. sort; rename; resize 2. import; stack; median https://imagejdocu.tudor.lu/gui/image/stacks https://imagej.net/software/imagej2/ https://fiji.sc/
Setup pis for fubar2k21
#burn image to sdcard sudo dd bs=32M if=fubar2k21pi.img of=/dev/mmcblk0 #(adjust if and of) #Insert USB before powering pi on, delete any system files on the USB (they will be visible in tree) #rename SSID sudo nano /etc/hosta...