I hereby claim:
- I am jaredhowland on github.
- I am jaredhowland (https://keybase.io/jaredhowland) on keybase.
- I have a public key ASD1pQNzE0_0oHHfyhh8duLIgfiX-lol--kN64_0U7Svlwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
This is based on a guide on the Ubnt forums.
Log into your Edgerouter and run the following - sudo -i && vi /config/user-data/update-adblock-dnsmasq.sh
This will switch you to the root user and open up vi
.
#!/bin/bash
# Henry Bley-Vroman, 2019 | |
# | |
# Usage | |
# Paste or source this into your shell profile. | |
# Requires macOS and that your shell supports [[ ]] and '<string> == <starting substring>*' | |
# (Bash, Zsh, Ksh etc) | |
# alias php to the latest PHP installed with MAMP | |
MAMP_PHP__LATEST=$(ls /Applications/MAMP/bin/php/ | sort -V | tail -1) | |
alias php="/Applications/MAMP/bin/php/${MAMP_PHP__LATEST}/bin/php -c \"/Library/Application Support/appsolute/MAMP PRO/conf/${MAMP_PHP__LATEST}.ini\"" |
From https://thomasleplus.github.io/bookmarklets/
If you don’t know what bookmarklets are, I recommend this introduction.
If you are familiar with bookmarklets but you are not sure how to install one, you can find detailed instructions here.
#!/usr/bin/env zsh | |
# Setup script for a new macOS machine | |
# Version of Ruby to use with `chruby` | |
rubyver="3.2.2" | |
# Bold font | |
bold=$(tput bold) | |
normal=$(tput sgr0) |