Skip to content

Instantly share code, notes, and snippets.

View sangam14's full-sized avatar
🖥️
🦀🐳🕸️☁️🛡️🥑

sangam biradar sangam14

🖥️
🦀🐳🕸️☁️🛡️🥑
View GitHub Profile
Provide a history of attacks that targeted an open-source project in 2017, compromising their source code or an artifact published by the open-source project (such as a release tarball, binary, or container image). Don't include typosquatting attacks or security flaws within a project, as they did not attack the open-source project itself. Provide the output in YAML format. Text should be terse to encourage scannability yet readable by information security professionals.
Fields to include:
* name: The name of the open-source project
* title: a terse 1-sentence title of the attack, mentioning the name of the project, how the project was compromised and the downstream impact. No more than 6 words.
* start_date: Earliest known date of attack
* end_date: Last known date of attack
* license: The license of the open-source project (GPL, Apache 2.0, Unknown)
* website: Current URL to the open-source project. If no website exists, do not include the compromise in the results.
@sangam14
sangam14 / gist:fe8f5095269cd4203dfaab7d27e172b0
Created September 26, 2024 07:34
AWS Lambda with Terraform (In-Depth)
# 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
@sangam14
sangam14 / gist:241a471238dba534bf4224eaa6e44ac5
Created February 23, 2023 20:01
GitStar Counter - Scriptable App
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")
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
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
@sangam14
sangam14 / ans.txt
Created September 4, 2021 15:22
Golang-MCQ-ans
Q1: What's the output of the following code?
```go
package main
import "fmt"
const (
a = iota
b = iota
@sangam14
sangam14 / test.txt
Last active September 4, 2021 16:34
Golang MCQ
Q.1 What’s the output of the following code?
```
package main
import "fmt"
const (
a = iota
b = iota
c = iota
@sangam14
sangam14 / basics- part 1
Created December 25, 2020 18:51
rustlab
$ 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 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