Skip to content

Instantly share code, notes, and snippets.

View Debajyati's full-sized avatar
🎯
Focusing

Debajyati Dey Debajyati

🎯
Focusing
View GitHub Profile
@Debajyati
Debajyati / tomtom-traffic-with-leaflet.html
Created September 12, 2025 07:42 — forked from tsamaya/tomtom-traffic-with-leaflet.html
Tomtom Traffic API use with leaflet
<!DOCTYPE html>
<html>
<head>
<title>Quick Start - Leaflet</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" type="image/x-icon" href="docs/images/favicon.ico" />
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css"
integrity="sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ=="
@Debajyati
Debajyati / index.tsx
Created June 5, 2025 07:26 — forked from louis-young/index.tsx
useImperativeHandle with TypeScript and function components
import { forwardRef, useImperativeHandle, useRef } from "react";
export interface VideoProps {
source: string;
}
export interface VideoRef {
play: () => void;
pause: () => void;
}
@Debajyati
Debajyati / ccls-batch.bat
Created February 23, 2025 13:33 — forked from ROCKTAKEY/ccls-batch.bat
Build ccls in Windows with MSYS.
git clone https://github.com/MaskRay/ccls/ --recursive
cd ccls
cmake -H. -BRelease -DCMAKE_BUILD_TYPE=Release -G "MSYS Makefiles" -DCMAKE_CXX_FLAGS=-D__STDC_FORMAT_MACROS
cmake --build Release
@Debajyati
Debajyati / using_conan_cpp.md
Created February 22, 2025 15:48 — forked from ForgottenUmbrella/using_conan_cpp.md
How to use Conan, a C++ package manager, for beginners

Package Management in C++ with Conan for Beginners

C++ package management can be complicated.

Below are some key tools involved:

Make

Make runs commands defined in a Makefile, for example, to build and install programs with the compiler and linker. For our purposes, we won't worry about what this looks like; you only need to understand its purpose in relation to CMake.

@Debajyati
Debajyati / -
Created June 23, 2024 15:14 — forked from anonymous/-
#!/usr/bin/env python
# select a colour with wxPython's
# wx.ColourDialog(parent, data)
# source: Dietrich 20nov2008
# Description: Python color wheel.
import wx
class MyPanel(wx.Panel):
def __init__(self, parent):
wx.Panel.__init__(self, parent, wx.ID_ANY)
@Debajyati
Debajyati / .eslintrc.json
Created April 22, 2024 13:55
Basic eslint config to make it good to go for development in js/ts inside Neovim
{
"extends": ["eslint:recommended"],
"parserOptions": {
"ecmaVersion": "latest"
},
"env": {
"es6": true,
"browser": true,
@Debajyati
Debajyati / pop.json
Created March 14, 2024 12:34
a scoop installer manifest to install pop: the cli email sender app on windows via scoop package manager
{
"description": "Send email the smart way: from the command line.",
"version": "v0.2.0",
"homepage": "https://charm.sh",
"architecture": {
"32bit": {
"url": "https://github.com/charmbracelet/pop/releases/download/v0.2.0/pop_0.2.0_Windows_i386.zip",
"bin": [
"pop.exe"
],