diff --git a/blinky.py b/blinky.py deleted file mode 100755 index 6e46ab6..0000000 --- a/blinky.py +++ /dev/null @@ -1,14 +0,0 @@ -import RPi.GPIO as GPIO -import time - -pin = 7 -GPIO.setmode(GPIO.BOARD) -GPIO.setup(pin, GPIO.OUT) - -for i in range (0,20): - GPIO.output(pin, GPIO.HIGH) - time.sleep(1) - GPIO.output(pin, GPIO.LOW) - time.sleep(1) - -GPIO.cleanup() diff --git a/button.py b/button.py deleted file mode 100755 index ca3e8c8..0000000 --- a/button.py +++ /dev/null @@ -1,14 +0,0 @@ -import RPi.GPIO as GPIO ## Import GPIO Library - -inPin = 8 ## Switch connected to pin 8 -GPIO.setmode(GPIO.BOARD) ## Use BOARD pin numbering -GPIO.setup(inPin, GPIO.IN) ## Set pin 8 to INPUT - -while True: ## Do this forever - value = GPIO.input(inPin) ## Read input from switch - if value: ## If switch is released - print "Not Pressed" - else: ## Else switch is pressed - print "Pressed" - -GPIO.cleanup() diff --git a/html/index.nginx-debian.html b/html/index.nginx-debian.html deleted file mode 100755 index 118c9d6..0000000 --- a/html/index.nginx-debian.html +++ /dev/null @@ -1,32 +0,0 @@ - - - -Welcome to nginx on Debian! - - - -

Welcome to nginx on Debian!

-

If you see this page, the nginx web server is successfully installed and -working on Debian. Further configuration is required.

- -

For online documentation and support please refer to -nginx.org

- -

- Please use the reportbug tool to report bugs in the - nginx package with Debian. However, check existing - bug reports before reporting a new bug. -

- -

Thank you for using debian and nginx.

- - - - diff --git a/lab_app/lab_app_uwsgi.ini b/lab_app/lab_app_uwsgi.ini deleted file mode 100755 index 9a545c1..0000000 --- a/lab_app/lab_app_uwsgi.ini +++ /dev/null @@ -1,24 +0,0 @@ -#Full path: /var/www/lab_app/lab_app_uwsgi.ini - -[uwsgi] -#application's base folder -base = /var/www/lab_app - -#python module to import -app = lab_app -module = %(app) - -home = %(base)/venv -pythonpath = %(base) - -#socket file's location -socket = /var/www/lab_app/%n.sock - -#permissions for the socket file -chmod-socket = 666 - -#the variable that holds a flask application inside the module imported at line #6 -callable = app - -#location of log files -logto = /var/log/uwsgi/%n.log diff --git a/lab_app/static/a_static_file.html b/lab_app/static/a_static_file.html deleted file mode 100755 index 06f6886..0000000 --- a/lab_app/static/a_static_file.html +++ /dev/null @@ -1,9 +0,0 @@ - - -Static page - - -

This is an example of a static page

-

Neat, isn’t it?

- - diff --git a/lab_app/static/a_static_file2.html b/lab_app/static/a_static_file2.html deleted file mode 100755 index 6ad83a5..0000000 --- a/lab_app/static/a_static_file2.html +++ /dev/null @@ -1,23 +0,0 @@ - - - -Static page - - - - - - - - - - - -

This is an example of a static page

-

Neat, isn’t it?

- -