Skip to content

Instantly share code, notes, and snippets.

View dev-jhon-yo's full-sized avatar
⚙️
𝗖𝗹𝗶𝗺𝗯𝗶𝗻𝗴, 𝗪𝗶𝘁𝗵𝗼𝘂𝘁 𝗗𝗼𝗶𝗻𝗴 𝗔𝗻𝘆𝗼𝗻𝗲 𝗼𝗻 𝘁𝗵𝗲 𝗟𝗮𝗱𝗱𝗲𝗿

Yolo" dev-jhon-yo

⚙️
𝗖𝗹𝗶𝗺𝗯𝗶𝗻𝗴, 𝗪𝗶𝘁𝗵𝗼𝘂𝘁 𝗗𝗼𝗶𝗻𝗴 𝗔𝗻𝘆𝗼𝗻𝗲 𝗼𝗻 𝘁𝗵𝗲 𝗟𝗮𝗱𝗱𝗲𝗿
View GitHub Profile
@dev-jhon-yo
dev-jhon-yo / Clean Code.md
Created June 11, 2023 20:32 — forked from evaera/Clean Code.md
Best Practices for Clean Code
  1. Use descriptive and obvious names.
    • Don't use abbreviations, use full English words. player is better than plr.
    • Name things as directly as possible. wasCalled is better than hasBeenCalled. notify is better than doNotification.
    • Name booleans as if they are yes or no questions. isFirstRun is better than firstRun.
    • Name functions using verb forms: increment is better than plusOne. unzip is better than filesFromZip.
    • Name event handlers to express when they run. onClick is better than click.
    • Put statements and expressions in positive form.
      • isFlying instead of isNotFlying. late intead of notOnTime.
      • Lead with positive conditionals. Avoid if not something then ... else ... end.
  • If we only care about the inverse of a variable, turn it into a positive name. missingValue instead of not hasValue.
@dev-jhon-yo
dev-jhon-yo / settings.json
Last active February 19, 2024 12:52
These are the settings/extensions that I use in my visual studio code.
{
"workbench.startupEditor": "newUntitledFile",
"editor.fontSize": 14,
"editor.lineHeight": 1.8,
"javascript.suggest.autoImports": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"editor.rulers": [
80,
120
],
@lucianodiisouza
lucianodiisouza / gist:bad9ee2e73bfd33fd6ca4a601fabf6c3
Created February 5, 2021 05:25
Tabela de transparências - HEXADECIMAIS
- **100% — FF**
- 99% — FC
- 98% — FA
- 97% — F7
- 96% — F5
- 95% — F2
- 94% — F0
- 93% — ED
- 92% — EB
- 91% — E8
@diego3g
diego3g / settings.json
Last active July 30, 2024 18:54
VSCode Settings (Updated)
{
"workbench.startupEditor": "newUntitledFile",
"editor.fontSize": 15,
"editor.lineHeight": 1.8,
"javascript.suggest.autoImports": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"editor.rulers": [
80,
120
],
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active July 30, 2024 12:42
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, determine version and generate changelogs

Commit Message Formats

Default

@evaera
evaera / Clean Code.md
Last active July 16, 2024 04:30
Best Practices for Clean Code
  1. Use descriptive and obvious names.
    • Don't use abbreviations, use full English words. player is better than plr.
    • Name things as directly as possible. wasCalled is better than hasBeenCalled. notify is better than doNotification.
    • Name booleans as if they are yes or no questions. isFirstRun is better than firstRun.
    • Name functions using verb forms: increment is better than plusOne. unzip is better than filesFromZip.
    • Name event handlers to express when they run. onClick is better than click.
    • Put statements and expressions in positive form.
      • isFlying instead of isNotFlying. late intead of notOnTime.
      • Lead with positive conditionals. Avoid if not something then ... else ... end.
  • If we only care about the inverse of a variable, turn it into a positive name. missingValue instead of not hasValue.