Skip to content

Instantly share code, notes, and snippets.

@royriojas
royriojas / why-I-love-Javascript.md
Last active May 11, 2025 09:37
Why I love Javascript

Why I love Javascript

  1. Because it has a humble origin... Designed in 10 days... was proclaimed death several times, and it was planned to be replaced by many other more "powerful" languages

  2. Because it has closures and lambdas, and the prototypal inheritance (the good parts)

  3. Because it is weird, in a very nice sense... (some bad parts... maybe?)

From the video WAT (https://www.destroyallsoftware.com/talks/wat)

@oussamahamdaoui
oussamahamdaoui / devtools-backend.ts
Last active January 14, 2025 06:03
Detect devtools open and close events tested on Chrome and Safari,
/**
Any server would do as long as there is a path that sets a cookie named devtools
**/
//@ts-ignore
import { Bun } from 'bun';
import fs from "fs";
export default {
port: 3000,