Skip to content

Instantly share code, notes, and snippets.

View wyvern800's full-sized avatar
💫
Working & Studying

Matheus Ferreira wyvern800

💫
Working & Studying
View GitHub Profile
@wyvern800
wyvern800 / mysql-docker.sh
Created February 28, 2024 16:55 — forked from spalladino/mysql-docker.sh
Backup and restore a mysql database from a running Docker mysql container
# Backup
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql
# Restore
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE
@wyvern800
wyvern800 / nodejs-cicd-github-actions.md
Created November 10, 2023 03:37 — forked from danielwetan/nodejs-cicd-github-actions.md
Deploy Node.js to VPS using Github Actions

Deploy Node.js to VPS using Github Actions

Steps to deploy Node.js to VPS using PM2 and Github Actions

1. Clone repo to VPS folder

[CENTER]
[IMG]https://i.imgur.com/OoD6yxk.png[/IMG]
This guide will help you lean into the basics of how runescape models work and methods to teach you how to make your own models. This includes basic model creation, animation / rigging, coloring, and information on how to use the tools. Be sure to [B][COLOR="#FFA500"]open each spoiler and read the steps carefully[/COLOR][/B].
[HR][/HR]
[SIZE=4][COLOR="#FF8C00"]Introducing the tools[/COLOR][/SIZE]
@wyvern800
wyvern800 / eslint_prettier_airbnb.md
Created June 24, 2023 07:44 — forked from bradtraversy/eslint_prettier_airbnb.md
ESLint, Prettier & Airbnb Setup

VSCode - ESLint, Prettier & Airbnb Setup

1. Install ESLint & Prettier extensions for VSCode

Optional - Set format on save and any global prettier options

2. Install Packages

npm i -D eslint prettier eslint-plugin-prettier eslint-config-prettier eslint-plugin-node eslint-config-node
@wyvern800
wyvern800 / repo-reset.md
Created January 27, 2023 01:50 — forked from heiswayi/repo-reset.md
GitHub - Delete commits history with git commands

First Method

Deleting the .git folder may cause problems in our git repository. If we want to delete all of our commits history, but keep the code in its current state, try this:

# Check out to a temporary branch:
git checkout --orphan TEMP_BRANCH

# Add all the files:
git add -A
A0oJJQAloEqzQN1SSruAKoZRpWNQLJOoZ4o0jaq6BiXbFNE3KNU4SnAOSlmnCL2jRNU8oCr7KJFiICVSOggkC1XpISU0URFcpNJGCR8BGgmUk5KaSVVuAtoJ1U+FoRSOUiLVUqp4ipqqcpWgrZRI6itQVWMpkThLifIWqNwFUnvFXwINVkWHEYsleaxUkynVZanNhD4DGE3RaSWrKVF5rRRmg9ympN1EvyHDKeU4JZIsR3ququmk61RsV9R3iYwn4DwQ65Wi+ZSI/apwMLmwnSipCP258Feizq8IDZ+z4axwC9iarpZ758KlZVczuB8zjYZ35yuyXguoQztvNAzQsimBcmEIASxp7f8JQKcKV0gVWQ0iG0oVXlKbUsemoKREjtw77AFVTwjPBHJ6RxCiuTAN7g0DBPeCx+8PV8G94LGAPRom4kaqMO3vUNq7MnKkPW/YuuSyElsu/NdmBy+XvdFo2Irmpj8XdqEZ1CtoIXzD8LnFwS40C2uD0JYK3zB8bnGwHxsG3k4np2EXmoWFoAERkKYWydeKUCCam4bfcTeAsAvNwtogtKXC77gbQHiLmfTCGEw57EKzsBD0kGUHorlp+Ibhc4uDXWgW1gahLRW+Yfjc4mA/vMVgtxD2tagWTaJANDcNv+NuAH1ucbALzcLaILSlwu+4G0CfWxzsh/1hQCAQzU3DNwyfWxzsQrOwNghtqfANw+cWB5f92OAtVvh1RPED0dw0fMPw1IBgB7vQLKwNQlsqfMPw1IBgB2/LWGV4W/aGgYtSRG9Zm06BaG4avmHAwEUporesTcvwO+4GEPbC3rAPIS0osTYQzU3DNwyfWxzsQrOwNghtqfANw+cWB5exvPAW4/WHLd3pr+AnupsFJdYGorlp+IbhqQHBDnahWVgbhLZU+IbhqQHBDt5ipljwdur1hhnti0DAlg4QzU3DNwyfWxzsQrOwNghtqfANw+cWB/vhLcYC9rALzcJCsEC784Fobhp+x90A+tziYGFtENpS4XfcDaDPLQ62