I hereby claim:
- I am sascha-andres on github.
- I am saschaandres (https://keybase.io/saschaandres) on keybase.
- I have a public key ASC933beRh5NbZuSDwoVDkL2K99eIrmDCo7pNiDV3X_LfQo
To claim this, I am signing this object:
########################################################################## | |
# Script to install/update GitLab runner | |
########################################################################## | |
# Download latest release to Gitlab-Runner and register as | |
# System service | |
# | |
# Your execution policy needs to allow running scripts, see | |
# https:/go.microsoft.com/fwlink/?LinkID=135170 | |
# It has to be RemoteSigned, Set it using | |
# Set-ExecutionPolicy -ExecutionPolicy RemoteSigned |
*.mp4 filter=lfs diff=lfs merge=lfs -text |
I hereby claim:
To claim this, I am signing this object:
package main | |
const ( | |
// Database connection properties | |
dbType = "mysql" | |
dbUser = "test" | |
dbPassword = "test" | |
dbAddr = "localhost:3306" | |
dbName = "example-app" | |
func init() { | |
rand.Seed(time.Now().UnixNano()) | |
} | |
func retry(attempts int, sleep time.Duration, f func() error) error { | |
if err := f(); err != nil { | |
if s, ok := err.(stop); ok { | |
// Return the original error for later checking | |
return s.error | |
} |
curl -s https://api.github.com/repos/sascha-andres/devenv/releases | grep browser_download_url | grep Linux | head -n 1 | cut -d '"' -f 4 |