Reference:
sudo fdisk -l
Reference:
sudo fdisk -l
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
#!/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 |
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.
This is a Cheat Sheet for interacting with the Mongo Shell ( mongo on your command line). This is for MongoDB Community Edition.
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.
Just migrated it from Codepen.io to markdown. Credit goes to David Conner.
Working with DOM | Working with JS | Working With Functions |
---|---|---|
Accessing Dom Elements | Add/Remove Array Item | Add Default Arguments to Function |
Grab Children/Parent Node(s) | Add/Remove Object Properties | Throttle/Debounce Functions |
Create DOM Elements | Conditionals |
# 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 |
// 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() |