code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/sh ./package.sh scp BUILD/*.tgz root@sergiocarvalho.com:/home/httpd/vhosts/com/sergiocarvalho/pear-base/pear (cd docs; ./generate.sh) scp -r docs/html/* root@iluvatar.portugalmail.pt:/home/httpd/vhosts/com/sergiocarvalho/pear-base/pear/docs/Structures_Graph
Shell
#!/bin/sh ./package.sh scp BUILD/*.tgz root@sergiocarvalho.com:/home/httpd/vhosts/com/sergiocarvalho/pear-base/pear (cd docs; ./generate.sh) scp -r docs/html/* root@iluvatar.portugalmail.pt:/home/httpd/vhosts/com/sergiocarvalho/pear-base/pear/docs/Structures_Graph
Shell
#! /bin/sh # $Id: run.cvs,v 1.3 2004/02/20 18:57:51 danielc Exp $ # vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv # PEAR DB TEST STARTER # # To run all tests: ./run # To run one test: ./run <test file name> # Example: ./run db_parsedsn.phpt # # Before running the tests you must adjust the # fo...
Shell
#! /bin/sh # $Id: run.cvs,v 1.2 2004/02/20 18:57:52 danielc Exp $ # vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv # PEAR DB TEST STARTER # # To run all tests: ./run # To run one test: ./run <test file name> # Example: ./run db_parsedsn.phpt # # Before running the tests you must adjust the # fo...
Shell
#! /bin/sh # $Id: run.cvs,v 1.2 2004/02/20 18:57:52 danielc Exp $ # vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv # PEAR DB TEST STARTER # # To run all tests: ./run # To run one test: ./run <test file name> # Example: ./run db_parsedsn.phpt # # Before running the tests you must adjust the # fo...
Shell
#! /bin/sh # $Id: run.cvs,v 1.3 2004/02/20 18:57:51 danielc Exp $ # vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv # PEAR DB TEST STARTER # # To run all tests: ./run # To run one test: ./run <test file name> # Example: ./run db_parsedsn.phpt # # Before running the tests you must adjust the # fo...
Shell
#!/bin/sh (cd ..; tar czf docs/arch.tgz "{arch}") rm -Rf "../{arch}" rm -Rf ./html mkdir -p ./html phpdoc --directory ../Structures,./tutorials --target ./html --title "Structures_Graph Documentation" --output "HTML:frames" --defaultpackagename structures_graph --defaultcategoryname structures --pear (cd ..; tar --abs...
Shell
#!/bin/sh (cd ..; tar czf docs/arch.tgz "{arch}") rm -Rf "../{arch}" rm -Rf ./html mkdir -p ./html phpdoc --directory ../Structures,./tutorials --target ./html --title "Structures_Graph Documentation" --output "HTML:frames" --defaultpackagename structures_graph --defaultcategoryname structures --pear (cd ..; tar --abs...
Shell
#!/bin/bash # chkconfig: 345 95 05 . /etc/init.d/functions PIDFILE=/tmp/WeBIAS.pid WEBIAS=/var/WeBIAS/biasdev/WeBIAS.py # Start the service WeBIAS start() { if [ -f $PIDFILE ]; then echo "There is another instance of WeBIAS running with PID:" $(cat $PIDFILE) else echo "Startin...
Shell
#!/bin/bash TMPDIR=`mktemp -d` cat << EOF This script prepares a zip file containing source code of the WeBIAS server to be published to conform with the AGPL license. It assumes that WeBIAS has been checked out from the Subversion repository (it queries SVN to determine files belonging to the distribution). If yo...
Shell
#!/bin/bash TMPDIR=`mktemp -d` cat << EOF This script prepares a zip file containing source code of the WeBIAS server to be published to conform with the AGPL license. It assumes that WeBIAS has been checked out from the Subversion repository (it queries SVN to determine files belonging to the distribution). If yo...
Shell
#!/bin/bash # chkconfig: 345 95 05 . /etc/init.d/functions PIDFILE=/tmp/WeBIAS.pid WEBIAS=/var/WeBIAS/biasdev/WeBIAS.py # Start the service WeBIAS start() { if [ -f $PIDFILE ]; then echo "There is another instance of WeBIAS running with PID:" $(cat $PIDFILE) else echo "Startin...
Shell
#!/bin/sh if [ -z "$*" ]; then files=`ls` else files="$*" fi for file in $files; do echo "Downloading $file..." wget -q http://webiopi.googlecode.com/svn/wiki/$file.wiki && echo "Processing $file..." && mv $file.wiki $file && sed -i 's/<font color="red">\|<\/font>//g' $file && sed -i 's/<pre>\|<\/pre>//g' $f...
Shell
#!/bin/sh if [ -z "$*" ]; then files=`ls` else files="$*" fi for file in $files; do echo "Downloading $file..." wget -q http://webiopi.googlecode.com/svn/wiki/$file.wiki && echo "Processing $file..." && mv $file.wiki $file && sed -i 's/<font color="red">\|<\/font>//g' $file && sed -i 's/<pre>\|<\/pre>//g' $f...
Shell
#!/bin/sh SEARCH="python python3" FOUND="" INSTALLED="" echo "Installing WebIOPi...\n" cd python for python in $SEARCH; do program=`which $python` if [ -x $program ]; then FOUND="$FOUND $python" version=`$python -V 2>&1` include=`$python -c "import distutils.sysconfig; print(distutils.sysconfig.get_python_in...
Shell
#!/bin/sh SEARCH="python python3" FOUND="" INSTALLED="" echo "Installing WebIOPi...\n" cd python for python in $SEARCH; do program=`which $python` if [ -x $program ]; then FOUND="$FOUND $python" version=`$python -V 2>&1` include=`$python -c "import distutils.sysconfig; print(distutils.sysconfig.get_python_in...
Shell
#! /bin/sh ### BEGIN INIT INFO # Provides: webiopi # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: WebIOPi initscript # Description: WebIOPi initscript ### END INIT INFO # Author: trouch <trouch@...
Shell
#! /bin/sh ### BEGIN INIT INFO # Provides: webiopi # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: WebIOPi initscript # Description: WebIOPi initscript ### END INIT INFO # Author: trouch <trouch@...
Shell
#!/bin/sh # WebIOPi PiStore launch script VERSION=`python -c "import webiopi; print(webiopi.VERSION)"` if [ "$VERSION" != "0.5.3" ]; then echo "Update required..." chmod 777 setup.sh sudo ./setup.sh fi # Start WebIOPi service sudo /etc/init.d/webiopi start # Launch the browser midori -c `pwd`/midori -a http://loc...
Shell
#!/bin/sh if [ -z "$*" ]; then files=`ls` else files="$*" fi for file in $files; do echo "Downloading $file..." wget -q http://webiopi.googlecode.com/svn/wiki/$file.wiki && echo "Processing $file..." && mv $file.wiki $file && sed -i 's/<font color="red">\|<\/font>//g' $file && sed -i 's/<pre>\|<\/pre>//g' $f...
Shell
#!/bin/sh if [ -z "$*" ]; then files=`ls` else files="$*" fi for file in $files; do echo "Downloading $file..." wget -q http://webiopi.googlecode.com/svn/wiki/$file.wiki && echo "Processing $file..." && mv $file.wiki $file && sed -i 's/<font color="red">\|<\/font>//g' $file && sed -i 's/<pre>\|<\/pre>//g' $f...
Shell
#! /bin/sh ### BEGIN INIT INFO # Provides: webiopi # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: WebIOPi initscript # Description: WebIOPi initscript ### END INIT INFO # Author: trouch <trouch@...
Shell
#! /bin/sh ### BEGIN INIT INFO # Provides: webiopi # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: WebIOPi initscript # Description: WebIOPi initscript ### END INIT INFO # Author: trouch <trouch@...
Shell
#! /bin/sh ### BEGIN INIT INFO # Provides: webiopi # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: WebIOPi initscript # Description: WebIOPi initscript ### END INIT INFO # Author: trouch <trouch@...
Shell
#! /bin/sh ### BEGIN INIT INFO # Provides: webiopi # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: WebIOPi initscript # Description: WebIOPi initscript ### END INIT INFO # Author: trouch <trouch@...
Shell
#!/bin/sh # WebIOPi setup script SEARCH="python python3" FOUND="" INSTALLED="" echo "Installing WebIOPi...\n" # Install Python library cd python # Look up for installed python for python in $SEARCH; do program="/usr/bin/$python" if [ -x $program ]; then FOUND="$FOUND $python" version=`$python -V 2>&1` inclu...
Shell
#!/bin/sh # WebIOPi PiStore launch script VERSION=`python -c "import webiopi; print(webiopi.VERSION)"` if [ "$VERSION" != "0.5.3" ]; then echo "Update required..." chmod 777 setup.sh sudo ./setup.sh fi # Start WebIOPi service sudo /etc/init.d/webiopi start # Launch the browser midori -c `pwd`/midori -a http://loc...
Shell
#!/bin/sh # WebIOPi setup script SEARCH="python python3" FOUND="" INSTALLED="" echo "Installing WebIOPi...\n" # Install Python library cd python # Look up for installed python for python in $SEARCH; do program="/usr/bin/$python" if [ -x $program ]; then FOUND="$FOUND $python" version=`$python -V 2>&1` inclu...
Shell
#! /bin/sh ### BEGIN INIT INFO # Provides: webiopi # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: WebIOPi initscript # Description: WebIOPi initscript ### END INIT INFO # Author: trouch <trouch@...
Shell
#! /bin/sh ### BEGIN INIT INFO # Provides: webiopi # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: WebIOPi initscript # Description: WebIOPi initscript ### END INIT INFO # Author: trouch <trouch@...
Shell
#!/bin/sh # WebIOPi PiStore launch script # Force install #VERSION=`python -c "import webiopi; print(webiopi.VERSION)"` #if [ "$VERSION" != "0.5.3" ]; then # echo "Update required..." # chmod 777 setup.sh # sudo ./setup.sh #fi # Start WebIOPi service sudo /etc/init.d/webiopi start # Launch the browser midori -c `pwd...
Shell
#!/bin/sh if [ -z "$*" ]; then files=`ls` else files="$*" fi for file in $files; do echo "Downloading $file..." wget -q http://webiopi.googlecode.com/svn/wiki/$file.wiki && echo "Processing $file..." && mv $file.wiki $file && sed -i 's/<font color="red">\|<\/font>//g' $file && sed -i 's/<pre>\|<\/pre>//g' $f...
Shell
#!/bin/sh if [ -z "$*" ]; then files=`ls` else files="$*" fi for file in $files; do echo "Downloading $file..." wget -q http://webiopi.googlecode.com/svn/wiki/$file.wiki && echo "Processing $file..." && mv $file.wiki $file && sed -i 's/<font color="red">\|<\/font>//g' $file && sed -i 's/<pre>\|<\/pre>//g' $f...
Shell
#!/bin/sh STREAMER=mjpg_streamer DEVICE=/dev/video0 RESOLUTION=320x240 FRAMERATE=25 HTTP_PORT=8001 PLUGINPATH=/usr/local/lib $STREAMER -i "$PLUGINPATH/input_uvc.so -n -d $DEVICE -r $RESOLUTION -f $FRAMERATE" -o "$PLUGINPATH/output_http.so -n -p $HTTP_PORT"
Shell
#!/bin/sh STREAMER=mjpg_streamer DEVICE=/dev/video0 RESOLUTION=320x240 FRAMERATE=25 HTTP_PORT=8001 PLUGINPATH=/usr/local/lib $STREAMER -i "$PLUGINPATH/input_uvc.so -n -d $DEVICE -r $RESOLUTION -f $FRAMERATE" -o "$PLUGINPATH/output_http.so -n -p $HTTP_PORT"
Shell
#!/bin/sh # WebIOPi setup script SEARCH="python python3" FOUND="" INSTALLED="" if [ "$#" = "1" ]; then command="$1" else command="none" fi echo echo "Installing WebIOPi..." echo if [ "$command" != "skip-apt" ]; then echo "Updating apt package list..." apt-get update echo fi # Install Python library cd python ...
Shell
#!/bin/sh # WebIOPi PiStore launch script # Force install #VERSION=`python -c "import webiopi; print(webiopi.VERSION)"` #if [ "$VERSION" != "0.5.3" ]; then # echo "Update required..." # chmod 777 setup.sh # sudo ./setup.sh #fi # Start WebIOPi service sudo /etc/init.d/webiopi start # Launch the browser midori -c `pwd...
Shell
#!/bin/sh # WebIOPi setup script SEARCH="python python3" FOUND="" INSTALLED="" if [ "$#" = "1" ]; then command="$1" else command="none" fi echo echo "Installing WebIOPi..." echo if [ "$command" != "skip-apt" ]; then echo "Updating apt package list..." apt-get update echo fi # Install Python library cd python ...
Shell
#! /bin/sh ### BEGIN INIT INFO # Provides: webiopi # Required-Start: $remote_fs $syslog $network # Required-Stop: $remote_fs $syslog $network # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: WebIOPi initscript # Description: WebIOPi initscript ### END INIT INFO # Autho...
Shell
#!/bin/sh python -m webiopi $*
Shell
#! /bin/sh ### BEGIN INIT INFO # Provides: webiopi # Required-Start: $remote_fs $syslog $network # Required-Stop: $remote_fs $syslog $network # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: WebIOPi initscript # Description: WebIOPi initscript ### END INIT INFO # Autho...
Shell
#!/bin/sh python -m webiopi $*
Shell
#! /bin/sh ### BEGIN INIT INFO # Provides: webiopi # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: WebIOPi initscript # Description: WebIOPi initscript ### END INIT INFO # Author: trouch <trouch@...
Shell
#!/bin/sh for file in $* do echo "Downloading $file..." wget -q http://webiopi.googlecode.com/svn/wiki/$file.wiki && echo "Processing $file..." && mv $file.wiki $file && sed -i 's/<font color="red">\|<\/font>//g' $file && sed -i 's/<pre>\|<\/pre>//g' $file && sed -i 's/[_*]//g' $file && sed -i '/{{{\|}}}/d' $...
Shell
#!/bin/sh for file in $* do echo "Downloading $file..." wget -q http://webiopi.googlecode.com/svn/wiki/$file.wiki && echo "Processing $file..." && mv $file.wiki $file && sed -i 's/<font color="red">\|<\/font>//g' $file && sed -i 's/<pre>\|<\/pre>//g' $file && sed -i 's/[_*]//g' $file && sed -i '/{{{\|}}}/d' $...
Shell
#! /bin/sh ### BEGIN INIT INFO # Provides: webiopi # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: WebIOPi initscript # Description: WebIOPi initscript ### END INIT INFO # Author: trouch <trouch@...
Shell
#! /bin/sh ### BEGIN INIT INFO # Provides: webiopi # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: WebIOPi initscript # Description: WebIOPi initscript ### END INIT INFO # Author: trouch <trouch@...
Shell
#!/bin/sh for file in $* do echo "Downloading $file..." wget -q http://webiopi.googlecode.com/svn/wiki/$file.wiki && echo "Processing $file..." && mv $file.wiki $file && sed -i 's/<font color="red">\|<\/font>//g' $file && sed -i 's/<pre>\|<\/pre>//g' $file && sed -i 's/[_*]//g' $file && sed -i '/{{{\|}}}/d' $...
Shell
#!/bin/sh for file in $* do echo "Downloading $file..." wget -q http://webiopi.googlecode.com/svn/wiki/$file.wiki && echo "Processing $file..." && mv $file.wiki $file && sed -i 's/<font color="red">\|<\/font>//g' $file && sed -i 's/<pre>\|<\/pre>//g' $file && sed -i 's/[_*]//g' $file && sed -i '/{{{\|}}}/d' $...
Shell
#! /bin/sh ### BEGIN INIT INFO # Provides: webiopi # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: WebIOPi initscript # Description: WebIOPi initscript ### END INIT INFO # Author: trouch <trouch@...
Shell
#!/bin/sh if [ -z "$*" ]; then files=`ls` else files="$*" fi for file in $files; do echo "Downloading $file..." wget -q http://webiopi.googlecode.com/svn/wiki/$file.wiki && echo "Processing $file..." && mv $file.wiki $file && sed -i 's/<font color="red">\|<\/font>//g' $file && sed -i 's/<pre>\|<\/pre>//g' $f...
Shell
#!/bin/sh if [ -z "$*" ]; then files=`ls` else files="$*" fi for file in $files; do echo "Downloading $file..." wget -q http://webiopi.googlecode.com/svn/wiki/$file.wiki && echo "Processing $file..." && mv $file.wiki $file && sed -i 's/<font color="red">\|<\/font>//g' $file && sed -i 's/<pre>\|<\/pre>//g' $f...
Shell
#!/bin/sh SEARCH="python python3" FOUND="" INSTALLED="" echo "Installing WebIOPi...\n" cd python for python in $SEARCH; do program=`which $python` if [ -x $program ]; then FOUND="$FOUND $python" version=`$python -V 2>&1` include=`$python -c "import distutils.sysconfig; print(distutils.sysconfig.get_python_in...
Shell
#!/bin/sh SEARCH="python python3" FOUND="" INSTALLED="" echo "Installing WebIOPi...\n" cd python for python in $SEARCH; do program=`which $python` if [ -x $program ]; then FOUND="$FOUND $python" version=`$python -V 2>&1` include=`$python -c "import distutils.sysconfig; print(distutils.sysconfig.get_python_in...
Shell
#! /bin/sh ### BEGIN INIT INFO # Provides: webiopi # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: WebIOPi initscript # Description: WebIOPi initscript ### END INIT INFO # Author: trouch <trouch@...
Shell
#! /bin/sh ### BEGIN INIT INFO # Provides: webiopi # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: WebIOPi initscript # Description: WebIOPi initscript ### END INIT INFO # Author: trouch <trouch@...
Shell
#!/bin/sh # WebIOPi PiStore launch script # Force install #VERSION=`python -c "import webiopi; print(webiopi.VERSION)"` #if [ "$VERSION" != "0.5.3" ]; then # echo "Update required..." # chmod 777 setup.sh # sudo ./setup.sh #fi # Start WebIOPi service sudo /etc/init.d/webiopi start # Launch the browser midori -c `pwd...
Shell
#!/bin/sh if [ -z "$*" ]; then files=`ls` else files="$*" fi for file in $files; do echo "Downloading $file..." wget -q http://webiopi.googlecode.com/svn/wiki/$file.wiki && echo "Processing $file..." && mv $file.wiki $file && sed -i 's/<font color="red">\|<\/font>//g' $file && sed -i 's/<pre>\|<\/pre>//g' $f...
Shell
#!/bin/sh if [ -z "$*" ]; then files=`ls` else files="$*" fi for file in $files; do echo "Downloading $file..." wget -q http://webiopi.googlecode.com/svn/wiki/$file.wiki && echo "Processing $file..." && mv $file.wiki $file && sed -i 's/<font color="red">\|<\/font>//g' $file && sed -i 's/<pre>\|<\/pre>//g' $f...
Shell
#!/bin/sh STREAMER=mjpg_streamer DEVICE=/dev/video0 RESOLUTION=320x240 FRAMERATE=25 HTTP_PORT=8001 PLUGINPATH=/usr/local/lib $STREAMER -i "$PLUGINPATH/input_uvc.so -n -d $DEVICE -r $RESOLUTION -f $FRAMERATE" -o "$PLUGINPATH/output_http.so -n -p $HTTP_PORT"
Shell
#!/bin/sh STREAMER=mjpg_streamer DEVICE=/dev/video0 RESOLUTION=320x240 FRAMERATE=25 HTTP_PORT=8001 PLUGINPATH=/usr/local/lib $STREAMER -i "$PLUGINPATH/input_uvc.so -n -d $DEVICE -r $RESOLUTION -f $FRAMERATE" -o "$PLUGINPATH/output_http.so -n -p $HTTP_PORT"
Shell
#!/bin/sh STREAMER=mjpg_streamer DEVICE=/dev/video0 RESOLUTION=320x240 FRAMERATE=25 HTTP_PORT=8001 PLUGINPATH=/usr/local/lib $STREAMER -i "$PLUGINPATH/input_uvc.so -n -d $DEVICE -r $RESOLUTION -f $FRAMERATE" -o "$PLUGINPATH/output_http.so -n -p $HTTP_PORT"
Shell
#!/bin/sh STREAMER=mjpg_streamer DEVICE=/dev/video0 RESOLUTION=320x240 FRAMERATE=25 HTTP_PORT=8001 PLUGINPATH=/usr/local/lib $STREAMER -i "$PLUGINPATH/input_uvc.so -n -d $DEVICE -r $RESOLUTION -f $FRAMERATE" -o "$PLUGINPATH/output_http.so -n -p $HTTP_PORT"
Shell
#!/bin/sh # WebIOPi setup script SEARCH="python python3" FOUND="" INSTALLED="" echo echo "Installing WebIOPi..." echo echo "Updating apt package list..." apt-get update echo # Install Python library cd python # Look up for installed python for python in $SEARCH; do program="/usr/bin/$python" if [ -x $program ];...
Shell
#!/bin/sh # WebIOPi PiStore launch script # Force install #VERSION=`python -c "import webiopi; print(webiopi.VERSION)"` #if [ "$VERSION" != "0.5.3" ]; then # echo "Update required..." # chmod 777 setup.sh # sudo ./setup.sh #fi # Start WebIOPi service sudo /etc/init.d/webiopi start # Launch the browser midori -c `pwd...
Shell
#!/bin/sh # WebIOPi setup script SEARCH="python python3" FOUND="" INSTALLED="" echo echo "Installing WebIOPi..." echo echo "Updating apt package list..." apt-get update echo # Install Python library cd python # Look up for installed python for python in $SEARCH; do program="/usr/bin/$python" if [ -x $program ];...
Shell
#! /bin/sh ### BEGIN INIT INFO # Provides: webiopi # Required-Start: $remote_fs $syslog $network # Required-Stop: $remote_fs $syslog $network # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: WebIOPi initscript # Description: WebIOPi initscript ### END INIT INFO # Autho...
Shell
#!/bin/sh python -m webiopi $*
Shell
#! /bin/sh ### BEGIN INIT INFO # Provides: webiopi # Required-Start: $remote_fs $syslog $network # Required-Stop: $remote_fs $syslog $network # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: WebIOPi initscript # Description: WebIOPi initscript ### END INIT INFO # Autho...
Shell
#!/bin/sh python -m webiopi $*
Shell
#!/bin/sh # WebIOPi PiStore launch script # Force install #VERSION=`python -c "import webiopi; print(webiopi.VERSION)"` #if [ "$VERSION" != "0.5.3" ]; then # echo "Update required..." # chmod 777 setup.sh # sudo ./setup.sh #fi # Start WebIOPi service sudo /etc/init.d/webiopi start # Launch the browser midori -c `pwd...
Shell
#!/bin/sh if [ -z "$*" ]; then files=`ls` else files="$*" fi for file in $files; do echo "Downloading $file..." wget -q http://webiopi.googlecode.com/svn/wiki/$file.wiki && echo "Processing $file..." && mv $file.wiki $file && sed -i 's/<font color="red">\|<\/font>//g' $file && sed -i 's/<pre>\|<\/pre>//g' $f...
Shell
#!/bin/sh if [ -z "$*" ]; then files=`ls` else files="$*" fi for file in $files; do echo "Downloading $file..." wget -q http://webiopi.googlecode.com/svn/wiki/$file.wiki && echo "Processing $file..." && mv $file.wiki $file && sed -i 's/<font color="red">\|<\/font>//g' $file && sed -i 's/<pre>\|<\/pre>//g' $f...
Shell
#!/bin/sh STREAMER=mjpg_streamer DEVICE=/dev/video0 RESOLUTION=320x240 FRAMERATE=25 HTTP_PORT=8001 PLUGINPATH=/usr/local/lib $STREAMER -i "$PLUGINPATH/input_uvc.so -n -d $DEVICE -r $RESOLUTION -f $FRAMERATE" -o "$PLUGINPATH/output_http.so -n -p $HTTP_PORT"
Shell
#!/bin/sh STREAMER=mjpg_streamer DEVICE=/dev/video0 RESOLUTION=320x240 FRAMERATE=25 HTTP_PORT=8001 PLUGINPATH=/usr/local/lib $STREAMER -i "$PLUGINPATH/input_uvc.so -n -d $DEVICE -r $RESOLUTION -f $FRAMERATE" -o "$PLUGINPATH/output_http.so -n -p $HTTP_PORT"
Shell
#!/bin/sh # WebIOPi setup script SEARCH="python python3" FOUND="" INSTALLED="" if [ "$#" = "1" ]; then command="$1" else command="none" fi echo echo "Installing WebIOPi..." echo if [ "$command" != "skip-apt" ]; then echo "Updating apt package list..." apt-get update echo fi # Install Python library cd python ...
Shell
#!/bin/sh # WebIOPi PiStore launch script # Force install #VERSION=`python -c "import webiopi; print(webiopi.VERSION)"` #if [ "$VERSION" != "0.5.3" ]; then # echo "Update required..." # chmod 777 setup.sh # sudo ./setup.sh #fi # Start WebIOPi service sudo /etc/init.d/webiopi start # Launch the browser midori -c `pwd...
Shell
#!/bin/sh # WebIOPi setup script SEARCH="python python3" FOUND="" INSTALLED="" if [ "$#" = "1" ]; then command="$1" else command="none" fi echo echo "Installing WebIOPi..." echo if [ "$command" != "skip-apt" ]; then echo "Updating apt package list..." apt-get update echo fi # Install Python library cd python ...
Shell
#! /bin/sh ### BEGIN INIT INFO # Provides: webiopi # Required-Start: $remote_fs $syslog $network # Required-Stop: $remote_fs $syslog $network # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: WebIOPi initscript # Description: WebIOPi initscript ### END INIT INFO # Autho...
Shell
#!/bin/sh python -m webiopi $*
Shell
#! /bin/sh ### BEGIN INIT INFO # Provides: webiopi # Required-Start: $remote_fs $syslog $network # Required-Stop: $remote_fs $syslog $network # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: WebIOPi initscript # Description: WebIOPi initscript ### END INIT INFO # Autho...
Shell
#!/bin/sh python -m webiopi $*
Shell
#!/bin/bash # Run this from the terminal inside a drupal root folder # i.e. DRUPAL_ROOT_DIR/sites/all/modules/contrib/ctools/tests/ctools.drush.sh function stamp { echo ============== echo timestamp : `date` echo ============== } DRUPAL_ROOT=`drush dd` MODULE_DIR="$DRUPAL_ROOT/sites/all/modules" MODULE_NAME="c...
Shell
#!/bin/sh ### ====================================================================== ### ## ## ## Date 13 septembre 2012 ## ## Auteur Olivier Lemoigne ## ## ...
Shell
#!/bin/sh find . -name "*~" -type f | xargs rm -f find . -name ".#*" -type f | xargs rm -f find . -name "*.rej" -type f | xargs rm -f find . -name "*.orig" -type f | xargs rm -f find . -name "DEADJOE" -type f | xargs rm -f find . -type f | grep -v ".psp" | grep -v ".gif" | grep -v ".jpg" | grep -v ".png" | grep -v ".t...
Shell
#!/bin/sh curl --silent --compressed http://example.com/cron.php
Shell
<?php /** * @file * This script runs Drupal tests from command line. */ define('SIMPLETEST_SCRIPT_COLOR_PASS', 32); // Green. define('SIMPLETEST_SCRIPT_COLOR_FAIL', 31); // Red. define('SIMPLETEST_SCRIPT_COLOR_EXCEPTION', 33); // Brown. // Set defaults and get overrides. list($args, $count) = simpletest_script_par...
Shell
#!/bin/sh /usr/bin/lynx -source http://example.com/cron.php > /dev/null 2>&1
Shell
set -o errexit set -o xtrace # Static Web Server # An alternative to "connect" https://github.com/nodeapps/http-server sudo apt-get install npm pushd src/webext # ... npm installs over https and may have trouble validating the # ... certificute. A work-around is to use http instead: # npm set registry http://regis...
Shell
# Regular expressions here should be safe to run multiple times # Re-reference chrome API to local implementation (see webext/chrome-overrides.js) ls src/*.js|xargs sed -i 's/[^_]chrome\./_chrome./g' # bitcoinaverage will send a permanent forward response to same path but ending with a / # dataType: "json" was requ...
Shell
#!/bin/sh # START-COMMIT HOOK # # The start-commit hook is invoked immediately after a Subversion txn is # created and populated with initial revprops in the process of doing a # commit. Subversion runs this hook by invoking a program (script, # executable, binary, etc.) named 'start-commit' (for which this fi...
Shell
#!/bin/sh # POST-REVPROP-CHANGE HOOK # # The post-revprop-change hook is invoked after a revision property # has been added, modified or deleted. Subversion runs this hook by # invoking a program (script, executable, binary, etc.) named # 'post-revprop-change' (for which this file is a template), with the # f...
Shell
#!/bin/sh # POST-LOCK HOOK # # The post-lock hook is run after a path is locked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-lock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this repos...
Shell
#!/bin/sh # POST-LOCK HOOK # # The post-lock hook is run after a path is locked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-lock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this repos...
Shell
#!/bin/sh # PRE-LOCK HOOK # # The pre-lock hook is invoked before an exclusive lock is # created. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-lock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (the pat...
Shell
#!/bin/sh # POST-UNLOCK HOOK # # The post-unlock hook runs after a path is unlocked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-unlock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this...
Shell
#!/bin/sh # PRE-COMMIT HOOK # # The pre-commit hook is invoked before a Subversion txn is # committed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-commit' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (t...
Shell
#!/bin/sh # PRE-UNLOCK HOOK # # The pre-unlock hook is invoked before an exclusive lock is # destroyed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-unlock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH ...
Shell
#!/bin/sh # POST-REVPROP-CHANGE HOOK # # The post-revprop-change hook is invoked after a revision property # has been added, modified or deleted. Subversion runs this hook by # invoking a program (script, executable, binary, etc.) named # 'post-revprop-change' (for which this file is a template), with the # f...
Shell
#!/bin/sh # POST-COMMIT HOOK # # The post-commit hook is invoked after a commit. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-commit' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this rep...
Shell