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/leaflet@1.6.0/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)