echo 'export PATH="${HOME}/.local/bin:$PATH"' >> ~/.bashrc
| 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"] |
| 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 |
Options included below:
- Using Docker
docker-compose - Using Homebrew
brew
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.
| # 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\]" |
| -- 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)" |
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.