Skip to content

Instantly share code, notes, and snippets.

<html lang="en">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width"/>
</head>
<body style="height: 300vh">
<svg style="position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);"
width="655" height="209" viewBox="0 0 655 209" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M653 207V62C653 28.8629 626.228 2 593.091 2C519.318 2 391.639 2 292.675 2C270.583 2 252.717 19.9124 252.717 42.0038C252.717 63.5378 252.717 81.7221 252.717 81.7221C252.717 81.7221 252.717 81.7221 252.717 81.7221V167C252.717 189.091 234.808 207 212.717 207H2"
stroke="#EAECF0" stroke-width="4" stroke-linecap="round"/>
@Dhananjay-JSR
Dhananjay-JSR / tech-twitter-folks.txt
Created March 17, 2024 13:56 — forked from dheerajdlalwani/tech-twitter-folks.txt
A list of people I like following on Tech Twitter.
- https://twitter.com/StalwartCoder
- https://twitter.com/sunnykgupta
- https://twitter.com/vvaibhav_desai
- https://twitter.com/prudhvir3ddy
- https://twitter.com/yash_kr_verma
- https://twitter.com/ivinayakg
- https://twitter.com/yashsehgaldev
- https://twitter.com/electron0zero
- https://twitter.com/WHYkalwani
- https://twitter.com/omtalk
@Dhananjay-JSR
Dhananjay-JSR / server.js
Created October 28, 2023 09:29
KodeBackend with Sqlite
const express = require("express");
const { Sequelize, DataTypes } = require("sequelize");
const app = express();
const port = process.env.PORT;
const sequelize = new Sequelize({
dialect: "sqlite",
storage: "myDatabase.db",
});
const StorageEngine = sequelize.define("StorageEngine", {
@Dhananjay-JSR
Dhananjay-JSR / JSIObject.cpp
Created October 4, 2023 19:12 — forked from axemclion/JSIObject.cpp
React Native JSI Example
// This sample is a Work in Progress for JSI , and specific functions may change.
#pragma once
#include <string>
#include <unordered_map>
#include <jsi/jsi.h>
// This SameplJSIObject needs to inheric from HostObject, and this is the object that will be exposed to JS.
@Dhananjay-JSR
Dhananjay-JSR / esm-package.md
Created April 25, 2023 12:21 — forked from sindresorhus/esm-package.md
Pure ESM package

Pure ESM package

The package that linked you here is now pure ESM. It cannot be require()'d from CommonJS.

This means you have the following choices:

  1. Use ESM yourself. (preferred)
    Use import foo from 'foo' instead of const foo = require('foo') to import the package. You also need to put "type": "module" in your package.json and more. Follow the below guide.
  2. If the package is used in an async context, you could use await import(…) from CommonJS instead of require(…).
  3. Stay on the existing version of the package until you can move to ESM.
@Dhananjay-JSR
Dhananjay-JSR / build.cmd
Created December 17, 2022 03:21 — forked from mmozeiko/build.cmd
download & build llvm+clang on Windows
@echo off
setlocal enabledelayedexpansion
rem !!! build requirements !!!
rem Visual Studio 2019 or 2022
rem 7-Zip - https://www.7-zip.org/download.html
rem Python - https://www.python.org/downloads/
rem CMake - http://www.cmake.org/download/
rem ninja.exe - https://github.com/ninja-build/ninja/releases/latest
const fs = require('fs');
fs.writeFileSync("commit.txt",(Math.floor(Math.random() * 8976)).toString());