This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env bash | |
unzip $1 -d $(basename $1 .zip) | |
cd $(basename $1 .zip) | |
# Found out that there might be multiple sxyboxes in the same subdirectory, and the file names | |
# accross the whole tree stucture are unique. So group them manually. | |
# for z in *.7z; do 7z e -o$(basename $z .7z) $z; done | |
7z e . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Use phone as microphone | |
# | |
# This is a striped down version of the ipwebcam-gst tool, initially | |
# made for learning purposes, with two little addons: | |
# - Remove forwarded ports after streaming is finished | |
# - Increase microphone volume | |
# - No waiting for enter to end streaming, just press ctrl-C (habit) | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env bash | |
# Local directory to which remote directory should be mounted | |
LOCAL_DIR=~/mnt | |
# Remote/Androids directory we want to mount localy, i.e. one of it's | |
# subdirectories should contain our database file | |
ANDROID_DIR=/storage/emulated/0/Android/data | |
# Local port that we want to forward to remotes ssh port |