Skip to content

Instantly share code, notes, and snippets.

💭
I may be slow to respond.

Erika Heidi erikaheidi

💭
I may be slow to respond.
Block or report user

Report or block erikaheidi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View hacktoberfest-board-partial.md
total Language
2477 JavaScript
1399 Python
1051 NULL
715 TypeScript
631 Java
@erikaheidi
erikaheidi / doin.php
Created May 15, 2019
Dynamically generates an Ansible inventory based on your DigitalOcean droplets
View doin.php
<?php
####################################
# Dynamic Inventory Build Script
# usage: php doin.php > inventory
####################################
$DO_API_TOKEN = 'YOUR_DIGITALOCEAN_API_TOKEN';
$GROUP_NAME = 'servers';
$endpoint = "https://api.digitalocean.com/v2/droplets";
View Laracon_talk.md
View nametag.scad
font = "Ubuntu Mono";
letter_size = 60;
padding = 20;
string = "@erikaheidi";
textlen = len(string);
box_width = letter_size*textlen*0.8;
box_height = letter_size + (2*padding);
box_thickness = 20;
View blink.php
View phpserial.php
<?php
require __DIR__ . '/vendor/autoload.php';
$serial = new PhpSerial();
$serial->deviceSet("/dev/ttyUSB0");
$serial->confBaudRate(19200);
$serial->confParity("none");
$serial->confCharacterLength(8);
View blink.ino
View keybase.md

Keybase proof

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:

View le-renew-centos.sh
#!/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'
@erikaheidi
erikaheidi / le-renew.sh
Last active Nov 17, 2019
Auto renewal for Let's Encrypt Apache
View le-renew.sh
#!/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'
You can’t perform that action at this time.