Reference:
sudo fdisk -l
# Find the latest version on https://github.com/creationix/nvm#install-script | |
$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash | |
# Add in your ~/.zshrc the following: | |
export NVM_DIR=~/.nvm | |
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" | |
$ source ~/.zshrc |
Reference:
sudo fdisk -l
#!/bin/bash | |
mkdir wordpress-site && cd wordpress-site | |
touch docker-compose.yml | |
cat > docker-compose.yml <<EOL | |
version: "2" | |
services: | |
my-wpdb: |
# content has to be in .config/fish/config.fish | |
# if it does not exist, create the file | |
setenv SSH_ENV $HOME/.ssh/environment | |
function start_agent | |
echo "Initializing new SSH agent ..." | |
ssh-agent -c | sed 's/^echo/#echo/' > $SSH_ENV | |
echo "succeeded" | |
chmod 600 $SSH_ENV | |
. $SSH_ENV > /dev/null |
doctype html | |
html | |
head | |
title My App | |
meta name="viewport" content="width=device-width, initial-scale=1.0" | |
= stylesheet_link_tag "application", media: 'all', 'data-turbolinks-track' => true | |
= javascript_include_tag "application", 'data-turbolinks-track' => true | |
= csrf_meta_tags | |
body |