Skip to content

Instantly share code, notes, and snippets.

@keithmorris
keithmorris / drive-format-ubuntu.md
Last active June 18, 2025 13:21
Partition, format, and mount a drive on Ubuntu
@robertpainsi
robertpainsi / commit-message-guidelines.md
Last active June 13, 2025 18:32
Commit message guidelines

Commit Message Guidelines

Short (72 chars or less) summary

More detailed explanatory text. Wrap it to 72 characters. The blank
line separating the summary from the body is critical (unless you omit
the body entirely).

Write your commit message in the imperative: "Fix bug" and not "Fixed
bug" or "Fixes bug." This convention matches up with commit messages
@doulmi
doulmi / download_all_branches.sh
Created June 23, 2017 14:16
Download All branches
#!/bin/bash
set -x #echo on
remote_url=$(git config --get remote.origin.url)
for branch in $(git branch --all | grep '^\s*remotes' | egrep --invert-match '(:?HEAD|master)$'); do
branch_name=$(echo $branch| cut -d'/' -f 3)
git clone -b $branch_name $remote_url $branch_name
done
@timvisee
timvisee / falsehoods-programming-time-list.md
Last active June 17, 2025 12:56
Falsehoods programmers believe about time, in a single list

Falsehoods programmers believe about time

This is a compiled list of falsehoods programmers tend to believe about working with time.

Don't re-invent a date time library yourself. If you think you understand everything about time, you're probably doing it wrong.

Falsehoods

  • There are always 24 hours in a day.
  • February is always 28 days long.
  • Any 24-hour period will always begin and end in the same day (or week, or month).
@isabellachen
isabellachen / postgres-getting-started.md
Last active September 10, 2024 11:51
How to get up and running with postgres

Get up and running with Postgres sql

brew install postgresql

Make sure Postgres is installed by checking what version is installed

postgres -V

Start up Postgres

@michaeltreat
michaeltreat / mongodb_shell_commands.md
Last active May 20, 2025 19:11
Quick Cheat Sheet for Mongo DB Shell commands.

MongoDB Shell Commands Cheat Sheet.

This is a Cheat Sheet for interacting with the Mongo Shell ( mongo on your command line). This is for MongoDB Community Edition.

Preface:

Mongo Manual can help you with getting started using the Shell.

FAQ for MongoDB Fundamentals and other FAQs can be found in the side-bar after visiting that link.

@papplo
papplo / vanilla-js-cheatsheet.md
Created April 23, 2018 11:47 — forked from thegitfather/vanilla-js-cheatsheet.md
Vanilla JavaScript Quick Reference / Cheatsheet
@papplo
papplo / Advanced JS
Last active September 10, 2024 12:23
# Advanced JS | Summary
The purpose of this sprint is to learn:
- Types, values and properties
- Function expressions vs function declarations
- Hoisting
- Closures
- Strict mode
- Context
@isabellachen
isabellachen / node-event-loop.js
Last active September 10, 2024 11:47
Node's Event Loop implementation in pseudo code.
// node's event loop behind the scenes
// node is event driven and single threaded, with background workers
// imagine we ran node index.js
const pendingTimers = []
const pendingOSTasks = []
const pendingOperations = []
// node executes the file and triggers timers, OSTasks and operations, filling in the above arrays.
index.runContents()

logo_ironhack_blue 7

Rooms App with Reviews - final practice for project #2

Introduction

In previous lessons, we covered all the basics one full stack app can have. Now is the time for you to implement all these features one more time.

Instructions