Skip to content

Instantly share code, notes, and snippets.

View kamranahmedse's full-sized avatar

Kamran Ahmed kamranahmedse

View GitHub Profile
@kamranahmedse
kamranahmedse / gist:1e94b412006040f38e24b9443b2da41a
Created May 12, 2023 11:56
Sample Workflow for EC2 Deployment
name: Deploy to EC2
on:
workflow_dispatch:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
@kamranahmedse
kamranahmedse / image-annotation.html
Last active February 20, 2023 11:03
Image annotation sample to assign pre-defined tags on different image sections
<html>
<head>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@recogito/annotorious@latest/dist/annotorious.min.css" />
<script src="https://cdn.jsdelivr.net/npm/@recogito/annotorious@latest/dist/annotorious.min.js"></script>
<style>
* {
margin: 0;
padding: 0;
}
  • MongoDB Basics
    • SQL vs NoSQL
    • What is MongoDB?
    • What is MongoDB Atlas?
    • When to use MongoDB?
  • MongoDB data model and data types
    • BSON (Binary JSON) data types
      • Double
      • String
  • Object

System Design Roadmap

  • Introduction
    • What is System Design?
    • How to Approach System Design?
  • Performance vs Scalability
  • Latency vs Throughput
  • Availability vs Consistency
    • CAP Theorem
  • CP - Consistency and Partition Tolerance
- Fundamentals
- Quality Assurance
- Tester Mindset
- Testing Approaches
- White Box Testing
- Gray Box Testing
- Black Box Testing
- Testing Types
- Functional Testing
- UAT
@kamranahmedse
kamranahmedse / nodejs-roadmap.md
Created August 24, 2022 16:20
Textual version of the Node.js Developer Roadmap — roadmap.sh/nodejs
@kamranahmedse
kamranahmedse / javascript-roadmap.md
Created August 17, 2022 20:39
Roadmap for JavaScript (Text)

Textual version of the JavaScript roadmap roadmap.sh/javascript

  • Introduction to JavaScript
    • What is JavaScript?
    • History of JavaScript
    • JavaScript Versions
    • How to Run JavaScript
  • All about Variables
    • Rules for naming variables
  • Variable Declarations
{
"mockup": {
"controls": {
"control": [
{
"ID": "0",
"typeID": "Icon",
"zOrder": "0",
"measuredW": "24",
"measuredH": "24",
@kamranahmedse
kamranahmedse / java-roadmap.json
Created October 29, 2021 12:42
Java Roadmap — JSON
{
"mockup": {
"controls": {
"control": [
{
"ID": "1",
"typeID": "Arrow",
"zOrder": "39",
"w": "13",
"h": "63",
@kamranahmedse
kamranahmedse / prefix-props.ts
Created April 12, 2021 10:47
Prefix any object's properties with the given string
type PrefixAll<T, A extends string> = { [P in keyof T & string as `${A}${P}`]: T[P] };
type Properties<T> = { [P in keyof T as T[P] extends Function ? never : P]: T[P] };
type PrefixProps<T, A extends string> = PrefixAll<Properties<T>, A>;