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
Security - the elephant in the room. Everyone agrees that it is very important but few takes it seriously. We at RisingStack want you to do it right - this is why we have put together this checklist to help you guide through the must have security checks before your application is enabled to thousands of users/customers.
Most of these items are general and applies to all languages and frameworks not just Node.js - however some of the tools presented are Node.js specific. You should also check our introductory Node.js security blogpost.
Configuration Management
Security HTTP Headers
There are some security-related HTTP headers that your site should set. These headers are:
@gaboesquivel
gaboesquivel / Xdebug.md
Created May 29, 2018 01:24 — forked from vicgonvt/Xdebug.md
Instructions for Installing Xdebug in a Mac with Laravel, Valet and Sublime Text

NOTE: This assumes that you have Valet, Homebrew, Sublime Text and PHP properly installed and functioning and will only focus on the setup and installation and setup of Xdebug. There are other tutorials that go into great depth explaining how to get those tools installed on your mac.

Let's get started right away!

Installing Xdebug

You need to know which version of PHP you are running in your machine. To do so, from the terminal run the command php -v and this will display something like this

PHP 7.0.14 (cli) (built: Dec  8 2016 23:34:17) ( NTS )
@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 / gist:58e8ca9f70a10e02cf63
Last active June 23, 2020 17:26
convert all keys a of javascript object to lowercase with lodash
_.transform(obj, function (result, val, key) {
result[key.toLowerCase()] = val;
});
@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 / aplicaciones-eos.md
Last active January 19, 2020 05:01
Guía para el webinar de desarrollo de aplicaciones sobre la plataforma EOS.

Introducción al desarrollo de aplicaciones en EOS

Alt text

Descripción del Webinar

Es una gentil introducción a la programación de aplicaciones en eosio blockchains dirigida a desarrolladores de software.

  • No es indispensable conocer c++, sin embargo conocimientos de programación son requiridos para comprender los contenidos de este webinar.
  • Haremos un recorrido general por el diseño, historia y ecosistema de eosio.