Skip to content

Instantly share code, notes, and snippets.

Last active November 13, 2022 10:53
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Observations. Thoughts.


This gist is a part of my public notes. Here's the "sitemap" of the notes:

flowchart TD
  Notes -.-> Problem-based
  Notes --You are here--> Observations[<strong>Observations</strong>]
  Notes -.-> Logs
  Notes -.-> Challenges
  Notes -.-> Electronics

  click Problem-based ""
  click Observations ""
  click Logs ""
  click Challenges ""
  click Electronics ""

Problem-based · Observations · Logs · Challenges · Electronics

Copy link

wzulfikar commented Nov 3, 2022

Small Details

There are small things I do quite often that I end up making a workflow around it. Here they are.

  1. Alias localhost to l.
    I often type localhost:3000 in my browser when doing local development so I think it'll help if I make it faster. I added l to my /etc/hosts file so I can just type l:3000 (much shorter!) in my browser, in terminal (eg. curl l:3000/api), etc.

  2. Make git commands shorter
    I often run git commands so I want to make it shorter. I made aliases so I can type push, pull, co instead of git push, git pull, git checkout.

  3. Short commit message for minor, irrelevant changes
    I often commit changes not directly related to the main goal of the PR but still count toward the work (eg. formatting, fix typos). I know the change is not interesting by itself and I know that I can still add comment in the PR if needed. For such commits, I use short message f. Combined with short git command from previous point, I can quickly push commit with commit -m f.

  4. Make shorter command when there's a pattern
    I often use git and docker from command line and having some UI in terminal is very helpful, so I use lazygit and lazydocker. I saw the pattern (lazy*) and wrote more aliases to make it shorter: lgit, ldocker.

Copy link

wzulfikar commented Nov 9, 2022

Think small. Think atom.

# 🅰toms
# Molecules
# Organisms
# Templates
# Pages 🍰
🅰toms Molecules Organisms Templates Pages 🍰
1. letter word sentence greeting, intro "Hey John!"
"Hello there, I'm Wildan. Let's get in touch!"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment