- Create
config.gateway.json
to configure USG - Create
config.properties
to configure switch / AP / etc... - Place
config.gateway.json
andconfig.properties
indata/sites/default
- Restart controller (maybe?)
- Reprovision all devices
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 zsh | |
if (( ! ${#@} )); then | |
print "Convert mp3 to m4r (Apple Tone)" | |
print "Usage: $0 file1.mp3 file2.mp3" | |
exit 1 | |
fi | |
tmpdir=$(mktemp -d) |
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 | |
# brew-go-get | |
# Original: https://blog.filippo.io/cleaning-up-my-gopath-with-homebrew/ | |
set -euo pipefail | |
name_to_repo() { | |
local name="$1" | |
name="${name/go-get-}" | |
echo "${name//--//}" |
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 zsh | |
# This script checks out the latest chromium and builds the headless | |
# version of it. When the chromium source is already present, the | |
# repository is updated. | |
# | |
# A .tar.gz is created in $DIR containing the headless_shell binary, | |
# this binary runs chromium. The resulting binary should be quite | |
# portable given that the (few) dependencies are installed on the target | |
# machine. |
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
=== RUN test_bench_print_subshell_05 | |
--- PASS: test_bench_print_subshell_05 (0.02s) | |
=== RUN test_bench_print_subshell_10 | |
--- PASS: test_bench_print_subshell_10 (0.02s) | |
=== RUN test_bench_print_subshell_100 | |
--- PASS: test_bench_print_subshell_100 (0.14s) | |
=== RUN test_bench_print_subshell_1000 | |
--- PASS: test_bench_print_subshell_1000 (0.79s) | |
=== RUN test_bench_typeset_var_05 | |
--- PASS: test_bench_typeset_var_05 (0.00s) |
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
Start async job (async_job): | |
1: 0.00011992 | |
2: 0.00011015 | |
3: 0.00010586 | |
4: 0.00010514 | |
5: 0.00022697 | |
6: 0.00013900 | |
7: 0.00010586 | |
8: 0.00010395 | |
9: 0.00011015 |
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
/** | |
* Fake AMD-style modules for kasper/phoenix | |
* | |
* Works when compiling TypeScript with a single outfile and AMD modules. | |
*/ | |
(function (global, require) { | |
var defines = {}, | |
defQueue = []; | |
global.require = function (mod) { |
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
package main | |
import "github.com/tealeg/xlsx" | |
func main() { | |
file := xlsx.NewFile() | |
sheet, err := file.AddSheet("Sheet1") | |
if err != nil { | |
panic(err.Error()) | |
} |
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
diff --git a/Library/Formula/zsh.rb b/Library/Formula/zsh.rb | |
index e7e67a5..4dff75e 100644 | |
--- a/Library/Formula/zsh.rb | |
+++ b/Library/Formula/zsh.rb | |
@@ -5,8 +5,11 @@ class Zsh < Formula | |
mirror "http://www.zsh.org/pub/zsh-5.0.8.tar.bz2" | |
sha256 "8079cf08cb8beff22f84b56bd72bb6e6962ff4718d816f3d83a633b4c9e17d23" | |
+ head "https://github.com/zsh-users/zsh.git" | |
+ |
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 zsh | |
BRANCH=$1 | |
BRANCHES=(master pure-nitro pure-nitro2) | |
BENCHDIR=benchmark | |
ROUNDS=100 | |
if [[ ! -n $BRANCH ]]; then | |
[[ ! -d $BENCHDIR ]] && mkdir $BENCHDIR | |
for i in $BRANCHES; do |