Skip to content

Instantly share code, notes, and snippets.

View Nilomiranda's full-sized avatar
🎯
Focusing

Danilo Miranda Nilomiranda

🎯
Focusing
View GitHub Profile
@Nilomiranda
Nilomiranda / learning-path-web3.md
Created September 8, 2021 22:20 — forked from sibelius/learning-path-web3.md
Learning Path Web3
  • learn blockchain concepts
  • learn ethereum
  • learn how to use metamask
  • learn how to use hardhat (https://hardhat.org/)
  • learn how to deploy and interact with a smart contract
  • learn common smart contract standards like ERC20 (token), ERC721 (nft), ERC1155 (opensea)
  • learn ipfs
  • learn how to read blockchain explorers like https://etherscan.io/
  • learn how to use web3 and etherjs
  • learn solidity
@Nilomiranda
Nilomiranda / tmux-cheatsheet.markdown
Created June 8, 2021 18:43 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@Nilomiranda
Nilomiranda / dockerLearnPath.md
Created March 2, 2021 13:27 — forked from sibelius/dockerLearnPath.md
Docker Learn Path - What do you need to know about Docker
  • learn why we need docker
  • learn how to define a Dockerfile
  • learn how to build a docker
  • learn how to list images
  • learn how to run docker with port forward
  • learn how to go inside docker to debug, running /bin/bash
  • learn docker compose
  • learn how to send a docker image to a reqistry (dockerhub or aws ecr)
  • learn how to deploy a docker to kubernetes, aws ecs or another platform
@Nilomiranda
Nilomiranda / awsLamdbaExperience.md
Created March 2, 2021 13:27 — forked from sibelius/awsLamdbaExperience.md
AWS Lamdba Learning Path - What do you need to learn about aws lambdas?
  • learn how to bundle backend using webpack in a single bundle (check this https://gist.github.com/jgcmarins/2860f547f5d785dce24ca0eadbe3abdd)
  • learn how to automate lamdba deploys using serveless or aws cdk (github actions)
  • learn how to configure and automate api gateway
  • learn how to automate tests lambdas using jest
  • learn how to configure, automate and use RDS Proxy to fast database workflow in lamdbas (also cache database connections)
  • how the performance gain using RDS Proxy over normal database usage
  • learn about cold start and lambda statefull (https://www.swyx.io/stateful-serverless/)
  • expose a CRUD api in lamdba
  • put everything on open source (github)
  • write a blog post about each of the topics above
@Nilomiranda
Nilomiranda / getObjectId.tsx
Created April 23, 2020 11:32 — forked from sibelius/getObjectId.tsx
getObjectId from globalId
import { fromGlobalId } from 'graphql-relay';
import { Model, Types } from 'mongoose';
// returns an ObjectId given an param of unknown type
export const getObjectId = (target: string | Model<any> | Types.ObjectId): Types.ObjectId | null => {
if (target instanceof Types.ObjectId) {
return new Types.ObjectId(target.toString());
}
if (typeof target === 'object') {
@Nilomiranda
Nilomiranda / learning.md
Created July 8, 2019 02:25 — forked from sibelius/learning.md
Learning Path React Native

Basics

  • Learn how to start a new react native project
  • Run it on ios simulator, on android emulator, on a real iPhone device and on a real Android device, with and without debugging enabled.
  • Learn how to upgrade a react native project
  • Learn how to add a package to the project
  • Learn how to add a package that has a native dependency (https://github.com/airbnb/react-native-maps, https://github.com/evollu/react-native-fcm) - DO NOT USE COCOAPODS
  • Learn how to use fetch to get data from your backend

Learn Navigation

@Nilomiranda
Nilomiranda / 0_reuse_code.js
Created March 13, 2017 20:12
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console