This sheet goes along with this SSH YouTube tutorial
$ ssh [email protected]
$ mkdir test
$ cd test
#!/bin/bash | |
# Function to display usage information | |
usage() { | |
echo "Usage: $0 /path/to/input.mp4 [ /path/to/output_directory ]" | |
exit 1 | |
} | |
# Check if at least one argument (input file) is provided | |
if [ $# -lt 1 ]; then |
ffmpeg -r 30 -i discoverandapply%04d.png -c:v libvpx-vp9 -pix_fmt yuva420p -crf 25 out.webm |
// 1. first. type in any random word from the array | |
// 2. if you find any letter type it in in the first half of the if statement | |
// 3. if you find any unused letter just type those letter in the regex at the end of the if statement | |
const words = ["which", "there", "their", "about", "would", "these", "other", "words", "could", "write", "first", "water", "after", "where", "right", "think", "three", "years", "place", "sound", "great", "again", "still", "every", "small", "found", "those", "never", "under", "might", "while", "house", "world", "below", "asked", "going", "large", "until", "along", "shall", "being", "often", "earth", "began", "since", "study", "night", "light", "above", "paper", "parts", "young", "story", "point", "times", "heard", "whole", "white", "given", "means", "music", "miles", "thing", "today", "later", "using", "money", "lines", "order", "group", "among", "learn", "known", "space", "table", "early", "trees", "short", "hands", "state", "black", "shown", "stood", "front", "voice", "kinds", |
server { | |
server_name excelreality.com www.excelreality.com; | |
location / { | |
add_header 'Access-Control-Allow-Origin' 'https://excelreality.com'; | |
add_header 'Access-Control-Allow-Credentials' 'true'; |
$ ssh [email protected]
$ mkdir test
$ cd test
Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt
If you use the referal link below, you get $10 free (1 or 2 months) https://m.do.co/c/5424d440c63a
I will be using the root user, but would suggest creating a new user
// This file was initially generated by Windows Terminal 1.1.2233.0 | |
// It should still be usable in newer versions, but newer versions might have additional | |
// settings, help text, or changes that you will not see unless you clear this file | |
// and let us generate a new one for you. | |
// To view the default settings, hold "alt" while clicking on the "Settings" button. | |
// For documentation on these settings, see: https://aka.ms/terminal-documentation | |
{ | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"initialCols": 165, | |
"initialRows": 41, |
# enable_experimental_conpty_backend: true | |
# add some transparency | |
background_opacity: 0.99 | |
dimensions: | |
columns: 80 | |
lines: 30 |
server { | |
root /var/www/html; | |
# Add index.php to the list if you are using PHP | |
index index.html index.htm index.nginx-debian.html; |
#fortune | cowsay -f stegosaurus; echo "$(date '+%D %T' | toilet -f term -F border --gay)" | |
#fortune | cowsay -f tux; echo "$(date '+%D %T' | toilet -f term --metal)" | |
# fortune; echo "$(date '+%D %T' | toilet -f term -F border --gay)" | |
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Load version control information | |
# Path to your oh-my-zsh installation. | |
export ZSH="/home/robinzon/.oh-my-zsh" |