simple packaging and encryption using tar and gpg

How to package and encrypt files or folders easily using symmetry password in unix way? tar -> gzip -> gpg to rescue. Here is my quick note.

quick note after installing windows 10 pro

This is the quick note before and after installing Windows 10 pro.

open HEIF and HEVC files in Windows

A few days ago, I wanted to transfer photos from my iPhone to my computer. But it was very annoying that after copying for a while, the process stopped with some errors occured.

enable "Open PowerShell window here" in right click context menu

In Windows 10 Anniversary Update and later Creators Update, if we press “shift” key and right click on desktop, drive, folder, folder blackground, we could see the menu “Open PowerShell window here”. It’s convenient for development. But how to reveal the menu?

Electron as GUI of Python Applications (Updated)

tl;dr

This post shows how to use Electron as the GUI component of Python applications. (Updated version of one of my previous posts.) The frontend and backend communicate with each other using zerorpc. The complete code is on GitHub repo.

topological sorting using DFS and BFS

topological sorting can be solved using DFS and BFS in asymptotical time complexity $O(V + E)$.

learn React the easy way

tl;dr

Remember the core idea in React: UI = func(const props, state).