After a bit of hunting far and wide I have achieved success. For anyone who's been to Wheatsville Co-op in Austin, Texas knows that it's the bomb. It's received enough of a following that it has it's own Facebook page. The problem is that it's a closely guarded secret with only sparse smatterings of it to be found. At one point I found a recipe in a book
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # upgrade_unifi.sh | |
| # Easy UniFi Controller Upgrade Script for Unix/Linux Systems | |
| # by Steve Jenkins (stevejenkins.com) | |
| # Version 2.0 | |
| # Last Updated July 2, 2016 | |
| # REQUIREMENTS | |
| # 1) Assumes you already have any version of UniFi Controller installed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -e | |
| # Set default values | |
| : ${GENTOO_ARCH:=amd64} | |
| : ${GENTOO_PROFILE:=""} | |
| : ${GENTOO_PORTAGE:=no} | |
| # Check for Gentoo profile, if there if a profile, add a "-" | |
| if [ "${GENTOO_PROFILE}x" != "x" ]; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # | |
| # usage: ./generate_etcd.sh 10.240.0.14 10.240.0.12 10.240.0.13 | |
| # output is in /tmp | |
| for ipaddr in "$@" | |
| do | |
| let count+=1 | |
| peerlist="${peerlist},infra${count}=http://${ipaddr}:2380" | |
| done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #cloud-config | |
| coreos: | |
| units: | |
| - name: etcd.service | |
| command: restart | |
| - name: fleet.service | |
| command: restart | |
| etcd: |
Collect the following ingredients:
- 500ml (~2c) Water
- 15g (½oz) Cinchona Bark, powdered
- 8g (¼c) Dried Lemongrass
- 55g (¼c) Citric Acid
- 1g (½tsp, ~20) Allspice Berries
- 1.3g (½tsp, ~45) Cubeb Peppers
- 300g (1½c) Cane sugar¹
- Zest and juice from:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| alias passthing="curl -s -L 'https://secure.pctools.com/guides/password/?length=13&phonetic=on&alpha=on&mixedcase=on&numeric=on&nosimilar=on&quantity=20&generate=true#password_generator' | grep \"<tr><td valign=top nowrap style='border: 1px solid #c5c5c7;padding-top:3px;padding-bottom:3px'><b>\" | sed -r 's/<tr><td valign=top nowrap style=.border: 1px solid #c5c5c7;padding-top:3px;padding-bottom:3px.><b>([[:alnum:]]+)<.b><.td><td valign=top style=.border: 1px solid #c5c5c7;padding-top:3px;padding-bottom:3px.><i>([-a-zA-Z \(\)]+)<.i><.td><.tr>/\1 \2/g'" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| input { | |
| tcp { | |
| port => 19532 | |
| type => journald | |
| } | |
| } | |
| filter { | |
| if [type] == "journald" { | |
| multiline { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Match] | |
| Name=bond0 | |
| [Network] | |
| Address=192.168.1.111/24 | |
| Gateway=192.168.1.1 | |
| DNS=8.8.8.8 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| source .do | |
| output=$(curl -s -X GET "https://api.digitalocean.com/v2/droplets" -H "Authorization: Bearer $TOKEN") | |
| if [ "$1" == "-a" ]; then | |
| echo $output | jq -s '.[][][] | { name: .name?, id: .id?, ip_address: .networks.v4[].ip_address} | select(.name | contains("redbeard"))' | grep -v -f reserved | |
| else | |
| echo $output | jq -s '.[][][] | { name: .name?, id: .id?} | select(.name | contains("redbeard")) | .id' | grep -v -f reserved | |
| fi |