Skip to content

Instantly share code, notes, and snippets.

View mon4ssi's full-sized avatar
🏠
Working from home

Monassi Carrasco mon4ssi

🏠
Working from home
View GitHub Profile
@mon4ssi
mon4ssi / certbot.sh
Created June 16, 2023 00:25
Gets Wildcard subdomains on Ubuntu using Certbot via CloudFlare DNS Challenge
# Used on Ubuntu 18.04 and 22.04
# Find instructions for other OSes here: https://certbot.eff.org/instructions
# Install Certbot via Snaps
sudo apt-get -y remove certbot
# Install Certbot via Snaps
sudo snap install core; sudo snap refresh core
sudo snap install --classic certbot
sudo ln -s /snap/bin/certbot /usr/bin/certbot
@mon4ssi
mon4ssi / update-feature-branch.md
Last active May 17, 2023 15:22
Ensure your feature branch is synchronized with the latest changes from the main branch. Deploying from Git branches offers valuable flexibility in the development process. Update your branch with the latest changes from main and perform a thorough deployment to validate everything is functioning as expected. If all tests pass, you can confident…

Updating a feature branch

First we'll update your local main branch. Go to your local project and check out the branch you want to merge into (your local main branch)

$ git checkout main

Fetch the remote, bringing the branches and their commits from the remote repository.

@mon4ssi
mon4ssi / hot-to-use-event-bus-with-composition-api.md
Created March 23, 2023 15:13
How to Use Event Bus with Composition API in Vue 3

1. Install mitt

Install mitt using npm

npm install mitt

Install mitt using yarn

@mon4ssi
mon4ssi / .jshintrc
Created February 17, 2023 19:57 — forked from haschek/.jshintrc
JSHint Configuration, Strict Edition
{
// --------------------------------------------------------------------
// JSHint Configuration, Strict Edition
// --------------------------------------------------------------------
//
// This is a options template for [JSHint][1], using [JSHint example][2]
// and [Ory Band's example][3] as basis and setting config values to
// be most strict:
//
// * set all enforcing options to true
@mon4ssi
mon4ssi / keybase.md
Created August 3, 2021 19:48
Keybase proof

Keybase proof

I hereby claim:

  • I am diariodmente on github.
  • I am diariodmente (https://keybase.io/diariodmente) on keybase.
  • I have a public key whose fingerprint is FBBF E20F 403B C5BF 331D B462 995C 41BB FB48 9077

To claim this, I am signing this object: