Skip to content

Instantly share code, notes, and snippets.

View jqn's full-sized avatar

Joaquin Guardado jqn

View GitHub Profile
@jqn
jqn / resume.md
Created February 6, 2024 15:57 — forked from JCaraballo113/resume.md

Results-driven Full Stack Engineer with over 10 years of experience in developing and scaling software products. Proficient in JavaScript, HTML, CSS, and a variety of programming languages and web frameworks including Python, NodeJS, Go, React, Vue and more. Led the software engineering efforts for the Covey product, successfully securing a $2.5M seed round as well as 3000+ monthly active users. Expertise in working with Web3 technologies such as Ethereum EVM based blockchains, solidity smart contracts and metamask, which resulted in Covey becoming the first of it's kind platform to offer immutable track records for financial analysts to showcase to potential employers utilizing the blockchain and becoming the #20 social platform on dappRadar the premiere site for discovering Web3 applications.

Demonstrated knowledge of microservice software architecture patterns to enhance product performance. Also developed and scaled backend solutions using cloud technologies such as Google Cloud and Amazon Web Services.

-- Disable SIP (csrutil disable)
ref: https://github.com/pypa/virtualenv/issues/2023
-- Run SHELL as x86_64 mode
arch -x86_64 $SHELL
ref: https://sspai.com/post/63935
-- uninstall arm 64 brew (if needed)
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
@jqn
jqn / terminal-colors-branch.sh
Created March 18, 2021 09:46 — forked from danielalvarenga/terminal-colors-branch.sh
Show branch in terminal Ubuntu
# Add in ~/.bashrc or ~/.bash_profile
function parse_git_branch () {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
}
RED="\[\033[01;31m\]"
YELLOW="\[\033[01;33m\]"
GREEN="\[\033[01;32m\]"
BLUE="\[\033[01;34m\]"
NO_COLOR="\[\033[00m\]"

Multiple MySQL Versions for Development

Options included below:

  • Using Docker docker-compose
  • Using Homebrew brew

Using Docker (recommended)

This gist was originally created for Homebrew before the rise of Docker, yet it may be best to avoid installing mysql via brew any longer. Instead consider adding a barebones docker-compose.yml for each project and run docker-compose up to start each project's mysql service.

@jqn
jqn / homebrew_multiple_mysql_versions.md
Created January 27, 2021 15:24 — forked from mitchkramez/homebrew_multiple_mysql_versions.md
Multiple MySQL Versions with Homebrew

Multiple MySQL Versions with Homebrew

For homebrew version 1.5.12 - WIP... not quite working yet.

brew -v # => Homebrew 1.5.12

Install the current version of mysql.

# Install current mysql version

brew install mysql

@jqn
jqn / use-toggle.jsx
Created January 14, 2021 13:47 — forked from gragland/use-toggle.jsx
Thought process when creating a useToggle() React hook with useState
import { useState, useCallback } from "react";
function useToggle(initialValue = false){
// State with initial boolean value (true/false)
const [state, setState] = useState(initialValue);
// Let's create a toggle function
// This works, but we're using the state value from above
// instead of the current state. Usually they are the same,
// but if this hook was triggered multiple times rapidly then
@jqn
jqn / morse.rb
Created December 26, 2020 10:11 — forked from trejo08/morse.rb
Morse Code translator written in Ruby as solution of CodementorX Assessment.
class Morse
def posibilities(signals)
signals.include?('?') ? check_wildcard(signals) : morses["#{signals}"]
end
def check_wildcard(signals)
length = signals.split('').length
values = []
if length.eql?(1)
values = ["E", "T"]
@jqn
jqn / install_pipenv.md
Created September 22, 2020 09:47 — forked from planetceres/install_pipenv.md
pipenv installation notes Ubuntu 18.04

Installation Notes for pipenv on Ubuntu 18.04

1. Add ~/.local/bin to PATH

pypa/pipenv#2122 (comment)

echo 'export PATH="${HOME}/.local/bin:$PATH"' >> ~/.bashrc
@jqn
jqn / .jsbeautifyrc
Created August 10, 2020 04:16 — forked from wzup/.jsbeautifyrc
.jsbeautifyrc file example
{
// The plugin looks for a .jsbeautifyrc file in the same directory as the
// source file you're prettifying (or any directory above if it doesn't exist,
// or in your home folder if everything else fails) and uses those options
// along the default ones.
// Details: https://github.com/victorporof/Sublime-HTMLPrettify#using-your-own-jsbeautifyrc-options
// Documentation: https://github.com/einars/js-beautify/
"html": {
"allowed_file_extensions": ["htm", "html", "xhtml", "shtml", "xml", "svg", "dust"],
{"contents":{"editor":{"formatOnSave":true}},"overrides":[],"keys":["editor.formatOnSave"]}