I hereby claim:
- I am erikaheidi on github.
- I am erikaheidi (https://keybase.io/erikaheidi) on keybase.
- I have a public key ASAaSBOesO9o-h1mCdUT8mjqkzxNKwG6oYJx7e3aXLWMGgo
To claim this, I am signing this object:
| <?php | |
| require __DIR__ . '/vendor/autoload.php'; | |
| $serial = new PhpSerial(); | |
| $serial->deviceSet("/dev/ttyUSB0"); | |
| $serial->confBaudRate(19200); | |
| $serial->confParity("none"); | |
| $serial->confCharacterLength(8); |
| void setup() { | |
| pinMode(13, OUTPUT); | |
| } | |
| void loop() { | |
| digitalWrite(13, HIGH); // turn the LED on (HIGH is the voltage level) | |
| delay(1000); // wait for a second | |
| digitalWrite(13, LOW); // turn the LED off by making the voltage LOW | |
| delay(1000); // wait for a second |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| #================================================================ | |
| # Let's Encrypt renewal script for Apache on CentOS | |
| # @author Erika Heidi<erika@do.co> | |
| # Usage: ./le-renew.sh [base-domain-name] | |
| # More info: http://do.co/1SHe4eL | |
| #================================================================ | |
| domain=$1 | |
| le_path='/opt/letsencrypt' | |
| le_conf='/etc/letsencrypt' |
| #!/bin/bash | |
| #================================================================ | |
| # Let's Encrypt renewal script for Apache on Ubuntu/Debian | |
| # @author Erika Heidi<erika@do.co> | |
| # Usage: ./le-renew.sh [base-domain-name] | |
| # More info: http://do.co/1mbVihI | |
| #================================================================ | |
| domain=$1 | |
| le_path='/opt/letsencrypt' | |
| le_conf='/etc/letsencrypt' |
| #!/bin/bash | |
| yum install epel-release -y | |
| yum install nginx -y | |
| export HOSTNAME=$(curl -s http://169.254.169.254/metadata/v1/hostname) | |
| export PUBLIC_IPV4=$(curl -s http://169.254.169.254/metadata/v1/interfaces/public/0/ipv4/address) | |
| echo Droplet: $HOSTNAME, IP Address: $PUBLIC_IPV4 > /usr/share/nginx/html/index.html | |
| systemctl enable nginx | |
| systemctl start nginx |
September 14, 2015 Meeting
##About Networks, connections and relationships
##PHPWomen
##Learning PHP
I hereby claim:
To claim this, I am signing this object:
| /* | |
| POMODORO 0.2 | |
| by @erikaheidi | |
| January 2015 | |
| LED STATES: | |
| starts blue - idle. When the button is clicked, it starts a pomodoro working phase. LED will be a red "breathing" style. | |
| After the time is done, it will change to GREEN (static) - indicating that the pomodoro was completed and now you should go to a PAUSE | |
| When clicking the button, the PAUSE phase will start (GREEN "BREATHING"). It will turn to RED (static) when the pause is done, indicating that | |
| a new WORKING phase should follow. When the button is clicked, starts over with the WORKING phase (RED breathing LED) :) |
| /* | |
| * DEMO IRremote Receive using the retired generic keychan remote control form Sparkfun | |
| * https://www.sparkfun.com/products/retired/10280 | |
| * | |
| * IR Receiver on PIN 2 | |
| * @author Erika Heidi | |
| */ | |
| #include <IRremote.h> |