This file contains 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
interface UserInput { | |
age: Number | |
} | |
var input = JSON.parse("{\"age\": \"hello\"}") as UserInput | |
console.log(typeof(input.age)) |
This file contains 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/bash | |
set -e | |
if [[ "$@" == "run"* && -z "${CI}" ]]; then | |
echo "Logging in to 1password" | |
# Set env var here as specific in the doc: https://developer.1password.com/docs/cli/secrets-environment-variables | |
eval $(op signin) |
This file contains 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
default-runner-klkj8-jgn4j runner Using /etc/docker/daemon.json with the following content: | |
default-runner-klkj8-jgn4j runner --- | |
default-runner-klkj8-jgn4j runner {} | |
default-runner-klkj8-jgn4j runner --- | |
default-runner-klkj8-jgn4j runner Using /etc/supervisor/conf.d/dockerd.conf with the following content: | |
default-runner-klkj8-jgn4j runner --- | |
default-runner-klkj8-jgn4j runner [program:dockerd] | |
default-runner-klkj8-jgn4j runner command=/usr/local/bin/dockerd | |
default-runner-klkj8-jgn4j runner autostart=true | |
default-runner-klkj8-jgn4j runner autorestart=true |
OlderNewer