Skip to content

Instantly share code, notes, and snippets.

const express = require('express');
const app = express();
// app.use === generic, will be called for every request
app.use((req, res, next) => {
console.log(req.originalUrl, 'Time:', new Date());
req.time = new Date();
next();
});
@w3cj
w3cj / macos_kb.md
Last active January 10, 2025 02:25

macOS Keyboard Shortcuts You Should Know

These keyboard shortcuts will work in most, if not all text editing places in macOS. (Form input, text editors, web browsers etc.) These keyboard shortcuts will also work on Windows (replace CMD with CTRL).

Jump Over Words

ALT + Left/Right

Go to end of line