Skip to content

Instantly share code, notes, and snippets.

Avatar
👨‍💻
Turning caffeine into code

Philihp Busby philihp

👨‍💻
Turning caffeine into code
View GitHub Profile
@philihp
philihp / install-asdf-with-nodejs.md
Created Jun 25, 2020
Installing ASDF with NodeJS
View install-asdf-with-nodejs.md

Install packages from Brew

brew install asdf
brew install gnupg

Create/update an asdf repo

if [ ! -d ~/.asdf ]; then
  git clone https://github.com/asdf-vm/asdf.git ~/.asdf
View tta.csv
date name g1 s1 g2 s2 g3 s3 g4 s4
2016-01-21 a56c54f2-4c30-44bc-a9c8-35ae9c307a30 ville 249 phil 222 ken 215 aaron 0
2016-02-19 I love the smell of napalm in the morning ville 173 aaron 137 phil 136 ken 0
2016-03-16 All that is necessary for the triumph of Ville is that bad men do nothing phil 250 ville 236 ken 197 aaron 163
2016-04-19 2016D ville 161 phil 150 ken 144 aaron 0
2016-05-19 2016E ken 180 aaron 165 ville 149 phil 126
2016-06-24 2016F ken 194 phil 165 aaron 156 ville 155
2016-07-20 Vacation for (from) Aaron ken 126 phil 104 ville 92
2020-08-23 2016G phil 176 ville 164 aaron 148 ken 125
2016-09-29 2016H ken 180 phil 169 ville 158 aaron 149
@philihp
philihp / gist:77ed7ac4cfab93ffb97990359e375831
Created Dec 30, 2018
Installing new Ruby 2.6.0 with rbenv
View gist:77ed7ac4cfab93ffb97990359e375831
brew upgrade ruby-build
rbenv install 2.6
@philihp
philihp / Node_AWS_Linux.md
Created Feb 8, 2017 — forked from nrollr/Node_AWS_Linux.md
Install Node.js on Amazon Linux (EC2)
View Node_AWS_Linux.md

##Installing Node.js on Amazon Linux AMI

The following will guide you through the process of installing Node.js on an AWS EC2 instance running Amazon Linux AMI 2016.09 - Release Notes

For this process I'll be using a t2.micro EC2 instance running Amazon Linux AMI (ami-d41d58a7). Once the EC2 instance is up-and-running, connect to your server via ssh

View gist:f7dce82fc67cfb4666fa6c0606ddde08
Verifying that "philihp.id" is my Blockstack ID. https://onename.com/philihp
View 2016-11-06-pgp-transition-statement.txt
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1,SHA512
2016-11-06 05:25:00 +0000
I am replacing my old DSA-1024 key with a stronger RSA-4096 key. The primary
motivation is to store my key on a Yubikey Nano which doesn't support DSA,
however there is a possibility that the old key has been compromised. Although
I don't have any evidence to suspect this, I certainly haven't been as careful
over the years as I could have.
@philihp
philihp / nginx.conf
Last active Dec 5, 2017 — forked from sumardi/nginx.default.conf
Install PHP-FPM, Nginx & MySQL on EC2 with Amazon Linux AMI
View nginx.conf
# Install linux update, followed by GCC and Make
sudo yum -y update
sudo yum install -y gcc make
# Install Nginx and PHP-FPM
sudo yum install -y nginx php56-fpm
# Install PHP extensions
sudo yum install -y php56-devel php56-mysql php56-pdo \
php56-pear php56-mbstring php56-cli php56-odbc \
View circle.yml
machine:
environment:
JAVA_TOOL_OPTIONS: '-Dfile.encoding=UTF8 -Duser.timezone=UTC'
_JAVA_OPTIONS: '-Xms512m -Xmx1024m -Xss2m'
java:
version: oraclejdk8
python:
version: 2.7.6
services:
- docker
View converge.bash
function converge() {
id=$1
reason=$2
echo "Converging $id..."
cd ~/code/chef
fab -P -u $USER -R $id converge_service:"$2"
cd -
}
You can’t perform that action at this time.