- Create a GitHub Personal Access Token with the
read:orgpermission. - Copy the contents of
bookmarklet.jsand replace the placeholders with your specific values. - Add a new bookmark to your browser using that as the 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
| job "${NOMAD_JOB_NAME}" { | |
| datacenters = ["dc1"] | |
| group "cache" { | |
| network { | |
| port "db" { | |
| to = 6379 | |
| } | |
| } |
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 | |
| function nomad_curl { | |
| cmd=(curl --silent -H "X-Nomad-Token: $NOMAD_TOKEN") | |
| if [[ -n "$NOMAD_CACERT" ]]; then | |
| cmd+=(--cacert "$NOMAD_CACERT" --key "$NOMAD_CLIENT_KEY" --cert "$NOMAD_CLIENT_CERT") | |
| fi | |
| "${cmd[@]}" "$@" | |
| } |
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
| job "hashicups" { | |
| datacenters = ["dc1"] | |
| group "hashicups" { | |
| network { | |
| port "http" { | |
| static = 19090 | |
| } | |
| port "metrics" { |
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
| provider "google" { | |
| project = "..." | |
| region = "us-central1" | |
| zone = "us-central1-a" | |
| } | |
| locals { | |
| my_list_from_map = [for k, v in var.my_map : "${k}.${v}"] | |
| } |
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 python | |
| import shutil | |
| from mininet.cli import CLI | |
| from mininet.net import Mininet | |
| from mininet.topo import SingleSwitchTopo | |
| from mininet.util import pmonitor | |
| servers_count = 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
| (function(dragClass, dropZoneId) { | |
| // | |
| // Classes | |
| // | |
| // Point is a representation of (X, Y) coordinates | |
| function Point(x, y) { | |
| this.x = x; | |
| this.y = y; | |
| } |
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
| artifact |
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
| job "minecraft" { | |
| datacenters = ["dc1"] | |
| group "minecraft" { | |
| volume "minecraft" { | |
| type = "host" | |
| source = "minecraft" | |
| } | |
| task "eula" { |
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
| [ | |
| { | |
| "id": "cbb0ae9a.092cd8", | |
| "type": "http in", | |
| "z": "9358b649.b981c8", | |
| "name": "", | |
| "url": "/search", | |
| "method": "get", | |
| "upload": false, | |
| "swaggerDoc": "", |