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 / 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
@gaboesquivel
gaboesquivel / deploy_with_ebcli3_on_circleci.md
Created July 19, 2016 03:15 — forked from RobertoSchneiders/deploy_with_ebcli3_on_circleci.md
Settings to deploy to AWS Elastic Beanstalk on CircleCi (EB Cli 3)

This is how I configured the deploy of my rails apps to AWS Elastic Beanstalk through CircleCI.

Configure Environments Variables

On Project Settings > Environment Variables add this keys:

  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
    The aws user must have the right permissions. This can be hard, maybe, this can help you.

Create a bash script to create the eb config file

@gaboesquivel
gaboesquivel / EOSIO-Bookmarks.txt
Created October 23, 2018 18:11
EOSIO-Bookmarks
EOS Collections
https://github.com/eosasia/awesome-eos-tutorials
https://github.com/DanailMinchev/awesome-eosio
https://github.com/EOS-Nation/Awesome-EOS
EOS Community Tools and Wallets
https://github.com/generEOS/eostoolkit
https://github.com/greymass/eos-voter
https://github.com/eosrio/simpleos
https://github.com/cypherglassdotcom/windshield
@gaboesquivel
gaboesquivel / hackathon_how_to.md
Created September 20, 2018 13:27 — forked from sergmetelin/hackathon_how_to.md
Hackathon Getting Started guide

About EOSIO

The EOS.IO software introduces a new blockchain architecture designed to enable vertical and horizontal scaling of decentralized applications. This is achieved by creating an operating system-like construct upon which applications can be built. The software provides accounts, authentication, databases, asynchronous communication and the scheduling of applications across many CPU cores or clusters. The resulting technology is a blockchain architecture that may ultimately scale to millions of transactions per second, eliminates user fees, and allows for quick and easy deployment and maintenance of decentralized applications, in the context of a governed blockchain.

About this guide:

Full documentation can be found at https://developers.eos.io/

The purpose of this document is to setup you development environment in an agile manner and prepare you for the development of your project ideas.

@gaboesquivel
gaboesquivel / eosjs-standardjs
Created July 29, 2018 15:11
EOSJS StandardJS fixes
➜ eosjs git:(standardjs) standard --fix
standard: Use JavaScript Standard Style (https://standardjs.com)
/Users/gabo/Code/forks/eosjs/bin/eosio-abi-update.js:14:8: 'name' is not defined.
/Users/gabo/Code/forks/eosjs/bin/eosio-abi-update.js:14:14: 'type' is not defined.
/Users/gabo/Code/forks/eosjs/bin/eosio-abi-update.js:14:47: 'type' is not defined.
/Users/gabo/Code/forks/eosjs/bin/eosio-abi-update.js:14:55: 'name' is not defined.
/Users/gabo/Code/forks/eosjs/src/abi-cache.js:26:15: Expected '===' and instead saw '=='.
/Users/gabo/Code/forks/eosjs/src/abi-cache.js:57:7: Return statement should not contain assignment.
/Users/gabo/Code/forks/eosjs/src/format.js:21:7: 'signed' is assigned a value but never used.
/Users/gabo/Code/forks/eosjs/src/index.js:213:5: Unreachable code.
@gaboesquivel
gaboesquivel / nginxproxy.md
Created April 6, 2018 23:38 — forked from soheilhy/nginxproxy.md
How to proxy web apps using nginx?

Virtual Hosts on nginx (CSC309)

When hosting our web applications, we often have one public IP address (i.e., an IP address visible to the outside world) using which we want to host multiple web apps. For example, one may wants to host three different web apps respectively for example1.com, example2.com, and example1.com/images on the same machine using a single IP address.

How can we do that? Well, the good news is Internet browsers