Skip to content

Instantly share code, notes, and snippets.

View ASplayer9119's full-sized avatar
🦊
キツネ

Anton ASplayer9119

🦊
キツネ
View GitHub Profile
for i in *.mp3 ; do mv "$i" `printf "marimo%03d.mp3\n" $(basename "$i" .mp3 | sed 's/[^0-9]*//g')` ; done
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Intro to XState</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<div id="box"></div>
@ASplayer9119
ASplayer9119 / node_nginx_ssl.md
Created January 11, 2020 09:53 — forked from bradtraversy/node_nginx_ssl.md
Node app deploy with nginx & SSL

Node.js Deployment

Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt

1. Sign up for Digital Ocean

If you use the referal link below, you get $10 free (1 or 2 months) https://m.do.co/c/5424d440c63a

2. Create a droplet and log in via ssh

I will be using the root user, but would suggest creating a new user

@ASplayer9119
ASplayer9119 / docker-help.md
Created July 17, 2019 17:37 — forked from bradtraversy/docker-help.md
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

@ASplayer9119
ASplayer9119 / cheatsheet.md
Last active July 17, 2019 12:29
Markdown cheatsheet

This is heading

Second heading

Third heading

This is italic

This is bold

@ASplayer9119
ASplayer9119 / mac-setup-redis.md
Created July 9, 2019 10:47 — forked from tomysmile/mac-setup-redis.md
Brew install Redis on Mac

type below:

brew update
brew install redis

To have launchd start redis now and restart at login:

brew services start redis
@ASplayer9119
ASplayer9119 / myscript.sh
Created July 9, 2019 10:47 — forked from bradtraversy/myscript.sh
Basic Shell Scripting
#! /bin/bash
# ECHO COMMAND
# echo Hello World!
# VARIABLES
# Uppercase by convention
# Letters, numbers, underscores
NAME="Bob"
# echo "My name is $NAME"