Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Set status

Wildan Zulfikar wzulfikar

💭
Set status
View GitHub Profile
@wzulfikar
wzulfikar / .Brewfile
Last active Nov 26, 2022
My Brewfile. Generated using `brew bundle dump --global`
View .Brewfile
tap "assemblyai/assemblyai"
tap "contribsys/faktory"
tap "dosco/graphjin"
tap "elastic/tap"
tap "eth-p/software"
tap "heroku/brew"
tap "homebrew/bundle"
tap "homebrew/cask"
tap "homebrew/cask-fonts"
tap "homebrew/cask-versions"
View logs.md
flowchart TD
  Notes -.-> Problem-based
  Notes -.-> Observations
  Notes --You are here--> Logs[<strong>Logs</strong>]
  Notes -.-> Challenges
  Notes -.-> Electronics

  click Problem-based "https://gist.github.com/wzulfikar/ba2f58d7aeeb3cf53743316f96f91594"
 click Observations "https://gist.github.com/wzulfikar/2cff9bcd64ba5f15296e0b57ff402f79"
@wzulfikar
wzulfikar / observations.md
Last active Nov 13, 2022
Observations. Thoughts.
View observations.md

▲▼▲

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 -.-&gt; Challenges
@wzulfikar
wzulfikar / .aliases
Last active Nov 3, 2022
Shell aliases I use every day.
View .aliases
alias zshso="source ~/.zshrc"
alias clr="clear"
alias hist=history
alias ytdl="youtube-dl" # Example: ytdl https://www.youtube.com/watch?v=BBJa32lCaaY
alias graph="graph-easy" # Example: echo '[a],[c]->[b]' | graph --as=boxart
alias pn="pnpm" # Example: pn i (install packages from package.json)
alias cat="bat -p" # Replace cat with bat (plain style)
alias catt="bat" # Use fully styled bat
alias catp="/bin/cat" # Escape hatch to run the original `cat`
@wzulfikar
wzulfikar / challenges.md
Last active Nov 3, 2022
Self Challenge
View challenges.md

Challenges

Self-challenge for self-improvement.

Example of challenge (eg. weekly):

Sun Mon Tue Wed Thu Fri Sat Score
Ch. 1: No screen 30 minutes before sleep
Start Mon, Oct 17, 2022
◻️ ◻️ ◻️ ◻️ ◻️ ◻️ ◻️ A | B | C
View notes.md

Hello world! 🌎

I write notes in this gist as comments. My original goal was to have a workflow where I can't have an excuse to not write. No websites to manage, no codes to push, no styles to update. Just write. I found Github gist fitting and I don't have issues with writing markdown.

This gist contains "problem-based", technical notes. I encounter a problem, I "google" the solution, I document the solution. Hopefully, I can accumulate the learning and don't have to google again when I encounter the same problem.

Besides problem-based, I also write my "TIL" notes here. They are the new things I learnt that often gave me that "nice" feeling when I first found about it.

There are other things I write like electronics, observations, etc. which I put in different gists. If you want to check it, here's the "sitemap" of all my notes:

@wzulfikar
wzulfikar / Default.handlebars
Last active Oct 20, 2022
MacDown template that support mermaid diagram (http://knsv.github.io/mermaid/index.html). Save this snippet as `Default.handlebars` in `/Applications/MacDown.app/Contents/Resources/Templates/`
View Default.handlebars
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
{{{ titleTag }}}
{{#each styleTags }}
@wzulfikar
wzulfikar / electronics.md
Last active Oct 19, 2022
Electronics and their utilities.
View electronics.md

Electronics

I like to know the actual utilities that an electronic device actually give me. This gist documents my attempt to understand the utilities of such devices.

▲▼▲

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

flowchart TD
View pull_request_template.md

🚧 Work in progress

What

What does this PR change, add, or delete?

Why

Why is this PR needed?

Screenshots

| Before | After |

@wzulfikar
wzulfikar / docker-ps-vertical
Last active Oct 12, 2022
vertical format for docker ps
View docker-ps-vertical
export FORMAT="ID\t{{.ID}}\nNAME\t{{.Names}}\nIMAGE\t{{.Image}}\nPORTS\t{{.Ports}}\nCOMMAND\t{{.Command}}\nCREATED\t{{.CreatedAt}}\nSTATUS\t{{.Status}}\n"
// usage:
docker ps --format="$FORMAT"