Skip to content

Instantly share code, notes, and snippets.

View ShayanAbedi's full-sized avatar
🎯
Focusing

Shayan ShayanAbedi

🎯
Focusing
View GitHub Profile
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();
});

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