Skip to content

Instantly share code, notes, and snippets.

View jv-amorim's full-sized avatar
🙂
It's all good, man.

João Vitor Amorim jv-amorim

🙂
It's all good, man.
View GitHub Profile
@jv-amorim
jv-amorim / C# SOLID Notes.md
Last active September 14, 2022 11:26
Notes about SOLID principles in C#.

📌️ C# SOLID Notes

Content:

  • SOLID;
  • Single Responsibility Principle (SRP);
  • Open/Closed Principle (OCP);
  • Liskov Substitution Principle (LSP);
@jv-amorim
jv-amorim / C# Interfaces Notes.md
Created April 26, 2020 20:45
Notes about Interfaces in C#.

📌️ C# Interfaces Notes

Content:

  • Interfaces;
  • Repository Pattern;
  • Repository Factory Pattern;
  • Dynamic Factory (instead of Compile-Time Factory);
@jv-amorim
jv-amorim / C# OOP Notes.md
Last active April 26, 2020 20:32
Notes about Orient-Object Programming in C#.

📌️ C# OOP Notes

Content

  • OOP;
  • Fields x Properties x Attributes;
  • Four Pillars of OOP;
  • Constructor Chaining;
@jv-amorim
jv-amorim / C# Collections Notes.md
Last active April 26, 2020 16:51
Notes about C# Collections.

📌️ C# Collections Notes

📄️ Lists:

✅️ The FindIndex() method can receive a lambda function as an argument and, thus, it's possible find the first unknown element that meets a desired requirement, present in the lambda function. Example: int brazilIndex = countries.FindIndex(x => x.Population < 220_000_000);

✅️ The Insert() method allows the insertion of an element after a desired index in the list. Example:

@jv-amorim
jv-amorim / Blockchain.md
Last active April 26, 2020 20:35
These notes are about my that is on Github.

📌️ Blockchain in C# - Basic Concepts

Content:

  • Private Key;
  • Public Key;
  • Networks;
  • PubKey hash;
@jv-amorim
jv-amorim / Desenvolvimento utilizando Node, React e React Native.md
Last active April 26, 2020 15:25
Notas sobre a criação de projetos fullstack utilizando Node.js, React e React Native.

Notas sobre a criação de projetos fullstack utilizando Node.js, React e React Native

BACK-END (NODE.JS):

Rotas e recursos:

@toricls
toricls / Time-based-auto-scaling-on-fargate.md
Created August 5, 2019 01:49
Example: Time-based Auto Scaling on Amazon ECS + AWS Fargate

Set parameters

$ export ECS_CLUSTER_NAME={YOUR_ECS_CLUSTER_NAME}
$ export ECS_SERVICE_NAME={YOUR_ECS_SERVICE_NAME}

RegisterScalableTarget

@peted70
peted70 / TMP_SDF-MobileInstanced.shader
Created March 14, 2019 10:05
TextMeshPro Shader updated to work with Single pass stereo rendering in Unity
// Simplified SDF shader:
// - No Shading Option (bevel / bump / env map)
// - No Glow Option
// - Softness is applied on both side of the outline
Shader "TextMeshPro/Mobile/Distance Field Instanced" {
Properties {
_FaceColor ("Face Color", Color) = (1,1,1,1)
_FaceDilate ("Face Dilate", Range(-1,1)) = 0
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active June 22, 2024 17:02
Conventional Commits Cheatsheet

Conventional Commit Messages

See how a minor change to your commit message style can make a difference.

Tip

Have a look at git-conventional-commits , a CLI util to ensure these conventions and generate verion and changelogs

Commit Message Formats

Default

using UnityEngine;
using UnityEngine.EventSystems;
public class UIZoomImage : MonoBehaviour, IScrollHandler
{
private Vector3 initialScale;
[SerializeField]
private float zoomSpeed = 0.1f;
[SerializeField]