A burrito is composed of the following
- Tortilla
- Rice
- Beans
- Meat
- Cheese
- Salsa
- Guacamole
- Sour Cream
- Onions
| oauthClientID := os.Getenv("TS_OAUTH_CLIENT_ID") | |
| oauthClientSecret := os.Getenv("TS_OAUTH_CLIENT_SECRET") | |
| require.NotEmpty(t, oauthClientID, "TS_OAUTH_CLIENT_ID must be set") | |
| require.NotEmpty(t, oauthClientSecret, "TS_OAUTH_CLIENT_SECRET must be set") | |
| var oauthConfig = &clientcredentials.Config{ | |
| ClientID: oauthClientID, | |
| ClientSecret: oauthClientSecret, | |
| TokenURL: "https://api.tailscale.com/api/v2/oauth/token", | |
| } | |
| client := oauthConfig.Client(context.Background()) |
| // Planetary gear bearing (customizable) | |
| $fn=100; | |
| // outer diameter of ring | |
| D=51.7; | |
| // thickness | |
| T=15; | |
| // clearance | |
| tol=0.15; | |
| number_of_planets=5; |
| { | |
| "node": { | |
| "id": "{{envOrDefault "ENVOY_NODE_ID" "some-node"}}", | |
| "cluster": "{{envOrDefault "ENVOY_NODE_CLUSTER" "some-cluster"}}", | |
| "locality": { | |
| "zone": "{{envOrDefault "ENVOY_NODE_ZONE" "some-zone"}}" | |
| } | |
| }, | |
| "static_resources": { | |
| "clusters": [ |
| git_branch='`git rev-parse --abbrev-ref HEAD 2> /dev/null | sed s/^/\ \|\ /`' | |
| emojis=(🐶 🐺 🐱 🐭 🐹 🐰 🐸 🐯 🐨 🐻 🐷 🐮 🐵 🐼 🐧 🐍 🐢 🐙 🐠 🐳 🐬 🐥) | |
| emoji='`echo ${emojis[$RANDOM % 22]}`' | |
| PS1="\[\033[0;36m\]\T | \W$git_branch | $emoji > \[\e[0m\]" |
| # note: the docker image versions here are almost certainly out of date. | |
| # See https://github.com/turbinelabs/circle-ci-integration/blob/master/.circleci/config.yml | |
| deploy-dev-server: | |
| docker: | |
| - image: turbinelabs/gcloud-build:0.12.0 | |
| steps: | |
| - checkout | |
| - run: openrc boot | |
| - run: ./deploy.sh dev server/dev-deploy-template.yaml |
| # note: the docker image versions here are almost certainly out of date. | |
| # See https://github.com/turbinelabs/circle-ci-integration/blob/master/.circleci/config.yml | |
| push-dev-server: | |
| docker: | |
| - image: turbinelabs/gcloud-build:0.12.0 | |
| environment: | |
| DEBIAN_FRONTEND: noninteractive | |
| steps: | |
| - checkout | |
| - setup_remote_docker |
| # note: the docker image versions here are almost certainly out of date. | |
| # See https://github.com/turbinelabs/circle-ci-integration/blob/master/.circleci/config.yml | |
| jobs: | |
| build: | |
| docker: | |
| - image: node:8.4.0 | |
| environment: | |
| DEBIAN_FRONTEND: noninteractive | |
| steps: | |
| - checkout |
| ➜ Downloads while read line; do curl -sL -w "%{http_code} %{url_effective}\n" "https://twitter.com/real${line}facts" -o /dev/null; done < usernames | grep 200 | |
| 200 https://twitter.com/realAfacts | |
| 200 https://twitter.com/realafacts | |
| 200 https://twitter.com/realAcaciafacts | |
| 200 https://twitter.com/realactorfacts | |
| 200 https://twitter.com/realactualfacts | |
| 200 https://twitter.com/realalmondfacts | |
| 200 https://twitter.com/realanimalfacts | |
| 200 https://twitter.com/realapplefacts | |
| 200 https://twitter.com/realArabicfacts |
| #!/usr/bin/env ruby | |
| files = `find . -name .git -prune -o -size +10000` | |
| files.each do |file| | |
| cmd = "git ls-files #{file.strip} --error-unmatch > /dev/null 2>&1" | |
| if system(cmd) | |
| puts `du -sh #{file}` | |
| end | |
| end |
A burrito is composed of the following