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
| # Generated by iptables-save v1.4.21 on Sun Jan 19 08:14:54 2020 | |
| *raw | |
| :PREROUTING ACCEPT [17478:786616] | |
| :OUTPUT ACCEPT [15285:6842393] | |
| COMMIT | |
| # Completed on Sun Jan 19 08:14:54 2020 | |
| # Generated by iptables-save v1.4.21 on Sun Jan 19 08:14:54 2020 | |
| *nat | |
| :PREROUTING ACCEPT [412:43501] | |
| :INPUT ACCEPT [54:3686] |
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 | |
| # will ask for your personal access token | |
| GH_USER="" | |
| GH_ORG="" | |
| curl -u "${GH_USERNAME}" -s "https://api.github.com/orgs/${GH_ORG}/repos?per_page=200" | ruby -rubygems -e 'require "json"; JSON.load(STDIN.read).each { |repo| %x[git clone #{repo["ssh_url"]} ]}' |
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 -euo pipefail | |
| shopt -s inherit_errexit 2>/dev/null || true | |
| # this script will connect macOS to Cloudflare Warp using Wireguard | |
| # note: this is *absolutely not* an official client from Cloudflare | |
| # Copyright (C) 2019 Jay Freeman (saurik) | |
| # Zero Clause BSD license {{{ |
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 | |
| youtube-dl --match-title 'Volledige\sAflevering' \ | |
| --output "~/Desktop/%(title)s.%(ext)s" \ | |
| https://www.youtube.com/playlist?list=PL-AMfRCN-wkrIC7mps3rmJJU1PmcDY15X |
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
| locals { | |
| instanceTcpPorts = ["${var.ssh_port}", 80, 433, 7946] | |
| instanceUdpPorts = [7946, 4789] | |
| managerTcpPorts = ["${var.ssh_port}", 80, 433, 2377, 7946] | |
| managerUdpPorts = [7946, 4789] | |
| } | |
| resource "scaleway_security_group" "swarm_instance" { | |
| name = "swarm_instances" |
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
| {"lastUpload":"2020-01-20T22:00:22.291Z","extensionVersion":"v3.4.3"} |
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
| substitutions: | |
| _IMG_KEEP: "3" | |
| steps: | |
| - name: 'gcr.io/cloud-builders/gcloud-slim' | |
| entrypoint: 'bash' | |
| args: | |
| - '-c' |
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
| FROM golang:alpine | |
| RUN apk add --no-cache protobuf git \ | |
| && go get github.com/golang/protobuf/protoc-gen-go \ | |
| && cp /go/bin/protoc-gen-go /usr/bin/ | |
| # e.g. find proto -type f -iname '*.proto' -exec protoc -I proto/ --go_out go/ {} \; |
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
| find css js -type f \( -iname '*.css' -o -iname '*.js' \) -exec sed -i '' -e 's/sourceMappingURL=[^ ]*\.map//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
| #!/usr/bin/env sh | |
| LC_ALL=C tr -dc 'A-Za-z0-9!"#$%&'\''()*+,-./:;<=>?@[\]^_`{|}~' < /dev/urandom | head -c 32 ; echo |