Skip to content

Instantly share code, notes, and snippets.

@nijicha
nijicha / install_nodejs_and_yarn_homebrew.md
Last active May 21, 2024 09:57
Install NVM, Node.js, Yarn via Homebrew
@bradp
bradp / setup.sh
Last active May 26, 2024 09:10
New Mac Setup Script
echo "Creating an SSH key for you..."
ssh-keygen -t rsa
echo "Please add this public key to Github \n"
echo "https://github.com/account/ssh \n"
read -p "Press [Enter] key after this..."
echo "Installing xcode-stuff"
xcode-select --install
@rondevera
rondevera / css-to-select-range-of-children.html
Last active February 8, 2023 11:29
CSS selector for a range of children
<!DOCTYPE html>
<html>
<head>
<style>
/* How to select a range of children
* (Here, 3rd-7th children, inclusive):
*/
ul li:nth-child(n+3):nth-child(-n+7) {
outline: 1px solid #0f0;
}