No changes between revisions
/ServerPrivate/Tools/README.txt
0,0 → 1,3
generate_QR.sh - vygeneruje QR kod pro moduly ze seznamu list.txt
 
 
/ServerPrivate/Tools/generate_QR.sh
1,4 → 1,4
 
#!/bin/bash
cat list.txt | while read NAME; do
qrencode -s 15 -l L "http://www.mlab.cz/PermaLink/$NAME" -o "./$NAME-QRcode.png"
done
/ServerPrivate/Tools/generate_QR_all.sh
0,0 → 1,38
#!/bin/bash
cd ../../Modules/
 
echo processing: `pwd`
 
ls | while read CATEGORY; do
if [ -d $CATEGORY ]; then
echo $CATEGORY
cd $CATEGORY # prejde do kategorie modulu
ls | while read NAME; do # vypise seznam modulu
if [ -d $NAME ]; then # zkontroluje jestli vypsane soubory jsou adresare
echo $NAME
if [ -d $NAME/DOC/ ]; then # existuje slozka doc?
if [ -d $NAME/DOC/img/ ]; then
echo slozka img existuje
else
echo slozka img neexistuje
mkdir $NAME/DOC/img/
svn add ./$NAME/DOC/img/
fi
else
echo slozka doc neexistuje
mkdir -p $NAME/DOC/img/
svn add ./$NAME/DOC/
fi
qrencode -s 15 -l L "http://www.mlab.cz/PermaLink/$NAME" -o "./$NAME/DOC/img/$NAME-QRcode.png"
svn add ./$NAME/DOC/img/$NAME-QRcode.png
else
echo "No module names"
fi
done
cd ..
else
echo "No document dir"
fi
done
 
exit 0
Property changes:
Added: svn:executable
+*
\ No newline at end of property
/ServerPrivate/Tools/list.txt
0,0 → 1,33
ATmegaTQ3201A
ATmegaTQ6401A
STM32F10xRxT01A
PIC16F87xTQ4401B
PIC18F4550v01A
PIC18F8xTQ8001A
PICPROGUSB02A
GB01A
LNA01A
RS232SINGLE01A
TTLCAN01B
TTLRS48501A
USB232R01B
USBIO01A
CLKGEN01B
CLKHUB02A
NFET4X01B
TRIACSHARP02A
GSENSE01A
ISL2902001A
THERMOPHILE01A
LCD2L4P02A
TRIMQUAD01A
SDcard01B
OZDUAL02B
ADCmonoSPI01B
INPUTUNI01A
TTLPECL01A
UNIPOWER02A
ALTIMET01A
HBSTEP01A
UNIUNI02A
UNIUNI03A