You may need to configure a proxy server if you're having trouble cloning
or fetching from a remote repository or getting an error
like unable to access '...' Couldn't resolve host '...'.
Consider something like:
| apiVersion: v1 | |
| kind: Pod | |
| metadata: | |
| name: multi-container-pod | |
| spec: | |
| containers: | |
| - name: nginx-container | |
| image: nginx:latest | |
| ports: | |
| - containerPort: 80 |
There are several ways to clone a repository from github. Similar from other providers, such as bitbucket, gitlab, etc.
https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols
Mostly, we use
| # The command finds the most recent tag that is reachable from a commit. | |
| # If the tag points to the commit, then only the tag is shown. | |
| # Otherwise, it suffixes the tag name with the number of additional commits on top of the tagged object | |
| # and the abbreviated object name of the most recent commit. | |
| git describe | |
| # With --abbrev set to 0, the command can be used to find the closest tagname without any suffix: | |
| git describe --abbrev=0 | |
| # other examples |
Tutorial and tips for GitHub Actions workflows
Das BMVI hat eine völlig nutzlose App gebaut. Eine Autobahn-Info App.
Nein, es gibt jetzt nämlich eine offene API für aktuelle Verwaltungsdaten in Bezug auf Baustellen-Informationen, Webcams, Parkplätze, … - bestimmt für jemand nützlich.
Hier gibt es eine OpenAPI Spec von @creckord: https://gist.github.com/creckord/a2e09267f5fdfadc2cd75eedb3182b8a
| // check version | |
| node -v || node --version | |
| // list installed versions of node (via nvm) | |
| nvm ls | |
| // install specific version of node | |
| nvm install 6.9.2 | |
| // set default version of node |
| // source: https://learnxinyminutes.com/docs/typescript/ | |
| // There are 3 basic types in TypeScript | |
| let isDone: boolean = false; | |
| let lines: number = 42; | |
| let name: string = "Anders"; | |
| // But you can omit the type annotation if the variables are derived | |
| // from explicit literals | |
| let isDone = false; | |
| let lines = 42; |
| { | |
| "debug.console.fontSize": 14, | |
| "editor.autoClosingBrackets": "languageDefined", | |
| "editor.codeLens": true, | |
| "editor.colorDecorators": true, | |
| "editor.dragAndDrop": true, | |
| "editor.fontFamily": "Source Code Pro for Powerline", | |
| "editor.fontSize": 18, | |
| "editor.fontWeight": "500", | |
| "editor.lightbulb.enabled": true, |