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 ( | |
| "bufio" | |
| "net" | |
| "os" | |
| "syscall" | |
| ) | |
| func println(msg string) { |
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
| Feature-Policy "accelerometer 'none'; ambient-light-sensor 'none'; animations 'none'; autoplay 'none'; camera 'none'; encrypted-media 'none'; fullscreen 'none'; geolocation 'none'; gyroscope 'none'; image-compression 'none'; legacy-image-formats 'none'; magnetometer 'none'; max-downscaling-image 'none'; microphone 'none'; midi 'none'; payment 'none'; picture-in-picture 'none'; speaker 'none'; sync-xhr 'none'; unsized-media 'none'; usb 'none'; vertical-scroll 'none'; vr 'none'"; |
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
| { | |
| "BTTPresetName" : "master", | |
| "BTTGeneralSettings" : { | |
| "BTTPathSampleSize" : 100, | |
| "BTTCMOnTop" : true, | |
| "BTTForceForceClickPressure2F" : 700, | |
| "BSTLeftHalfBlock" : true, | |
| "BTTMinDrawingMovement" : 2, | |
| "BTTTouchBarMouseModeClickBlock" : true, | |
| "BSTRightHalfBlock" : true, |
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 |
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
| 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
| 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
| {"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
| 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
| #!/bin/sh | |
| youtube-dl --match-title 'Volledige\sAflevering' \ | |
| --output "~/Desktop/%(title)s.%(ext)s" \ | |
| https://www.youtube.com/playlist?list=PL-AMfRCN-wkrIC7mps3rmJJU1PmcDY15X |