Skip to content

Instantly share code, notes, and snippets.

View stormtrooper42's full-sized avatar

Dream stormtrooper42

View GitHub Profile

Keybase proof

I hereby claim:

  • I am stormtrooper42 on github.
  • I am dream (https://keybase.io/dream) on keybase.
  • I have a public key ASA7mnwKzrLDLXPJcgm9M_EQ7Ci6QVXnxDkj0mySSKmJVgo

To claim this, I am signing this object:

@stormtrooper42
stormtrooper42 / photosensor.py
Created May 6, 2017 15:38
Code photoresistance
# DEPENDANCES
import time
import RPi.GPIO as GPIO
# SETUP
GPIO.setmode(GPIO.BCM)
GPIO.setup(4, GPIO.IN)
# BOUCLE
while True:
@stormtrooper42
stormtrooper42 / keybase.md
Created February 21, 2017 21:05
keybase.md

Keybase proof

I hereby claim:

  • I am stormtrooper42 on github.
  • I am dream (https://keybase.io/dream) on keybase.
  • I have a public key ASCdjQ5WMOTfk7O3mSjLRtvjaZKjYAFm-shKj_utqbzUGwo

To claim this, I am signing this object:

### Keybase proof
I hereby claim:
* I am stormtrooper42 on github.
* I am dream (https://keybase.io/dream) on keybase.
* I have a public key whose fingerprint is A1FB CCDE D8BA EB02 B3A0 9797 4C3C 1593 1E1D D792
To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am stormtrooper42 on github.
  • I am dream (https://keybase.io/dream) on keybase.
  • I have a public key ASD4jYdtFQd752j6wYUS-lMiSPa9Ns695mGDWqbKwflCNQo

To claim this, I am signing this object:

@stormtrooper42
stormtrooper42 / torrc
Created December 3, 2015 07:13
TORRC
## Configuration file for a typical Tor user
## Last updated 22 September 2015 for Tor 0.2.7.3-alpha.
## (may or may not work for much older or much newer versions of Tor.)
##
## Lines that begin with "## " try to explain what's going on. Lines
## that begin with just "#" are disabled commands: you can enable them
## by removing the "#" symbol.
##
## See 'man tor', or https://www.torproject.org/docs/tor-manual.html,
## for more options you can use in this file.
@stormtrooper42
stormtrooper42 / default
Created December 3, 2015 06:54
Default Nginx Site
# You may add here your
# server {
# ...
# }
# statements for each of your virtual hosts to this file
##
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx.
# http://wiki.nginx.org/Pitfalls
@stormtrooper42
stormtrooper42 / nginx.conf
Created December 3, 2015 06:50
Nginx File
user www-data;
worker_processes 4;
pid /var/run/nginx.pid;
events {
worker_connections 768;
# multi_accept on;
}
http {
@stormtrooper42
stormtrooper42 / .bash
Last active August 29, 2015 14:24
Le meilleur .bash de votre vie !
#!/bin/bash
#------------------------------------------////
#------------------------------------------////
# Colors:
#------------------------------------------////
black='\e[0;30m'
blue='\e[0;34m'
green='\e[0;32m'
cyan='\e[0;36m'