Skip to content

Instantly share code, notes, and snippets.

## Abhay Pratap Singh
    


## Adarsh
    
- string_slice
      - Slicing with end index out of bounds Inputs => text: end is out of range, start: 14, end: 100 => Expected: range Actual: rangeundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefined
  • Slicing with start index out of bounds Inputs => text: star
@ashishkujoy
ashishkujoy / report.md
Last active September 25, 2025 05:32
JS Assignment 1 Report

Js Assignment 1 Assignment - Assessment Report

Generated on: September 25, 2025

📊 Overall Summary

Metric Value
Total Interns 58
Pass Rate 98%
COMMAND: npx ts-node src/nodes/requirementGatherer.ts
OUTPUT
To generate the Fibonacci sequence, please clarify the following:
1. What is the maximum number of elements you want in the sequence, or what is the upper limit for the Fibonacci numbers (e.g., generate the first 10 numbers, or generate numbers up to 100)?
2. How should the sequence be presented? (e.g., printed to the console, returned as a list, or generated one by one using an iterator/generator)?
3. Do you have a preferred programming language for this?
>>>> User INput1. Add that as the function parameter, accept only numbers. 2. Return as a list. 3. Javascript
@ashishkujoy
ashishkujoy / Recommendation.md
Created May 7, 2025 17:59
YouTube Channels for Software Developer & Architects

YouTube Channels for Software Developer & Architects

A curated list of YouTube channels focusing on languages, tools, architecture, and modern software engineering practices.


🔹 Core Recommendations

1. GOTO Conferences [Highly Recommended]

  • Focus: Industry trends, software architecture, DevOps, microservices, and design practices.
@ashishkujoy
ashishkujoy / brew bundle
Created April 22, 2025 13:06
Brew Bundle
tap "homebrew/bundle"
tap "homebrew/services"
tap "mongodb/brew"
brew "ca-certificates"
brew "openssl@3"
brew "python@3.12"
brew "autojump"
brew "awscli"
brew "bat"
brew "cloudflared"

Extension

Add Multi-User Support to Your Todo Application

Description

The Todo page should be visible only after login. If a non-logged-in user tries to access the Todo page, they should be redirected to the login page. There is no need for a registration feature, and no password is required. A logged-in user should only be able to view and edit their own Todos, not those of other users.

User Journey

User Journey 1

  • Ashish visits /login.html
class Waada {
#state;
#value;
#error;
#onResolve;
#onReject;
constructor(completion) {
this.#state = 'PENDING';
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
(ns assignments
(:require [clojure.string :as string]))
(def join string/join)
(def joinln (partial join "\n"))
(defn fill-row [sym size]
(->> (repeat sym)
(take size)
(join "")))
@ashishkujoy
ashishkujoy / build.gradle.kts
Last active March 29, 2021 15:26
Build file with targets
plugins {
kotlin("multiplatform") version "1.4.31"
}
group = "org.example"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}