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
| class AdvancedOpenMetadataSourcePlanRun extends PlanRun { | |
| val openMetadataSource = metadataSource.openMetadata( | |
| "http://host.docker.internal:8585/api", | |
| OPEN_METADATA_AUTH_TYPE_OPEN_METADATA, | |
| Map( | |
| OPEN_METADATA_JWT_TOKEN -> "abc123", //find under settings/bots/ingestion-bot/token | |
| OPEN_METADATA_TABLE_FQN -> "sample_data.ecommerce_db.shopify.raw_customer" | |
| ) | |
| ) |
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
| apiVersion: v1 | |
| kind: Pod | |
| metadata: | |
| name: test-pod | |
| spec: | |
| containers: | |
| - image: k8s.gcr.io/test-webserver | |
| name: test-container | |
| volumeMounts: | |
| - name: tmp-dir |
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
| apiVersion: v1 | |
| kind: Pod | |
| metadata: | |
| name: test-pod | |
| spec: | |
| containers: | |
| - image: k8s.gcr.io/test-webserver | |
| name: test-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
| [ | |
| { | |
| "op": "add", | |
| "path": "/spec/volumes/-", | |
| "value": { | |
| "name": "tmp-dir", | |
| "emptyDir": {} | |
| } | |
| }, | |
| { |
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
| rules: | |
| - operations: ["CREATE"] | |
| apiGroups: ["*"] | |
| apiVersions: ["*"] | |
| resources: ["pods"] | |
| objectSelector: | |
| matchLabels: | |
| app: backend |
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": "2012-10-17", | |
| "Statement": [ | |
| { | |
| "Action": [ | |
| "s3:PutObject" | |
| ], | |
| "Effect": "Allow", | |
| "Resource": [ | |
| "arn:aws:s3:::secret-bucket/*" |
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": "2012-10-17", | |
| "Statement": [ | |
| { | |
| "Action": [ | |
| "s3:GetObject", | |
| "s3:PutObject", | |
| "s3:ListObject", | |
| "s3:DeleteObject" | |
| ], |
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/bash | |
| Green='\033[0;32m' | |
| echo -e "${Green} Installing all apps under $HOME/install folder" | |
| mkdir ~/install | |
| cd install | |
| #Homebrew | |
| echo -e "${Green} Installing homebrew..." | |
| mkdir homebrew && curl -L https://github.com/Homebrew/brew/tarball/master | tar xz --strip 1 -C homebrew |
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
| # https://github.com/uBlockOrigin/uAssets/pull/3517 | |
| twitch-videoad.js application/javascript | |
| (function() { | |
| if ( /(^|\.)twitch\.tv$/.test(document.location.hostname) === false ) { return; } | |
| var realFetch = window.fetch; | |
| window.fetch = function(input, init) { | |
| if ( arguments.length >= 2 && typeof input === 'string' && input.includes('/access_token') ) { | |
| var url = new URL(arguments[0]); | |
| url.searchParams.forEach(function(value, key) { | |
| url.searchParams.delete(key); |