Small fixes January 15, 2010
Posted by Elfi in Computers.trackback
- The live-coding environment Fluxus did not compile on my Arch box, but it was quick to fix it. Compiling fluxus 0.16rc3 against drscheme 4.2.3 and g++ 4.4.2 goes on as follows:
Grab the latest source fluxus-0.16rc3.tar.gz,
dive into the directory
src/fluxus-0.16rc3/libfluxus/src/
and add the line
#include <stdio.h>
to these files:- OBJPrimitiveIO.cpp
- SkinningPrimFunc.cpp
- SkinWeightsToVertColsPrimFunc.cpp
- GenSkinWeightsPrimFunc.cpp
- GLSLShader.cpp
- PolyPrimitive.cpp
- makepkg -e
- pacman -U fluxus-0.16rc3-1-i686.pkg.tar.gz
- Easy backup of regular files I have created/modified during last few days. The sample shows how to limit the size and exclude on the hidden files and/or an EXCLUDE pattern.
find /home/elf \
\( ! -regex ".*/$EXCLUDE/.*" \) \
\( ! -regex '.*/\..*' \) \
-type f \
-mtime -$DAYS \
-size -$SIZE \
-exec cp {} //media/usbstick/daily-backups/$DAYDIR/ \;
.. and just in case, a list of those files and their respective and total size
find /home/elf \
\( ! -regex ".*/$EXCLUDE/.*" \) \
\( ! -regex '.*/\..*' \) \
-type f \
-mtime -$DAYS \
-size -$SIZE \
| tr '\n' '\0' \
| xargs -0 du -ch
Advertisements
Comments»
No comments yet — be the first.