Skip to content

Instantly share code, notes, and snippets.

View 1995navinkumar's full-sized avatar

Navin kumar 1995navinkumar

View GitHub Profile

Using JSDOC-Based TypeScript

Get Started

Choose your editor

  • WebStorm, Rider
    • Partial support, not enough intelli hints
    • Toggle on TypeScript language service
  • VSCode
@Geoff-Ford
Geoff-Ford / composing-software.md
Last active January 18, 2026 15:20
Eric Elliott's Composing Software Series

Eric Elliott's "Composing Software" Series

A collection of links to the excellent "Composing Software" series of medium stories by Eric Elliott.

Edit: I see that each post in the series now has index, previous and next links. However, they don't follow a linear flow through all the articles with some pointing back to previous posts effectively locking you in a loop.

@Geoff-Ford
Geoff-Ford / master-javascript-interview.md
Last active May 2, 2026 18:59
Eric Elliott's Master the JavaScript Interview Series
@joakin
joakin / git-find-me-the-fucking-deleted-file.sh
Last active February 25, 2026 15:40
finding a deleted file in a git repository
# If you don't remember the exact path/name, search the log for deleted files
git log --diff-filter=D --summary | grep delete
# Find the file you want to get from the ouput, and use the path
# Find the commits that involved that path
git log --all -- some/path/to/deleted.file
# Bring the file back to life to the current repo (sha commit of parent of commit that deleted)
git checkout shaofthecommitthatdeletedthefile^ -- some/path/to/deleted.file
@richardkazuomiller
richardkazuomiller / proxy.js
Created February 19, 2014 06:52
node-http-proxy routing proxy with websockets
var httpProxy = require('http-proxy')
var proxy = httpProxy.createProxy({
ws : true
});
var options = {
'herp.dev': 'http://0.0.0.0:9008',
'derp.dev' : 'http://0.0.0.0:3000'
}
@ricardobeat
ricardobeat / dragDropData.js
Created January 10, 2013 17:52
Pass any kind of object via .dataTransfer (drag & drop API)
/*
Easy way to "transfer" any native objects with the Drag & Drop API
@ricardobeat
$('.draggable').on('dragstart', function(e){
App.dragData.set(e, {
type: 'blablabla'
, items: [1,2,3]
})