Remove extra files.
This commit is contained in:
		
							
								
								
									
										14
									
								
								blinky.py
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								blinky.py
									
									
									
									
									
								
							@@ -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()
 | 
					 | 
				
			||||||
							
								
								
									
										14
									
								
								button.py
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								button.py
									
									
									
									
									
								
							@@ -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() 
 | 
					 | 
				
			||||||
@@ -1,32 +0,0 @@
 | 
				
			|||||||
<!DOCTYPE html>
 | 
					 | 
				
			||||||
<html>
 | 
					 | 
				
			||||||
<head>
 | 
					 | 
				
			||||||
<title>Welcome to nginx on Debian!</title>
 | 
					 | 
				
			||||||
<style>
 | 
					 | 
				
			||||||
    body {
 | 
					 | 
				
			||||||
        width: 35em;
 | 
					 | 
				
			||||||
        margin: 0 auto;
 | 
					 | 
				
			||||||
        font-family: Tahoma, Verdana, Arial, sans-serif;
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
</style>
 | 
					 | 
				
			||||||
</head>
 | 
					 | 
				
			||||||
<body>
 | 
					 | 
				
			||||||
<h1>Welcome to nginx on Debian!</h1>
 | 
					 | 
				
			||||||
<p>If you see this page, the nginx web server is successfully installed and
 | 
					 | 
				
			||||||
working on Debian. Further configuration is required.</p>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
<p>For online documentation and support please refer to
 | 
					 | 
				
			||||||
<a href="http://nginx.org/">nginx.org</a></p>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
<p>
 | 
					 | 
				
			||||||
      Please use the <tt>reportbug</tt> tool to report bugs in the
 | 
					 | 
				
			||||||
      nginx package with Debian. However, check <a
 | 
					 | 
				
			||||||
      href="http://bugs.debian.org/cgi-bin/pkgreport.cgi?ordering=normal;archive=0;src=nginx;repeatmerged=0">existing
 | 
					 | 
				
			||||||
      bug reports</a> before reporting a new bug.
 | 
					 | 
				
			||||||
</p>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
<p><em>Thank you for using debian and nginx.</em></p>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
</body>
 | 
					 | 
				
			||||||
</html>
 | 
					 | 
				
			||||||
@@ -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
 | 
					 | 
				
			||||||
@@ -1,9 +0,0 @@
 | 
				
			|||||||
<html>
 | 
					 | 
				
			||||||
<head>
 | 
					 | 
				
			||||||
<title>Static page</title>
 | 
					 | 
				
			||||||
</head>
 | 
					 | 
				
			||||||
<body>
 | 
					 | 
				
			||||||
<h1>This is an example of a static page</h1>
 | 
					 | 
				
			||||||
<p>Neat, isn’t it?</p>
 | 
					 | 
				
			||||||
</body>
 | 
					 | 
				
			||||||
</html>
 | 
					 | 
				
			||||||
@@ -1,23 +0,0 @@
 | 
				
			|||||||
<html>
 | 
					 | 
				
			||||||
<head>
 | 
					 | 
				
			||||||
<meta charset="utf-8">
 | 
					 | 
				
			||||||
<title>Static page</title>
 | 
					 | 
				
			||||||
<!-- Mobile Specific Metas
 | 
					 | 
				
			||||||
  –––––––––––––––––––––––––––––––––––––––––––––––––– -->
 | 
					 | 
				
			||||||
  <meta name="viewport" content="width=device-width, initial-scale=1">
 | 
					 | 
				
			||||||
  <!-- FONT
 | 
					 | 
				
			||||||
  –––––––––––––––––––––––––––––––––––––––––––––––––– -->
 | 
					 | 
				
			||||||
  <link href="//fonts.googleapis.com/css?family=Raleway:400,300,600" rel="stylesheet" type="text/css">
 | 
					 | 
				
			||||||
  <!-- CSS
 | 
					 | 
				
			||||||
  –––––––––––––––––––––––––––––––––––––––––––––––––– -->
 | 
					 | 
				
			||||||
  <link rel="stylesheet" href="css/normalize.css">
 | 
					 | 
				
			||||||
  <link rel="stylesheet" href="css/skeleton.css">
 | 
					 | 
				
			||||||
  <!-- Favicon
 | 
					 | 
				
			||||||
  –––––––––––––––––––––––––––––––––––––––––––––––––– -->
 | 
					 | 
				
			||||||
  <link rel="icon" type="image/png" href="images/favicon.png">
 | 
					 | 
				
			||||||
</head>
 | 
					 | 
				
			||||||
<body>
 | 
					 | 
				
			||||||
<h1>This is an example of a static page</h1>
 | 
					 | 
				
			||||||
<p>Neat, isn’t it?</p>
 | 
					 | 
				
			||||||
</body>
 | 
					 | 
				
			||||||
</html>
 | 
					 | 
				
			||||||
		Reference in New Issue
	
	Block a user