Skip to content

Instantly share code, notes, and snippets.

View fersilva16's full-sized avatar
🦀

Fernando Silva fersilva16

🦀
View GitHub Profile
@sibelius
sibelius / learning-path-web3.md
Last active August 21, 2024 01:08
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
@Gabriella439
Gabriella439 / trans.md
Last active November 28, 2023 06:30
I'm trans

I'm writing this post to publicly come out as trans (specifically: I wish to transition to become a woman).

This post won't be as polished or edited as my usual posts, because that's kind of the point: I'm tired of having to edit myself to make myself acceptable to others.

I'm a bit scared to let people know that I'm trans, especially because I'm not yet in a position where I can transition (for reasons I don't want to share, at least not in public) and it's really shameful. However, I'm getting really

@sibelius
sibelius / response.mdx
Last active March 16, 2022 16:39
Q & A

As perguntas são muito mais relacionadas à graduação.

Você acha que o fato de possuir uma graduação na USP te ajudou? Em quais aspectos?

Todo conhecimento acaba te ajudando. Toda a minha base teórica me permite aprender coisas novas mais rapidamente.

Se você escolhesse não ir para a faculdade, você acha que estaria como?

Minha família é não é rica, acredito que a faculdade me deu confiança e que o diploma da USP me ajudou a conseguir o primeiro emprego.

@Tsugami
Tsugami / levenshtein_distance.exs
Last active December 14, 2021 22:42
Levenshtein Distance in Elixir
defmodule LevenShteinDistance do
def compare_distance(str, ""), do: String.length(str)
def compare_distance("", str), do: String.length(str)
def compare_distance(str, str), do: 0
def compare_distance(str1, str2) do
[first1, rest1] = pattern_str(str1)
[first2, rest2] = pattern_str(str2)
@sibelius
sibelius / LookingForTheFirstJob.md
Last active July 3, 2023 08:48
Looking for the First Job state

Looking for the First Job

Versão em Português

This is a very common state for people in college, people before/after a bootcamp, or people from another area.

The first job will be the hardest one to get, but it will get easier over time.

The interview will be harder than the job itself

@sibelius
sibelius / fullstack_mentoring.txt
Last active September 14, 2022 13:43
fullstack mentorship start
tell me about yourself
send me your GitHub
send me your LinkedIn
what are your short-term goals?
what are your long-term goals?
what are you right now? only backend, only frontend, fullstack?
what stack do you use today?
what stack do you wanna learn?
what is your current company (if any)? do you have space to grow there?
how can I help you?
@nikoheikkila
nikoheikkila / README.md
Last active September 2, 2025 04:28
Fish Shell function for sourcing standard .env files

envsource

⚠️ NOTE (20.5.2023): I don't really use this function at all anymore since there are now tools such as Taskfile, which reads the .env file for me sparing me the need to pollute my session with environment variables.


I've been using Fish shell for years which is great and all, but one thing that has got me frustrated is using it with .env files.

When attempting to run source .env in a project, I usually encounter this problem:

@sibelius
sibelius / backendLearningPath.md
Created January 15, 2021 14:59
Backend Learning Path - Basics that you should learn
  • learn about basic database modelling, use excalidraw
  • learn how to connect to a database and performe queries
  • learn how to expose a CRUD API REST and/or GraphQL
  • learn how to document the API using Swagger, swagger-jsdoc is the best for it
  • learn how to test your API using Postman, and also automated using jest and supertest
  • learn how to consume other APIs using fetch

Also check Docker Learning Path and Lambda Learning Path

@sibelius
sibelius / testingConcept.md
Last active February 1, 2024 17:36
testing library concept and basic test

You first need to undestand the concept of frontend tests.

You should not test the implementation but the behavior

You test like the end user

For instance, imagine a login screen with email and password inputs and a submit button

The test should input the email and the password, then click in the submit button.

@sibelius
sibelius / dockerLearnPath.md
Last active October 31, 2023 00:09
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
  • learn how to use docker volumes