First of all you must update ruby-build to update definitions list.
brew updateAnd update ruby-build
| packages: | |
| - git | |
| - wget | |
| - build-essential | |
| - tree | |
| - protobuf-compiler | |
| runcmd: | |
| - [ wget, https://go.dev/dl/go1.17.5.linux-arm64.tar.gz ] | |
| - [ sudo, tar, -C, /usr/local, -xzf, /go1.17.5.linux-arm64.tar.gz ] |
| # Rails production setup via SQLite3 made durable by https://litestream.io/ | |
| # Copy this to Dockerfile on a fresh rails app. Deploy to fly.io or any other container engine. | |
| # | |
| # try locally: docker build . -t rails && docker run -p3000:3000 -it rails | |
| # | |
| # in production you might want to map /data to somewhere on the host, | |
| # but you don't have to! | |
| # | |
| FROM ruby:3.0.2 |
| *Important note to pay attention to* | |
| You'll most likely use eth0 on a USG and eth2 or eth3 on a USG-Pro, edit the files accordingly. Do not run the supplicant on virtual interfaces (e.g. eth0.0), as it will not work. | |
| *Pre-requisites* | |
| Get certs, run the mfg_dat_decode tool. You should end up with 3 certs: CA_*.pem, Client_*.pem and PrivateKey_PKCS1_*.pem, as well as a a wpa_supplicant.conf file | |
| In the archive generated by the tool, edit wpa_supplicant.conf to add the full path /config/auth/ to all 3 files: | |
| network={ | |
| ca_cert="/config/auth/CA_xxxxxx.pem" |
| #! /bin/bash | |
| # [get_golang.sh](https://gist.github.com/n8henrie/1043443463a4a511acf98aaa4f8f0f69) | |
| # Download latest Golang release for AMD64 | |
| # https://dl.google.com/go/go1.10.linux-amd64.tar.gz | |
| set -euf -o pipefail | |
| # Install pre-reqs | |
| sudo apt-get install python3 git -y | |
| o=$(python3 -c $'import os\nprint(os.get_blocking(0))\nos.set_blocking(0, True)') |
| *.ip | |
| *.log |
| # We had introduced a bug that was causing user registration errors in Rails for certain email addresses. | |
| # Fetch the list of unique emails that had failed registration (that produced a particular exception). | |
| require 'open-uri' | |
| require 'nokogiri' | |
| require 'set' | |
| AUTH_TOKEN = 'XXX' | |
| ERROR_ID = '54425478' |
| /** | |
| * This casper scipt checks for 404 internal links for a given root url. | |
| * | |
| * Usage: | |
| * | |
| * $ casperjs 404checker.js http://mysite.tld/ | |
| * $ casperjs 404checker.js http://mysite.tld/ --max-depth=42 | |
| */ | |
| /*global URI*/ |
| /* ============================================================================= | |
| show the reference design as non-blocking overlay. | |
| NOTE: Webkit-Browser only. Reference image needs to be flipped as | |
| »box-reflect: right« & transform: scaleX(-1) do not play together. | |
| ========================================================================== */ | |
| body:after { | |
| content: ''; | |
| display: block; | |