Skip to content

Instantly share code, notes, and snippets.

View Atul9's full-sized avatar
πŸ‘¨β€πŸ’»
Coding

Atul Bhosale Atul9

πŸ‘¨β€πŸ’»
Coding
View GitHub Profile
@ekas
ekas / learn_typescript.md
Last active December 8, 2022 02:14
Let's Gear Up for TypeScript

πŸš€ πŸš€ Let's Gear Up for TypeScript πŸŽ‰ πŸŽ‰

TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. Any browser. Any host. Any OS. Open source.

Basic Types

  • Boolean
let isDone: boolean = false;
@majackson
majackson / migrations.md
Last active May 2, 2025 17:50
Django migrations without downtime

Django Migrations without Downtime

The following instructions describe a set of processes allowing you to run Django database migrations against a production database without having to bring the web service down.

Note that in the below instructions, migrations are all run manually at explicit points, and are not an automatic part of the deployment process.

Adding Fields or Tables

Adding a (nullable) field or a new table

  1. Make the model or column addition in your code.
@squarism
squarism / iterm2.md
Last active October 15, 2025 21:48
An iTerm2 Cheatsheet

In the below keyboard shortcuts, I use the capital letters for reading clarity but this does not imply shift, if shift is needed, I will say shift. So ⌘ + D does not mean hold shift. ⌘ + Shift + D does of course.

Tabs and Windows

Function Shortcut
New Tab ⌘ + T
Close Tab or Window ⌘ + W (same as many mac apps)
Go to Tab ⌘ + Number Key (ie: ⌘2 is 2nd tab)
Go to Split Pane by Direction ⌘ + Option + Arrow Key