This commit is contained in:
stubbfel
2013-06-30 21:56:23 +02:00
commit 1aa14e5344
17 changed files with 612 additions and 0 deletions

1
btuproxy.sh Executable file
View File

@@ -0,0 +1 @@
/home/user/bin/sshproxy.sh localhost:4711 stubbfel@tweety.informatik.tu-cottbus.de

512
deleteDownload.sh Executable file
View File

@@ -0,0 +1,512 @@
[?1049h[?12;25h[?1h="/tmp/crontab.gBgWSO" 0 lines, 0 characters ~
~
~
~
~
~
~"/tmp/crontab.gBgWSO" 0 lines, 0 characters [?5h[?5l[?5h[?5l[?5h[?5l[?5h[?5l[?5h[?5l[?5h[?5l[?5h[?5l[?5h[?5leai:x
[?5h[?5l[?5h[?5l[?5h[?5l[?5h[?5l[?5h[?5l[?5h[?5l[?1049h[?12l[?25h[?1l>
Input read error
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:
At EOF
:[?1049l

3
gnuplottemplate.sh Executable file
View File

@@ -0,0 +1,3 @@
set terminal svg;
set out "test.svg";
plot [0:5] 16-x+(x**2-x)/2;

1
iitproxy.sh Executable file
View File

@@ -0,0 +1 @@
/home/user/bin/sshproxy.sh localhost:4711 git@141.43.76.143

4
listAllTags.sh Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/bash
find /home/user/Dokumente/masterarbeit/masterarbeit/ -name "*.txt" -exec grep -Hn "\[[a-zA-Z]*\]" {} \; > /home/user/Dokumente/masterarbeit/masterarbeit/tags

7
listTag.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
TAG=$1;
PATH=$2;
TYPE=$3
/usr/bin/find $PATH -name "*.$TYPE" -exec /usr/bin/grep -F "[$TAG]" {} \;

3
listToRead.sh Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
sh /home/user/Dokumente/masterarbeit/masterarbeit/scripts/listTag.sh ToRead /home/user/Dokumente/masterarbeit/masterarbeit/ txt > /home/user/Dokumente/masterarbeit/masterarbeit/toDos/toRead;

2
makeMoverSight.sh Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/bash
ssh moversight 'export PATH=$PATH:$HOME/omnetpp-4.2.2/bin;cd /home/student/ubeeme/src/moversight;make all;'

2
makecleanMoverSight.sh Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/bash
ssh moversight 'export PATH=$PATH:$HOME/omnetpp-4.2.2/bin;cd /home/student/ubeeme/src/moversight;make clean;'

45
mkarchiso.sh Executable file
View File

@@ -0,0 +1,45 @@
#!/bin/bash
# usage: ./mkarchiso.sh ISO_IMAGE
KEYMAP=/home/user/Downloads/neo.map.gz
ISO=$1
mkdir -p /tmp/iso /tmp/ext
bsdtar xf $ISO -C /tmp/iso
cd /tmp
unsquashfs -d sfs-i686 iso/arch/i686/root-image.fs.sfs
unsquashfs -d sfs-x86_64 iso/arch/x86_64/root-image.fs.sfs
#unsquashfs -d sfs-any iso/arch/any/usr-share.fs.sfs
mount sfs-i686/root-image.fs ext
cp $KEYMAP ext/usr/share/kbd/keymaps/i386/qwerty/
umount ext
mount sfs-x86_64/root-image.fs ext
cp $KEYMAP ext/usr/share/kbd/keymaps/i386/qwerty/
umount ext
#mount sfs-any/usr-share.fs ext
#cp $KEYMAP ext/usr/share/kbd/keymaps/i386/qwerty/
#umount ext
mksquashfs sfs-i686/root-image.fs{,.sfs} -noappend -comp xz -no-progress
mksquashfs sfs-x86_64/root-image.fs{,.sfs} -noappend -comp xz -no-progress
#mksquashfs sfs-any/usr-share.fs{,.sfs} -noappend -comp xz -no-progress
cp -f sfs-i686/root-image.fs.sfs iso/arch/i686/
cp -f sfs-x86_64/root-image.fs.sfs iso/arch/x86_64/
#cp -f sfs-any/usr-share.fs.sfs iso/arch/any/
cd /tmp/iso/arch
(sed -n '/^.*i686\/root-image\.fs\.sfs$/!p' checksum.i686.md5; md5sum i686/root-image.fs.sfs) > tmp
mv tmp checksum.i686.md5
(sed -n '/^.*x86_64\/root-image\.fs\.sfs$/!p' checksum.x86_64.md5; md5sum x86_64/root-image.fs.sfs) > tmp
mv tmp checksum.x86_64.md5
cd /tmp
rm -rf sfs-*
genisoimage -l -r -J -V "ARCH_201305" -b isolinux/isolinux.bin -no-emul-boot -boot-load-size 4 -boot-info-table -c isolinux/boot.cat -o ~/arch-custom.iso /tmp/iso/

12
pdt2txt.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
for FILE in "$@"
do
pdfseparate "$FILE" pdf2txtTemp-%d.pdf
for i in pdf2txtTemp-*.pdf
do
convert -monochrome -normalize -density 300 $i $i.png
tesseract $i.png $i -l eng+deu
done
cat pdf2txtTemp-*.pdf.txt > "$FILE".txt
rm pdf2txtTemp-*.*
done

3
runSim.sh Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
ssh -Y moversight "cd ubeeme;sh runSim.sh"

4
sshproxy.sh Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/bash
PROXY=$1
REMOTE=$2
ssh -ND $PROXY $REMOTE -v

7
startDevEnv.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
VBoxManage startvm "Moversight Student" --type headless
sshfs moversight:/home/student/ubeeme /home/stubbfel/Dokumente/masterarbeit/masterarbeit/src
gnome-terminal --working-directory=/home/stubbfel/Dokumente/masterarbeit/masterarbeit/scripts
netbeans &

4
stopDevEnv.sh Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/bash
sudo umount /home/stubbfel/Dokumente/masterarbeit/masterarbeit/src
VBoxManage controlvm "Moversight Student" savestate;

1
toarchlamp.sh Executable file
View File

@@ -0,0 +1 @@
ssh -g -L 4712:141.43.76.143:22 stubbfel@tweety.informatik.tu-cottbus.de

1
tweetyproxy.sh Executable file
View File

@@ -0,0 +1 @@
/home/user/bin/sshproxy.sh localhost:4711 stubbfel@tweety.informatik.tu-cottbus.de