Skip to content

Instantly share code, notes, and snippets.

View gaboesquivel's full-sized avatar
👾
buidl

Gabo Esquivel gaboesquivel

👾
buidl
View GitHub Profile
@gaboesquivel
gaboesquivel / ts-boilerplate.md
Created April 14, 2023 02:08 — forked from silver-xu/ts-boilerplate.md
Setup a Node.js project with Typescript, ESLint, Prettier, Husky

Setup a Node.js project with Typescript, ESLint, Prettier, Husky

1_D8Wwwce8wS3auLAiM3BQKA

Starting a personal node project could be easy; starting a team node project could be challenging.

I am a developer currently working in SEEK Australia.

In my experience, common mistakes developer make when starting a projects are:

  • No Linting
@gaboesquivel
gaboesquivel / .bash_profile
Created May 12, 2022 14:45 — forked from n-st/.bash_profile
Start zsh from bashrc. Useful when you can't use chsh or when the same LDAP account is used both on systems with zsh installed and ones without.
# .bash_profile is executed for login shells,
# .bashrc is executed for interactive non-login shells.
# We want the same behaviour for both, so we source .bashrc from .bash_profile.
# Also, when .bash_profile exists, bash ignores .profile, so we have to source
# it explicitly.
if [ -f "$HOME/.profile" ]; then
. "$HOME/.profile"
fi
@gaboesquivel
gaboesquivel / react-stack.md
Last active March 28, 2022 07:37
React Stack 2022

React Stack 2022

Essential

  • Zustand state
  • SWR / React-Query
  • StandardJS linter config
  • Apollo client
  • React Hook Form
  • Emotion styled components
@gaboesquivel
gaboesquivel / cloudSettings
Created June 16, 2020 01:09
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-06-14T05:55:09.813Z","extensionVersion":"v3.4.3"}
tsc-react-native git:(Sprint5_DEV) npm run android
> ConsumerApp_V1@0.0.1 android /Users/gaboesquivel/Code/tsc-react-native
> react-native run-android
warn Your project is using deprecated "rnpm" config that will stop working from next release. Please use a "react-native.config.js" file to configure the React Native CLI. Migration guide: https://github.com/react-native-community/cli/blob/master/docs/configuration.md
warn The following packages use deprecated "rnpm" config that will stop working from next release:
- react-native-video: https://github.com/react-native-community/react-native-video#readme
- realm: https://realm.io
Please notify their maintainers about it. You can find more details at https://github.com/react-native-community/cli/blob/master/docs/configuration.md#migration-guide.
@gaboesquivel
gaboesquivel / web_audio_stuff.md
Last active October 1, 2019 22:18
web audio stuff
@gaboesquivel
gaboesquivel / keybase.md
Created August 21, 2019 21:39
keybase.md

Keybase proof

I hereby claim:

  • I am gaboesquivel on github.
  • I am gaboesquivel (https://keybase.io/gaboesquivel) on keybase.
  • I have a public key whose fingerprint is F03B 0771 6E99 1DCA 5D27 05E4 9DD6 21A6 89FC DFF9

To claim this, I am signing this object:

import * as React from "react";
import { Button } from "semantic-ui-react";
import { getWallet } from '../services/wallet';
import { useGlobalState } from '../services/global-state';
const WalletView: React.SFC = () => {
const setWallet = useGlobalState('wallet')[1];
const connectWallet = async (walletIndex: number) => {
const wallet = await getWallet(walletIndex);
const EosApi = require('eosjs-api')
const get = require('lodash.get')
const fetch = require('node-fetch')
// gets data from mainnet
const getBlockProducersData = async () => {
const eos = EosApi({
httpEndpoint: process.env.EOS_API_ENDPOINT,
verbose: false