Command Palette
Search for a command to run...
Updated
•1 min readComments
Join the discussionNo comments yet. Be the first to comment.
More from this blog
How might atob() be implemented in JS?
https://gist.github.com/fuadop/90f67285e6f250c76aafd698ba764331
Dec 13, 20241 min read
How might window.btoa() be implemented in JS?
/** * @param {string} b * @returns {string} */ const btoa = (b) => { let s = ''; const bytes = new Uint8Array(b.split('').map(x => x.charCodeAt(0))); const ALPHABET_TABLE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz01234567...
Dec 13, 20241 min read
How to clear TMUX scrollback buffer with zsh keybindings
tmux -V &> /dev/null if [[ $? -eq 0 ]]; then function clear_tmux_scrollback_buffer() { tmux clear-history } zle -N clear_tmux_scrollback_buffer bindkey "^[^L" clear_tmux_scrollback_buffer fi https://github.com/fuadop/zsh-conf...
Dec 13, 20241 min read
Implementing OOP Concepts in Golang
A Comprehensive Guide to Object-Oriented Programming (OOP) in Golang
Jan 1, 20235 min read
