Skip to content

Instantly share code, notes, and snippets.

Running tf apply 💜

Ryan MacLean ryanmaclean

Running tf apply 💜
Block or report user

Report or block ryanmaclean

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
ryanmaclean /
Last active Aug 10, 2019
Mojave Post-Install Minimum Steps

Start by opening the terminal to get some of this started

  • Open Terminal: cmd+space, type “t”, enter

Turn off natural scrolling

We'll turn off natrual scrolling and quickly reboot in order to resume the rest of the steps.

defaults write -g -bool NO
sudo reboot
ryanmaclean /
Last active May 5, 2019 — forked from lightdiscord/
Rust and wasm and netlify
#!/usr/bin/env bash
set -euf -o pipefail
curl -Lo cargo-web.gz${cweb_version}/cargo-web-x86_64-unknown-linux-gnu.gz
gunzip cargo-web.gz
chmod u+x cargo-web
# Docker
sudo apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
curl -fsSL | sudo apt-key add -
sudo add-apt-repository \
"deb [arch=amd64] \
View .zshrc
# -*- mode: sh -*-
# Loaded by every zsh shell
# Do not put environement variables in it, use
# .profile for it.
if [ "$TMUX" = "" ]; then tmux; fi
# * zplug
export ZPLUG_HOME=${HOME}/.zplug
if [[ ! -d ${ZPLUG_HOME} ]]; then
git clone $ZPLUG_HOME
View tmux-cheatsheet.markdown

tmux shortcuts & cheatsheet

start new:


start new with session name:

tmux new -s myname
ryanmaclean / conemu_tasks.xml
Created Jan 13, 2019
ConEmu Config with Docker Git WSL Bash Powershell CMD and Far Integrated
View conemu_tasks.xml
<?xml version="1.0" encoding="utf-8"?>
<key name="Software">
<key name="ConEmu">
<key name=".Vanilla" modified="2019-01-12 19:17:13" build="190108">
<value name="Language" type="string" data="en"/>
<value name="StartType" type="hex" data="02"/>
<value name="CmdLine" type="string" data=""/>
<value name="StartTasksFile" type="string" data=""/>
<value name="StartTasksName" type="string" data="{Bash::bash}"/>
<value name="StartFarFolders" type="hex" data="00"/>
ryanmaclean / Script_Template.ps1
Created Oct 1, 2018 — forked from 9to5IT/Script_Template.ps1
PowerShell: Script Template
View Script_Template.ps1
#requires -version 2
<Overview of script>
<Brief description of script>
.PARAMETER <Parameter_Name>
<Brief description of parameter input required. Repeat this attribute if required>
ryanmaclean / task.yml
Created Sep 24, 2018
Target Ansible Unattended Upgrades in Ubuntu 16.X+
View task.yml
# Trying target unattended-upgrades, works every time
# from here:
- name: Wait for automatic system updates
shell: while pgrep unattended; do sleep 10; done;
ryanmaclean / frigga.txt
Created Sep 24, 2018 — forked from johnrengelman/frigga.txt
Netflix Frigga Naming Schema
View frigga.txt
ASG name = = app-stack-detail(-options)-push
frigga.cluster = app-stack-detail
frigga.push = v<sequence)
- c0<value> = countries
- d0<value = devPhase
- h0<value> = hardware
ryanmaclean /
Last active Jul 4, 2018
Create VPN for Ubiquiti Edge Router Lite 3

Edge Router Lite VPN Config Script

First, get into config mode with configure

From here, edit the following interface, pool. start and end, PSK, local users and DNS server (add more if needed):

set vpn ipsec ipsec-interfaces interface eth0
set vpn l2tp remote-access dhcp-interface eth0
set vpn l2tp remote-access client-ip-pool start
You can’t perform that action at this time.