TITLE | URL | PUBLISHED AT | POSITIVE INTERESTINGNESS | TOTAL INTERESTINGNESS | VIEWS | LIKES | DISLIKES | COMMENTS | TOTAL REACTION | GLOBAL BUZZ INDEX |
---|---|---|---|---|---|---|---|---|---|---|
GopherCon Europe 2020: Kofo Okosela - Writing Open Source Tooling Using AST | https://www.youtube.com/watch?v=0DE_7Nff6yg | 2020-07-11 13:14:27 | 0.0323 | 0.0361 | 527 | 18 | 1 | 0 | 19 | 10013 |
GopherCon Europe 2020 LT: Ron Evans - A Small Update On TinyGo | https://www.youtube.co |
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
/target/ | |
!.mvn/wrapper/maven-wrapper.jar | |
### STS ### | |
.apt_generated | |
.classpath | |
.factorypath | |
.project | |
.settings | |
.springBeans |
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
stage("docker_scan avec clair"){ | |
sh ''' | |
docker rm db | |
docker rm clair | |
docker run -p 5432:5432 -d --name db arminc/clair-db:2021-01-08 | |
docker run -p 6060:6060 -d --name clair arminc/clair-local-scan:arminc/clair-local-scan:v2.1.6_3bfb31ea61aa42eeb836354976065ccea308707e | |
clair-scanner --clair="http://clair:6060" vulnerables/web-dvwa | |
''' |
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
## Providers declaration | |
terraform { | |
required_providers { | |
nexus = { | |
source = "datadrivers/nexus" | |
version = "1.10.5" | |
} | |
} | |
} |
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
# Local Docker provisionning | |
terraform { | |
required_providers { | |
docker = { | |
source = "terraform-providers/docker" | |
} | |
} | |
} | |
provider "docker" {} |
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
FROM golang:latest | |
RUN mkdir /app | |
ADD . /app/ | |
WORKDIR /app | |
RUN go build -o main . | |
CMD ["/app/main"] |
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
source <(kubectl completion bash) # active l'auto-complétion pour bash dans le shell courant, le paquet bash-completion devant être installé au préalable | |
echo "source <(kubectl completion bash)" >> ~/.bashrc # ajoute l'auto-complétion de manière permanente à votre shell bash | |
alias k=kubectl | |
complete -F __start_kubectl k |
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
function listFolders(folder) { | |
var sheet = SpreadsheetApp.getActiveSheet(); | |
sheet.appendRow(["Folder Name" ,"Name","Sharing Access", "Get Editors", "Get Viewers", "Date", "URL"]); | |
folderID = "ID" | |
listFolder(sheet, folderID) | |
} | |
function listFolder(sheet, folderID) { | |
var folder = DriveApp.getFolderById(folderID); | |
addRootFilesToSheet(sheet, folder) |
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 | |
# Golang upgrade script | |
# (C) 2019, Fedir RYKHTIK | |
# Usage: define the version constants and use it under the account | |
# Define target constants | |
VERSION="1.13.5" | |
OS="linux" |
NewerOlder