Skip to content

Instantly share code, notes, and snippets.

View immujahidkhan's full-sized avatar
🏠
Working from home

Mujahid Khan immujahidkhan

🏠
Working from home
View GitHub Profile
@immujahidkhan
immujahidkhan / sample.json
Created January 6, 2026 12:44
sample.json
[
{
"id": "1",
"name": "Test",
"number": "+91987867651",
"category": "Youtuber",
"views": "7836",
"verified": "0",
"source": "app",
"timestamp": "2025-04-07"
@immujahidkhan
immujahidkhan / GudNews
Last active July 16, 2025 07:56
GudNews
[
{
"model_name": "iPhone 8",
"identifier": "iPhone10,1",
"year_introduced": 2017,
"network_technology": {
"gsm_supported": true,
"cdma_supported": true,
"hspa_supported": true,
"evdo_supported": true,
@immujahidkhan
immujahidkhan / test
Last active July 16, 2025 06:34
test
{
"Success Affirmation": [
{
"text": "I radiate leadership and receive clarity.",
"tags": ["leadership", "clarity"]
},
{
"text": "With leadership and happiness, I achieve my goals.",
"tags": ["leadership", "happiness"]
},
@immujahidkhan
immujahidkhan / aggregation.md
Created January 7, 2025 11:49
Basic aggregation

Mastering MongoDB aggregation requires understanding its powerful operators, pipelines, and stages. Below are the most commonly used aggregation stages and operators with examples:


1. $match

Filters documents to pass only those that match specified conditions.

db.orders.aggregate([
@immujahidkhan
immujahidkhan / products.json
Created September 30, 2024 10:52
products
[
{
"level": "66cc5c43b878b9f179b5c2d8",
"name": "Rocket Ship 🚀",
"image": "https://api.tapspace.io/public/images/store/1/Rocketship.webp",
"price": 10000
},
{
"level": "66cc5c43b878b9f179b5c2d8",
"name": "Moon Ranger Suits👩‍🚀",
@immujahidkhan
immujahidkhan / jetton.js
Created September 25, 2024 11:26 — forked from gleba/jetton.js
TON Jetton example
const TonWeb = require("tonweb");
const utils = require("tonweb/src/utils");
const NftUtils = require("tonweb/src/contract/token/nft/NftUtils");
const Cell = TonWeb.boc.Cell;
const { JettonMinter, JettonWallet } = TonWeb.token.jetton;
const jettonContentUri = 'https://files.raevskyschool.ru/coin.json';
async function doit() {
const tonweb = new TonWeb(new TonWeb.HttpProvider('https://testnet.toncenter.com/api/v2/jsonRPC', { apiKey: "get here: https://t.me/tontestnetapibot" }));
const WalletClass = tonweb.wallet.all['v3R2'];
[
{
"id": 1,
"title": "Crypto",
"icon": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcR10rVFc7jTMP6PWU40h8MObxI5UyQPpAbLNw&usqp=CAU",
"status": true
},
{
"id": 2,
"title": "Entertainment",
@immujahidkhan
immujahidkhan / categories.json
Last active November 28, 2023 16:23
QuotesPBUH
{
"categories": [
{
"name": "Kindness and Compassion",
"quotes": [
"Kindness is a mark of faith, and whoever is not kind has no faith."
]
},
{
"name": "Character and Morality",
{
"app_name": "Official Channel for Girls Number Online",
"description": "WAMR Recover Deleted Messages Status Saver Text repeater Wamr undelete messages",
"url": "https://whatsapp.com/channel/0029VbBEcN14inou9gELv21p",
"hideAdInThisApp": "https://play.google.com/store/apps/details?id=com.prankcall.fakevideocall"
}
{
"Captions": [
"Creativity is intelligence having fun. - Albert Einstein",
"Art is the most beautiful of all lies. - Claude Debussy",
"Every artist dips his brush in his own soul and paints his own nature into his pictures. - Henry Ward Beecher",
"Colors are the smiles of nature. - Leigh Hunt",
"Art is not what you see, but what you make others see. - Edgar Degas",
"The painter tries to master color, but color always has the last word. - Henri Matisse",
"Painting is poetry that is seen rather than felt, and poetry is painting that is felt rather than seen. - Leonardo da Vinci",
"The world always seems brighter when you've just made something that wasn't there before. - Neil Gaiman",