Scope Chain in JavaScript

const and let are the new block-scoped variable declaration methods introduced in ES6. const declares a constant variable, so what are the differences between them and var?

Exif Orientation Metadata

Recently, I found that photos taken with a phone were rotated 90 degrees counterclockwise when drawing PDFs using the pdf-lib.js library. After investigation, it turns out that the image is recorded with a rotated data grid that records each pixel. We can see it correctly in most image viewers because there is an Orientation metadata information that these image viewers use to determine whether and how to rotate the image for display, but some programs do not do this.

Install Tmux on iSH and how to use tmux

The greatest value of Tmux to me: Avoiding the need to spend a lot of time restoring to the previous state due to network disconnection or Terminal crash. Additionally, the functionality of Tmux windows makes it more convenient for me to operate under Git Bash on Windows system.

Personal Resource Searcher

I often need to search for some of my own private resources and notes. I made a web version of a personal search engine a long time ago. I found that some commands are not commonly used and difficult to remember, and it takes time to find the syntax, so I made a shell version.