Hej

Welcome to my dreamland. You can find my notes and part of my life.

Illustration of a debait panel with an honest title, clickbait score, and summary

Outsmarting Clickbait: a 'debait' browser extension

A headline promises a shocking discovery. You open it, scroll past the ads, and find one ordinary fact. I built debait to help answer a simpler question before clicking: what does this article actually say? ...

October 4, 2026 · 6 min · smailzhu

Virtual Function Notes

Some notes about how virtual function used in C++. Which may called as polymorphism as well. ...

November 10, 2022 · 3 min · smailzhu

Leetcode 234 Palindrome Linked List

Description: Given the head of a singly linked list, return true if it is a palindrome. Example 1: Input: head = [1,2,2,1] Output: true Example 2: Input: head = [1,2] Output: false ...

August 23, 2022 · 2 min · smailzhu

Leetcode 342 Power of Four

Description: Given an integer n, return true if it is a power of four. Otherwise, return false. An integer n is a power of four, if there exists an integer x such that n == 4x. ...

August 22, 2022 · 2 min · smailzhu

MkiroTik Hinet PPPoE IPv6

How to use IPv6 on Hinet PPPoE?...

August 29, 2021 · 2 min · smailzhu