Skip to content

Instantly share code, notes, and snippets.

View 1UC1F3R616's full-sized avatar
:shipit:
Attention is All You Need

Kush Choudhary 1UC1F3R616

:shipit:
Attention is All You Need
View GitHub Profile
Component Functionality Where Used Examples
API Gateway Manages all client requests, provides a single point of entry, handles routing, authentication, rate-limiting, and API metering. The first point of entry between users and backend services. Kong, Amazon API Gateway, Apigee
Load Balancer Distributes incoming network traffic across multiple servers to ensure no single server bears too much demand. In front of server clusters to distr
@1UC1F3R616
1UC1F3R616 / go_cheat_sheet.md
Last active April 13, 2024 19:37
Yet Another Go Cheat Sheet
Framework/Library Description Use Cases ORM Support Popularity (out of 5)
net/http Part of the Go standard library, provides HTTP client and server implementations. Building HTTP servers with minimal dependencies. No (Use standalone ORMs like GORM, SQLBoiler, or Ent) 5
Gin A HTTP web framework that features a Martini-like API but with better performance. Rapid development of RE
@1UC1F3R616
1UC1F3R616 / I DON'T LIKE DSA.md
Last active April 13, 2024 06:55
I DON'T LIKE DSA NOT ANYMORE - From being a DSA kid in first year of college to no DSA plz I grew up just like that. I have many DSA cheatsheets, hoping this remains last.

Four Sections - Move to 4th, then do 1st and 2nd and 3rd.

Frequently asked DS

Data Structure Operations Time Complexity Frequently Asked Algorithms Popularity (out of 5)
Arrays Access: O(1), Search: O(n), Insertion/Deletion (end): O(1), Insertion/Deletion (start/middle): O(n) Sorting, Searching, Two Pointer Technique 5
Strings Access: O(1), Search: O(n) Substring Search, Palindromes, String Manipulation 4
Linked Lists Search: O(n), Insertion/Deletion: O(1) at known position Reversal, Cycle Detection, Merge Sort
@1UC1F3R616
1UC1F3R616 / LK89NP7.txt
Created January 3, 2024 20:35
What is LK89NP7
What is LK89NP7?
LK89NP7 is an embed by 1UC1F3R616 (visit github.com/1UC1F3R616) for more.
More on LK89NP7: This embed is by Kushal Choudhary.

Must be one of the following:

feat: A new feature. fix: A bug fix. docs: Documentation only changes. style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc). refactor: A code change that neither fixes a bug nor adds a feature. perf: A code change that improves performance. test: Adding missing tests. chore: Changes to the build process or auxiliary tools and libraries such as documentation generation.

@1UC1F3R616
1UC1F3R616 / django.md
Last active April 2, 2024 10:39
Yet another cheat sheet
from django.db.models import Model, DateTimeField, CharField

class BlogPost(Model):
    title = CharField(max_length=100)
    content = CharField(max_length=1000)
    created_at = DateTimeField(auto_now_add=True)

class Comment(Model):
    comment_text = CharField(max_length=500)

Behavioural Subject

import { Injectable } from '@angular/core';
import { BehaviorSubject } from 'rxjs';

@Injectable({
  providedIn: 'root'
})
export class ThemeService {
@1UC1F3R616
1UC1F3R616 / go_concurrency.md
Last active December 6, 2023 19:43
Go Routines and Channels Done Right.

Using Select to get output from multiple channels based on when they are ready:

package main

import (
	"fmt"
	"time"
)
@1UC1F3R616
1UC1F3R616 / JavascriptRecon.md
Created January 19, 2021 04:56
My Javascript Recon Process - BugBounty

Description

This is a simple guide to perform javascript recon in the bugbounty

Steps

  • The first step is to collect possibly several javascript files (more files = more paths,parameters -> more vulns)