Skip to content

Instantly share code, notes, and snippets.

View manifestinteractive's full-sized avatar

Peter Schmalfeldt manifestinteractive

View GitHub Profile
@manifestinteractive
manifestinteractive / keystore_instructions.md
Last active July 6, 2016 05:47
Keystore Instructions

Creating a Keystore File

To create a Keystore file, you will need to hop in terminal and run a few commands.

cd /path/to/keystore/folder
keytool -genkey -v -keystore projectname.keystore -alias ProjectName -keyalg RSA -keysize 2048 -validity 10000
alfred://theme/searchForegroundColor=rgba(66,66,66,1.00)&resultSubtextFontSize=1&searchSelectionForegroundColor=rgba(255,255,255,1.00)&separatorColor=rgba(0,0,0,0.01)&resultSelectedBackgroundColor=rgba(0,0,0,0.00)&shortcutColor=rgba(66,66,66,0.15)&scrollbarColor=rgba(0,0,0,0.03)&imageStyle=9&resultSubtextFont=Helvetica&background=rgba(255,255,255,0.00)&shortcutFontSize=1&searchFontSize=4&resultSubtextColor=rgba(66,66,66,0.25)&searchBackgroundColor=rgba(0,0,0,0.00)&name=Almost%20white&resultTextFontSize=2&resultSelectedSubtextColor=rgba(170,170,170,1.00)&shortcutSelectedColor=rgba(66,66,66,0.25)&widthSize=2&border=rgba(255,255,255,0.90)&resultTextFont=Helvetica&resultTextColor=rgba(170,170,170,1.00)&cornerRoundness=3&searchFont=Helvetica&searchPaddingSize=0&credits=Peter%20Schmalfeldt&shortcutFont=Helvetica&resultSelectedTextColor=rgba(66,66,66,1.00)&resultPaddingSize=3
@manifestinteractive
manifestinteractive / sniff.txt
Last active November 23, 2023 02:16
A friendly formatter for curl requests to help with debugging.
\n
============= HOST: ==========\n
\n
local_ip: %{local_ip}\n
local_port: %{local_port}\n
remote_ip: %{remote_ip}\n
remote_port: %{remote_port}\n
\n
======= CONNECTION: ==========\n
\n
@manifestinteractive
manifestinteractive / README.md
Last active October 8, 2020 04:45
DigitialOcean Nginx Config Files

DigitialOcean Nginx Website Setup ( Virtual Hosts )

These are the configuration files for an Ubuntu 20.04 Droplet on Ubuntu. The end results is a custom Nginx Server with HTTP2 & SSL Certificates for each website on a droplet.

Here is how I typically setup a new server:

@manifestinteractive
manifestinteractive / civil-services-plan.md
Last active October 6, 2017 08:07
Civil Services Plan

Civil Services Logo

Civil Services is a collection of tools that make it possible for citizens to be a part of what is happening in their Local, State & Federal Governments.

Project Overview:

The following is what I hope to achieve with Civil Services and the tasks I need to take to get us there:

@manifestinteractive
manifestinteractive / release-names.md
Last active February 12, 2017 00:09
Software Development Release Names ( Based on Female Scientists )
@manifestinteractive
manifestinteractive / multiple-npm-accounts.md
Created September 2, 2017 03:41
Multiple NPM Accounts on Single Machine

Multiple NPM Accounts on Single Machine

Create Custom NPM Config

If you do not already have a local ~/.npmrc file, you need to create one.

  1. Open a terminal window
  2. Run npm login
@manifestinteractive
manifestinteractive / long-term-prep.md
Last active September 7, 2017 07:19
Long Term Prep

Long Term Prep

By no means am I an expert on this stuff, but I have been doing basic research on this from year to year and have been trying to keep up with "best practices". I started this "prepper" stuff back in St. Louis, MO as we lived on a fault line and we were well past due for a major earthquake ( by 100+ years actually ). So I felt kind of stupid not being ready if it was a pretty good bet that at some point in my life, I was going to meet a natural disaster.

Something important to note, is that I did not just drop a bunch of money on this all at once. I just slowly accumulated things over the past 6-8 years. I figured if I budgeted about max of $250 a year on preparation stuff, I would only need to do that for a few years before I could have a pretty decent nest egg.

My primary focus was based purely on how I live my life, which is that I mainly work from home with my wife, and when I am traveling, it's usually by car, and I'm usually within 30 miles from home.

Get Home Bag (GHB)

@manifestinteractive
manifestinteractive / fix-ssl-certs.md
Created October 12, 2017 22:42
Fix Let's Encrypt Failing Certificates

Fix Let's Encrypt Failing Certificates

For some reason, sometimes Let's Encrypt just has a hard time renewing SSL certificates and you might need to recreate them. Here is the process I take to get things back up and running fairly quickly with Digital Ocean Nginx Servers.

Check Issues

Change to Let's Encrypt directory:

@manifestinteractive
manifestinteractive / README.md
Last active July 28, 2018 01:41
Nginx Config Files for Node API

Nginx Config Files for Node API

My servers are setup using Digital Ocean using These Instructions.

Then, for the API setup for Nginx, I use this setup for nginx.