code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/bash echo 'setup-web2py-nginx-uwsgi-ubuntu-precise.sh' echo 'Requires Ubuntu > 12.04 and installs Nginx + uWSGI + Web2py' # Check if user has root privileges if [[ $EUID -ne 0 ]]; then echo "You must run the script as root or using sudo" exit 1 fi # Get Web2py Admin Password echo -e "Web2py Admin Password:...
Shell
# # Author: Christopher Steel # Organization: Voice of Access # Date: 2010-11-24 # License: Same as Web2py, MIT / GNU # Email: Christopher DOT Steel AT Voice of Access DOT org # # This script will : # downl...
Shell
#!/bin/bash # the script should be run # from WEB2PY root directory prog="web2py.py" chmod +x $prog function web2py_start { nohup python2 ./$prog -a "<recycle>" >>/dev/null 2>/dev/null & pid=`pgrep -f $prog | tail -1` if [ "x$pid" != "x$$" ] then echo "WEB2PY has been started (pid $pid). Stop it with '...
Shell
chown -R nobody:nobody *.py chown -R nobody:nobody gluon chown -R nobody:nobody scripts chown -R nobody:nobody applications/*/modules/ chown -R nobody:nobody applications/*/models/ chown -R nobody:nobody applications/*/controllers/ chown -R nobody:nobody applications/*/views/ chown -R nobody:nobody applications/*/stati...
Shell
#!/bin/bash # # /etc/rc.d/init.d/web2pyd # # Starts the Web2py Daemon on Fedora (Red Hat Linux) # # To execute automatically at startup # # sudo chkconfig --add web2pyd # # chkconfig: 2345 90 10 # description: Web2py Daemon # processname: web2pyd # pidfile: /var/lock/subsys/web2pyd source /etc/rc.d/init.d/fun...
Shell
#! /bin/sh ### BEGIN INIT INFO # startup script for Ubuntu and Debian Linux servers # # To use this file # cp ubuntu.sh /etc/init.d/web2py # # To automatitcally start at reboot # sudo update-rc.d web2py defaults # # Provides: web2py # Required-Start: $local_fs $remote_fs # Required-Stop: $local_fs $remo...
Shell
read -p "Choose your admin password?" passwd sudo pip install virtualenv sudo pip install psycopg2 virtualenv venv --distribute source venv/bin/activate pip freeze > requirements.txt echo "web: python web2py.py -a '$passwd' -i 0.0.0.0 -p \$PORT" > Procfile git init git add . git add Procfile git commit -a -m "first com...
Shell
#!/bin/sh # # Author: Tyrone Hattingh # web2py issue: http://code.google.com/p/web2py/issues/detail?id=867 # # 1) vi web2py-scheduler # 2) Paste in the above # 3) Add in the following 2 lines in the web2py-scheduler file # (required for centos i believe): # # # chkconfig: 2345 90 10 # # description: web2py-schedul...
Shell
echo "This script will: 1) install all modules need to run web2py on Ubuntu/Debian 2) install web2py in /home/www-data/ 3) create a self signed sll certificate 4) setup web2py with mod_wsgi 5) overwrite /etc/apache2/sites-available/default 6) restart apache. You may want to read this script before running it. Press a...
Shell
#!/bin/bash # ------------------------------------------------------------------- # Description : Installation and basic configuration of web2py, # uWSGI, andNGINX. # in CentOS 5.x GNU/Linux # Usage : Copy the script in /home/username and run it as root, # you may need t...
Shell
echo "This script will: 1) Install modules needed to run web2py on Fedora and CentOS/RHEL 2) Install Python 2.6 to /opt and recompile wsgi if not provided 2) Install web2py in /opt/web-apps/ 3) Configure SELinux and iptables 5) Create a self signed ssl certificate 6) Setup web2py with mod_wsgi 7) Create virtualhost ent...
Shell
#!/bin/bash # # update-web2py.sh # 2009-12-16 # # install in web2py/.. or web2py/ or web2py/scripts as update-web2py.sh # make executable: chmod +x web2py.sh # # save a snapshot of current web2py/ as web2py/../web2py-version.zip # download the current stable version of web2py # unzip downloaded version over web2...
Shell
#!/bin/bash # ------------------------------------------------------------------------------ # Description : Installation and basic configuration of web2py, uWSGI, Redmine, # Unicorn, Nginx and PostgreSQL. # Usage : Copy the script in /home/username and run it as root, you may # need ...
Shell
#!/bin/bash # Autor: Nilton OS -- www.linuxpro.com.br echo 'setup-web2py-nginx-uwsgi-centos64.sh' echo 'Support CentOS 6.4' echo 'Installs Nginx 1.4 + uWSGI + Web2py' # Get Web2py Admin Password echo -e "Web2py Admin Password: \c " read PW echo -e "Set Server Name Ex: web2py.domain.com : \c " read SERVER_FQDN ec...
Shell
#!/bin/bash echo 'setup-web2py-nginx-uwsgi-opensuse.sh' echo 'Requires OpenSUSE 12.3 32Bits and installs Nginx + uWSGI + Web2py' # Get Web2py Admin Password echo -e "Web2py Admin Password: \c " read PW zypper clean && zypper refresh && zypper up zypper in -y nginx python-xml python-pip unzip sudo zypper in -y gcc ...
Shell
# run from web2py root folder because of autodoc & web2py import behaviour!!!! sphinx-build -b html -w doc/sphinx-build.log -Ea doc/source applications/examples/static/sphinx #sphinx-build -b html -w sphinx-build.log -Ea source ../applications/examples/static/sphinx
Shell
#!/bin/bash # 打开apache.http调试信息 adb shell setprop log.tag.org.apache.http VERBOSE adb shell setprop log.tag.org.apache.http.wire VERBOSE adb shell setprop log.tag.org.apache.http.headers VERBOSE echo "Enable Debug"
Shell
#!/bin/sh java -classpath target/jruby-complete-1.7.12.jar:target/swingx-all-1.6.5-1.jar:target/jsyntaxpane-1.0.0.jar:target/classes kianxali.Kianxali
Shell
#!/bin/bash Res=res/ Alt=donottranslate-altchars.xml Map=donottranslate-keymap.xml Out=assets/kbd/ mkdir -p "$Out" for Dir in res/values res/values-* do [ -f $Dir/$Map ] || continue # -o -f $Dir/$Alt ] || continue Args="$Res/values/$Alt" [ -f $Dir/$Alt ] && Args="$Args $Dir/$Alt" Args="$Args $Res/values/$Map...
Shell
#!/bin/bash getLangsForFiles () { echo "en" # default language for F in "$@" do find res/ -name "$F" done \ | sed -n ' s/.*res.[a-z]*-\(..\)-r\(..\).*/\1_\2/p; # yy-rXX => yy_XX s/.*res.[a-z]*-\(..\)\/.*/\1/p; # yy => yy ' } getLangsForDicts () { ls ../Dicts \ | sed 's/.*-//;...
Shell
#!/bin/bash # # Copyright (C) 2013 rdrrlabs gmail com, # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This p...
Shell
#!/bin/bash # # Copyright (C) 2013 rdrrlabs gmail com, # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This p...
Shell
# # Copyright (C) 2013 rdrrlabs gmail com, # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is di...
Shell
# # Copyright (C) 2013 rdrrlabs gmail com, # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is di...
Shell
#!/bin/sh export CLASSPATH=cliq.jar:../*:lib/miglayout-3.7.1.jar:. java -Xmx256m com.salesforce.cliq.DataLoaderCliq $@ exit
Shell
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
Shell
#!/bin/sh # START-COMMIT HOOK # # The start-commit hook is invoked before a Subversion txn is created # 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 file is a template) # with the following ordered...
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-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-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
#!/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-REVPROP-CHANGE HOOK # # The pre-revprop-change hook is invoked before a revision property # is added, modified or deleted. Subversion runs this hook by invoking # a program (script, executable, binary, etc.) named 'pre-revprop-change' # (for which this file is a template), with the following or...
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-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 # 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 # START-COMMIT HOOK # # The start-commit hook is invoked before a Subversion txn is created # 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 file is a template) # with the following ordered...
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
#!/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 # 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-REVPROP-CHANGE HOOK # # The pre-revprop-change hook is invoked before a revision property # is added, modified or deleted. Subversion runs this hook by invoking # a program (script, executable, binary, etc.) named 'pre-revprop-change' # (for which this file is a template), with the following or...
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-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 # 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/bash # Binary of the Texturepacker: TEXTUREPACKER_BINARY=/usr/local/bin/TexturePacker # Shared Spritesheet-Output-Definitions: SPRITESHEET_OUTPUT_DIRECTORY="../assets/gfx/spritesheets/" SPRITESHEET_OUTPUT_JAVAIDS_PACKAGE="org.anddev.andengine.examples.spritesheets" SPRITESHEET_OUTPUT_JAVAIDS_DIRECTORY="../src...
Shell
#!/bin/sh # Build and run the tomcat. cd ./mk-maps-war mvn clean install cd .. cd ./mk-server-tomcat mvn clean install -Passembly rm -rf ./target/war-unzipped unzip ./target/lib-mk-standalone-tomcat-resources.dir/mk-maps-war-0.3-SNAPSHOT.war -d ./target/war-unzipped #cp ./target/war-unzipped/WEB-INF/lib/slf4j-api...
Shell
#!/bin/sh # Build and run the tomcat. mvn clean install -Passembly rm -rf ./target/war-unzipped unzip ./target/lib-mk-standalone-tomcat-resources.dir/mk-maps-war-0.3-SNAPSHOT.war -d ./target/war-unzipped #cp ./target/war-unzipped/WEB-INF/lib/slf4j-api-1.5.8.jar ./target/mk-tomcat/lib/ #cp ./target/war-unzipped/WEB-...
Shell
#!/bin/sh # Build and run the tomcat. mvn clean install -Passembly rm -rf ./target/war-unzipped unzip ./target/lib-mk-standalone-tomcat-resources.dir/mk-maps-war-0.3-SNAPSHOT.war -d ./target/war-unzipped #cp ./target/war-unzipped/WEB-INF/lib/slf4j-api-1.5.8.jar ./target/mk-tomcat/lib/ #cp ./target/war-unzipped/WEB-...
Shell
#!/bin/sh # Build and run the tomcat. cd ./mk-maps-war mvn clean install cd .. cd ./mk-server-tomcat mvn clean install -Passembly rm -rf ./target/war-unzipped unzip ./target/lib-mk-standalone-tomcat-resources.dir/mk-maps-war-0.3-SNAPSHOT.war -d ./target/war-unzipped #cp ./target/war-unzipped/WEB-INF/lib/slf4j-api...
Shell
#!/bin/sh # Build the ROOT.war cd ./root echo "= Changed ./root dir" zip -r ROOT.war * echo "= Zipped files to the ROOT.war" rm -rf ../ROOT.war echo "= Removed old ../ROOT.war" mv ROOT.war ../ROOT.war echo "= Moved new ROOT.war to the ../ dir" cd .. echo "= Changed ../ dir" echo "= Finished."
Shell
#!/bin/sh # Build the ROOT.war cd ./root echo "= Changed ./root dir" zip -r ROOT.war * echo "= Zipped files to the ROOT.war" rm -rf ../ROOT.war echo "= Removed old ../ROOT.war" mv ROOT.war ../ROOT.war echo "= Moved new ROOT.war to the ../ dir" cd .. echo "= Changed ../ dir" echo "= Finished."
Shell
#!/bin/sh # Build and run the tomcat. mvn clean install -Passembly rm -rf ./target/war-unzipped unzip ./target/lib-mk-standalone-tomcat-resources.dir/mk-maps-war-0.2.1.war -d ./target/war-unzipped #cp ./target/war-unzipped/WEB-INF/lib/slf4j-api-1.5.8.jar ./target/mk-tomcat/lib/ #cp ./target/war-unzipped/WEB-INF/lib...
Shell
#!/bin/sh # Build and run the tomcat. mvn clean install -Passembly rm -rf ./target/war-unzipped unzip ./target/lib-mk-standalone-tomcat-resources.dir/mk-maps-war-0.2.1.war -d ./target/war-unzipped #cp ./target/war-unzipped/WEB-INF/lib/slf4j-api-1.5.8.jar ./target/mk-tomcat/lib/ #cp ./target/war-unzipped/WEB-INF/lib...
Shell
#!/bin/sh # Build the ROOT.war cd ./root echo "= Changed ./root dir" zip -r ROOT.war * echo "= Zipped files to the ROOT.war" rm -rf ../ROOT.war echo "= Removed old ../ROOT.war" mv ROOT.war ../ROOT.war echo "= Moved new ROOT.war to the ../ dir" cd .. echo "= Changed ../ dir" echo "= Finished."
Shell
#!/bin/sh # Build the ROOT.war cd ./root echo "= Changed ./root dir" zip -r ROOT.war * echo "= Zipped files to the ROOT.war" rm -rf ../ROOT.war echo "= Removed old ../ROOT.war" mv ROOT.war ../ROOT.war echo "= Moved new ROOT.war to the ../ dir" cd .. echo "= Changed ../ dir" echo "= Finished."
Shell
#!/bin/bash # 打开apache.http调试信息 adb shell setprop log.tag.org.apache.http VERBOSE adb shell setprop log.tag.org.apache.http.wire VERBOSE adb shell setprop log.tag.org.apache.http.headers VERBOSE echo "Enable Debug"
Shell
#!/bin/bash ################################################################################ # # Bake is a shell script for running CakePHP bake script # PHP 5 # # CakePHP(tm) : Rapid Development Framework (http://cakephp.org) # Copyright 2005-2011, Cake Software Foundation, Inc. # # Licensed under The MIT License # R...
Shell
#!/bin/bash ################################################################################ # # Bake is a shell script for running CakePHP bake script # PHP 5 # # CakePHP(tm) : Rapid Development Framework (http://cakephp.org) # Copyright 2005-2011, Cake Software Foundation, Inc. # # Licensed under The MIT License # R...
Shell
#!/bin/bash ################################################################################ # # Bake is a shell script for running CakePHP bake script # PHP 5 # # CakePHP(tm) : Rapid Development Framework (http://cakephp.org) # Copyright 2005-2011, Cake Software Foundation, Inc. # # Licensed under The MIT License # R...
Shell
#!/bin/bash ################################################################################ # # Bake is a shell script for running CakePHP bake script # PHP 5 # # CakePHP(tm) : Rapid Development Framework (http://cakephp.org) # Copyright 2005-2011, Cake Software Foundation, Inc. # # Licensed under The MIT License # R...
Shell
#!/bin/bash ################################################################################ # # Bake is a shell script for running CakePHP bake script # PHP 5 # # CakePHP(tm) : Rapid Development Framework (http://cakephp.org) # Copyright 2005-2011, Cake Software Foundation, Inc. # # Licensed under The MIT License # R...
Shell
#!/bin/bash ################################################################################ # # Bake is a shell script for running CakePHP bake script # PHP 5 # # CakePHP(tm) : Rapid Development Framework (http://cakephp.org) # Copyright 2005-2011, Cake Software Foundation, Inc. # # Licensed under The MIT License # R...
Shell
#!/bin/bash ################################################################################ # # Bake is a shell script for running CakePHP bake script # PHP 5 # # CakePHP(tm) : Rapid Development Framework (http://cakephp.org) # Copyright 2005-2011, Cake Software Foundation, Inc. # # Licensed under The MIT License # R...
Shell
#!/bin/bash ################################################################################ # # Bake is a shell script for running CakePHP bake script # PHP 5 # # CakePHP(tm) : Rapid Development Framework (http://cakephp.org) # Copyright 2005-2011, Cake Software Foundation, Inc. # # Licensed under The MIT License # R...
Shell
pushd in cp 17x17_y.bmp 17x17.bmp popd pushd src cp flags_poiseuille_gravity_y.h flags.h popd make ./lb2d_prime ./in/params_poiseuille_gravity_y.in
Shell
pushd src cp flags_poiseuille_pressure_y.h flags.h popd make ./lb2d_prime ./in/params_poiseuille_pressure_y.in
Shell
pushd in cp 17x17_x.bmp 17x17.bmp popd pushd src cp flags_poiseuille_gravity_x.h flags.h popd make ./lb2d_prime ./in/params_poiseuille_gravity_x.in
Shell
pushd src cp flags_taylor_pressure.h flags.h popd make ./lb2d_prime ./in/params_taylor_pressure.in
Shell
pushd src cp flags_taylor_pressure_x_infile.h flags.h popd make ./lb2d_prime ./in/params_taylor_pressure_x_infile.in
Shell
pushd src cp flags_taylor_pressure_y_infile.h flags.h popd make ./lb2d_prime ./in/params_taylor_pressure_y_infile.in
Shell
#!/bin/bash # 打开apache.http调试信息 adb shell setprop log.tag.org.apache.http VERBOSE adb shell setprop log.tag.org.apache.http.wire VERBOSE adb shell setprop log.tag.org.apache.http.headers VERBOSE echo "Enable Debug"
Shell
#!/bin/bash if [ $# != 1 ] then echo "Usage: $0 emailAddress" exit 1 fi read -s -p "Password: " mypassword echo "" curl https://www.google.com/accounts/ClientLogin -d Email=$1 -d "Passwd=$mypassword" -d accountType=GOOGLE -d source=Google-cURL-Example -d service=ac2dm
Shell
#!/bin/sh # Create a backup tar gzip file of the cwd with the date appended # located in the parent directory. FILENAME=../`pwd|xargs basename`-`date -j "+%Y-%m-%d"`.tgz echo Will create $FILENAME tar cfz $FILENAME . echo Done.
Shell
#!/bin/bash # 打开apache.http调试信息 adb shell setprop log.tag.org.apache.http VERBOSE adb shell setprop log.tag.org.apache.http.wire VERBOSE adb shell setprop log.tag.org.apache.http.headers VERBOSE echo "Enable Debug"
Shell
wget http://www.100montaditos.com/sites/default/files/imagecache/preset_productos_listado_cuadricula/100_0.png wget http://www.100montaditos.com/sites/default/files/imagecache/preset_productos_listado_cuadricula/99_0.png wget http://www.100montaditos.com/sites/default/files/imagecache/preset_productos_listado_cuadricul...
Shell
#!/bin/bash # 打开apache.http调试信息 adb shell setprop log.tag.org.apache.http VERBOSE adb shell setprop log.tag.org.apache.http.wire VERBOSE adb shell setprop log.tag.org.apache.http.headers VERBOSE echo "Enable Debug"
Shell
#!/bin/bash CP=./classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar CP=$CP:./lib/javax.mail_1.1.0.0_1-4-4.jar CP=$CP:./lib/json.jar # #java -classpath $CP pi4j.email.SampleMain $* java -classpath $CP pi4j.email.LedControllerMain $*
Shell
#!/bin/bash echo 7 segment display CP=./classes:$PI4J_HOME/lib/pi4j-core.jar sudo java -cp $CP sevensegdisplay.samples.AllCharSample
Shell
#!/bin/bash echo 7 segment display CP=./classes:$PI4J_HOME/lib/pi4j-core.jar sudo java -cp $CP sevensegdisplay.samples.OnOffSample
Shell
#!/bin/bash echo 7 segment display CP=./classes:$PI4J_HOME/lib/pi4j-core.jar sudo java -cp $CP sevensegdisplay.samples.InteractiveSample
Shell
#!/bin/bash echo 7 segment display CP=./classes:$PI4J_HOME/lib/pi4j-core.jar sudo java -cp $CP sevensegdisplay.samples.ClockSample
Shell
#!/bin/bash echo 7 segment display CP=./classes:$PI4J_HOME/lib/pi4j-core.jar sudo java -cp $CP sevensegdisplay.samples.CPUTempSample
Shell
#!/bin/bash echo 7 segment display CP=./classes:$PI4J_HOME/lib/pi4j-core.jar sudo java -cp $CP sevensegdisplay.samples.CounterSample
Shell
#!/bin/bash echo 7 segment display CP=./classes:$PI4J_HOME/lib/pi4j-core.jar sudo java -cp $CP sevensegdisplay.samples.AllCharInteractiveSample
Shell
#!/bin/bash # PI4J_HOME=/home/pi/pi4j/pi4j-distribution/target/distro-contents CP=./classes CP=$CP:../AdafruitI2C/classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar # sudo java -cp $CP raspisamples.PWM3ColorLed
Shell
#!/bin/bash # PI4J_HOME=/home/pi/pi4j/pi4j-distribution/target/distro-contents CP=./classes CP=$CP:../AdafruitI2C/classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar # sudo $JAVA_HOME/bin/java -cp $CP raspisamples.RealPWMLed
Shell
#!/bin/bash PI4J_HOME=/home/pi/pi4j/pi4j-distribution/target/distro-contents CP=./classes CP=$CP:../AdafruitI2C/classes CP=$CP:../ADC/classes #CP=$CP:../SevenSegDisplay/classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar # sudo java -cp $CP raspisamples.servo.StandardServo
Shell
#!/bin/bash # PI4J_HOME=/home/pi/pi4j/pi4j-distribution/target/distro-contents CP=./classes CP=$CP:../AdafruitI2C/classes # CP=$CP:../SevenSegDisplay/classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar # CP=$CP:./lib/json.jar # sudo java -cp $CP raspisamples.log.net.WeatherDataFileLogging $*
Shell
#!/bin/bash PI4J_HOME=/home/pi/pi4j/pi4j-distribution/target/distro-contents CP=./classes CP=$CP:../AdafruitI2C/classes CP=$CP:../ADC/classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar # sudo java -cp $CP -Dverbose=true raspisamples.PanTilt
Shell
#!/bin/bash # PI4J_HOME=/home/pi/pi4j/pi4j-distribution/target/distro-contents CP=./classes CP=$CP:../AdafruitI2C/classes CP=$CP:../SevenSegDisplay/classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar # echo 2 devices on the I2C bus. # sudo java -cp $CP raspisamples.SevenSegBMP180
Shell
#!/bin/bash # PI4J_HOME=/home/pi/pi4j/pi4j-distribution/target/distro-contents CP=./classes CP=$CP:../AdafruitI2C/classes # CP=$CP:../SevenSegDisplay/classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar # CP=$CP:./lib/json.jar # sudo java -cp $CP raspisamples.log.net.BMP180Logging $*
Shell
#!/bin/bash # PI4J_HOME=/home/pi/pi4j/pi4j-distribution/target/distro-contents CP=./classes CP=$CP:../AdafruitI2C/classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar # sudo $JAVA_HOME/bin/java -cp $CP raspisamples.Real4PWMLed
Shell
#!/bin/bash # PI4J_HOME=/home/pi/pi4j/pi4j-distribution/target/distro-contents CP=./classes CP=$CP:../AdafruitI2C/classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar # sudo java -cp $CP raspisamples.wp.WiringPiSoftPWMExample
Shell
#!/bin/bash # PI4J_HOME=/home/pi/pi4j/pi4j-distribution/target/distro-contents CP=./classes CP=$CP:../AdafruitI2C/classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar # sudo $JAVA_HOME/bin/java -cp $CP raspisamples.Real4PWMLedV2
Shell
#!/bin/bash PI4J_HOME=/home/pi/pi4j/pi4j-distribution/target/distro-contents CP=./classes CP=$CP:../AdafruitI2C/classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar CP=$CP:./lib/json.jar CP=$CP:./lib/java_websocket.jar # sudo java -cp $CP raspisamples.PanTiltWebSocket
Shell
#!/bin/bash # PI4J_HOME=/home/pi/pi4j/pi4j-distribution/target/distro-contents CP=./classes CP=$CP:../AdafruitI2C/classes # CP=$CP:../SevenSegDisplay/classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar # CP=$CP:./lib/json.jar # sudo java -cp $CP raspisamples.log.net.WeatherDataLogging $*
Shell
#!/bin/bash # PI4J_HOME=/home/pi/pi4j/pi4j-distribution/target/distro-contents CP=./classes CP=$CP:../AdafruitI2C/classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar # sudo java -cp $CP raspisamples.wp.WiringPiSoftPWM3ColorLed
Shell
#!/bin/bash CP=./classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar sudo java -cp $CP adafruitspi.sensor.main.SampleBMP183Main
Shell
#!/bin/bash CP=./classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar sudo java -cp $CP adafruiti2c.samples.Servo001
Shell
#!/bin/bash # PI4J_HOME=/home/pi/pi4j/pi4j-distribution/target/distro-contents CP=./classes CP=$CP:../RasPISamples/classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar sudo java -cp $CP adafruiti2c.sensor.main.SampleTCS34725PWMMain $*
Shell