Skip to content

Instantly share code, notes, and snippets.

Jamie Phillips phillipsj

Block or report user

Report or block phillipsj

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 manjaro-setup.sh
#! /usr/bin/env sh
# Install Snaps
sudo snap install hugo
sudo snap install kate
sudo snap install node --classic
sudo snap install postman
sudo snap install powershell --classic
sudo snap install storage-explorer
sudo snap install gitkraken
View install-mint-xfce.sh
#!/bin/bash
#
# This script is for Linux Mint XFCE to download and install XRDP+XORGXRDP via
# source.
#
if [ "$(id -u)" -ne 0 ]; then
echo 'This script must be run with root privileges' >&2
exit 1
@phillipsj
phillipsj / install.sh
Created Aug 17, 2019
Configrue Hyper-V enhanced session support for Pop!_OS
View install.sh
#!/bin/bash
#
# This script is for Pop!_OS 19.04 to download and install XRDP+XORGXRDP via
# source.
#
if [ "$(id -u)" -ne 0 ]; then
echo 'This script must be run with root privileges' >&2
exit 1
@phillipsj
phillipsj / node.json
Created Aug 6, 2019
Packer Troubleshooting
View node.json
{
"variables": {
"client_id": "{{env `TF_VAR_clientid`}}",
"client_secret": "{{env `TF_VAR_clientsecret`}}",
"tenant_id": "{{env `TF_VAR_tenant_id`}}",
"subscription_id": "{{env `TF_VAR_subscription_id`}}"
},
"builders": [{
"type": "azure-arm",
@phillipsj
phillipsj / configure-system.sh
Last active Apr 19, 2019
Tired of provisioning a system from scratch so I decided to make a script.
View configure-system.sh
#! /bin/sh
# Prereqs
sudo add-apt-repository universe
sudo apt-get install -y apt-transport-https lsb-release software-properties-common dirmngr gnupg-agent ca-certificates curl
# Docker
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository \
@phillipsj
phillipsj / lucky-install.sh
Last active Mar 2, 2019
Install Lucky Framework, assumes Crystal is already installed.
View lucky-install.sh
#! /bin/bash
# Setup Node Deps
sudo snap install node --channel=11/stable --classic -y
# Configure node to use home directory for npm modules
wget -O- https://raw.githubusercontent.com/glenpike/npm-g_nosudo/master/npm-g-nosudo.sh | sh
# Install Yarn
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
@phillipsj
phillipsj / crystal-setup.sh
Created Feb 7, 2019
Bash script for adding Crystal Lang repos to bash and installing it and dependencies.
View crystal-setup.sh
#! /bin/bash
curl -sL "https://keybase.io/crystal/pgp_keys.asc" | sudo apt-key add -
echo "deb [arch=amd64] https://dist.crystal-lang.org/apt crystal main" | sudo tee /etc/apt/sources.list.d/crystal.list
sudo apt-get update
sudo apt install libssl-dev libxml2-dev libyaml-dev libgmp-dev libreadline-dev -y
sudo apt install crystal -y
View keybase.md

Keybase proof

I hereby claim:

  • I am phillipsj on github.
@phillipsj
phillipsj / terraform-installer.sh
Last active Dec 6, 2018
Terraform installer for Linux.
View terraform-installer.sh
#!/bin/bash
echo "Fetching Terraform..."
wget -O terraform.zip https://releases.hashicorp.com/terraform/0.11.10/terraform_0.11.10_linux_amd64.zip
echo "Unzipping Terraform..."
unzip terraform.zip
echo "Making Terraform executable..."
chmod +x ./terraform
@phillipsj
phillipsj / packer-installer.sh
Last active Dec 6, 2018
Packer installer for Linux
View packer-installer.sh
#!/bin/bash
echo "Fetching Packer..."
wget -O packer.zip https://releases.hashicorp.com/packer/1.3.3/packer_1.3.3_linux_amd64.zip
echo "Unzipping Packer..."
unzip packer.zip
echo "Making packer executable..."
chmod +x ./packer
You can’t perform that action at this time.