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
# AWS Lambda with Terraform (In-Depth) | |
## Overview | |
- Automate deployment and management of AWS Lambda functions | |
- Terraform allows declarative infrastructure management | |
## Terraform Components | |
### AWS Provider | |
- Configure the AWS provider to connect to the AWS account |
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
const WIDGET_TITLE = "ThreatMapper" | |
const GITHUB_REPO = "deepfence/ThreatMapper" | |
const CACHED_DATA_HOURS = 1 | |
async function createWidget() { | |
// Create new empty ListWidget instance | |
let listwidget = new ListWidget(); | |
// Set new background color | |
startColor = new Color("#212121") |
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
version: "3" | |
services: | |
chrome: | |
image: selenium/node-chrome:4.4.0-20220831 | |
shm_size: 2gb | |
depends_on: | |
- selenium-hub | |
environment: | |
- SE_EVENT_BUS_HOST=selenium-hub | |
- SE_EVENT_BUS_PUBLISH_PORT=4442 |
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
Q1) Ans - c | |
Q2) Ans - b | |
Q3) Ans - b | |
Q4) Ans - a | |
Q5) Ans - c | |
Q6) Ans - b | |
Q7) Ans - b | |
Q8) Ans - c | |
Q9) Ans - c | |
Q10) Ans - c |
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
Q1: What's the output of the following code? | |
```go | |
package main | |
import "fmt" | |
const ( | |
a = iota | |
b = iota |
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
Q.1 What’s the output of the following code? | |
``` | |
package main | |
import "fmt" | |
const ( | |
a = iota | |
b = iota | |
c = iota |
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
$ rustup.sh # install rust, see rust-lang.org for details | |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh | |
$ cargo new bin # start new executable project | |
$ ls -lR # list our skeleton of files | |
src/main.rs # main.rs, has main() entry point | |
Cargo.toml # Cargo.toml defines packaging | |
$ $EDITOR Cargo.toml # add dependencies and other details |
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
# This manifest deploys the OpenEBS control plane components, with associated CRs & RBAC rules | |
# NOTE: On GKE, deploy the openebs-operator.yaml in admin context | |
# Create the OpenEBS namespace | |
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
name: sangam14 | |
--- | |
# Create Maya Service Account |
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
Last login: Sat Sep 19 02:40:19 on console | |
sangam:~ sangam$ export KUBECONFIG=Downloads/civo-sangam-kubeconfig | |
sangam:~ sangam$ kubectl get nodes | |
NAME STATUS ROLES AGE VERSION | |
kube-master-c115 Ready master 32m v1.18.6+k3s1 | |
sangam:~ sangam$ keptn install --use-case=continuous-delivery | |
Helm Chart used for Keptn installation: https://storage.googleapis.com/keptn-installer/keptn-0.7.1.tgz | |
Please confirm that the provided cluster information is correct: | |
Cluster: sangam |
NewerOlder