This file contains hidden or 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/sh | |
| set -o errexit | |
| set -x | |
| cluster_name=${1:-local-k8s-cluster} | |
| registry_port=${2:-35000} | |
| # create registry container unless it already exists | |
| registry_name='local-registry.localhost' |
This file contains hidden or 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
| version: v2beta1 | |
| name: devspace-test | |
| # You can either specify an exact version or a version range or even | |
| # multiple versions. | |
| require: | |
| devspace: '>= 4.0, < 6.0' | |
| # By default devspace will try to call the command 'NAME version' | |
| # and use the regex '(v\\d+\\.\\d+\\.\\d+)' to find the version | |
| commands: |
This file contains hidden or 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
| schemaVersion: 2.1.0 | |
| metadata: | |
| name: java-springboot-jdk17 | |
| description: Java application using Spring Boot® and OpenJDK 17 | |
| version: 1.3.0 | |
| parent: | |
| uri: https://registry.stage.devfile.io/devfiles/java-springboot/1.2.0 | |
| components: | |
| - name: tools | |
| container: |
This file contains hidden or 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
| commands: | |
| - exec: | |
| commandLine: echo exec-1 succeeding after 5s... && sleep 5 && exit 0 | |
| component: runtime | |
| id: exec-1 | |
| - exec: | |
| commandLine: echo from exec-2 | |
| component: runtime | |
| id: exec-2 | |
| - exec: |
This file contains hidden or 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
| Decoding the data in /proc/net/tcp: | |
| Linux 5.x /proc/net/tcp | |
| Linux 6.x /proc/PID/net/tcp | |
| Given a socket: | |
| $ ls -l /proc/24784/fd/11 | |
| lrwx------ 1 jkstill dba 64 Dec 4 16:22 /proc/24784/fd/11 -> socket:[15907701] |
This file contains hidden or 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 quay.io/phmartin/node:17 | |
| WORKDIR /usr/src/app | |
| COPY package*.json ./ | |
| RUN npm install | |
| COPY . . | |
| EXPOSE 8080 | |
| CMD [ "node", "server.js" ] |
This file contains hidden or 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
| { | |
| "project_info": { | |
| "project_id": "mockproject-1234", | |
| "project_number": "123456789000", | |
| "name": "FirebaseQuickstarts", | |
| "firebase_url": "https://mockproject-1234.firebaseio.com" | |
| }, | |
| "client": [ | |
| { | |
| "client_info": { |
This file contains hidden or 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/sh | |
| # Install git-filter-repo, as suggested by git docs: https://git-scm.com/docs/git-filter-branch#_warning | |
| git filter-repo --commit-callback ' | |
| old_email = b"[email protected]" | |
| correct_name = b"Your Correct Name" | |
| correct_email = b"[email protected]" | |
| if commit.committer_email == old_email : |
This file contains hidden or 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
| diff --git a/tests/helper/helper_dev.go b/tests/helper/helper_dev.go | |
| index 00cd1c08c..54aed03cd 100644 | |
| --- a/tests/helper/helper_dev.go | |
| +++ b/tests/helper/helper_dev.go | |
| @@ -1,10 +1,16 @@ | |
| package helper | |
| import ( | |
| + "fmt" | |
| + "os/exec" |
This file contains hidden or 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
| schemaVersion: 2.0.0 | |
| metadata: | |
| name: java-quarkus | |
| version: 1.1.0 | |
| website: https://quarkus.io | |
| displayName: Quarkus Java | |
| description: Quarkus with Java | |
| icon: https://design.jboss.org/quarkus/logo/final/SVG/quarkus_icon_rgb_default.svg | |
| tags: ['Java', 'Quarkus'] | |
| projectType: 'quarkus' |