Introduction of the Chrome Custom Tabs

Why Chrome Custom Tabs?

Android developers might encounter a situation: the user needs to open a web link in the App, for example, the terms of service page. We might either open a browser using an intention with a view action or using the WebView to display.

Read more »

macos-airpods-with-mac-social-card.jpg

Why?

One day my lovely wife invited to watch youtube videos together. Unfortunately, we don’t have a large screen nor a big TV to watch a video comfortably. In the beginning, we tried to view that on our personal laptop, respectively. To be honest, this is not a good idea. We don’t even know which part we watched in each own notebook. Finally, I remember we might be able to connect two audio outputs at the same time. In this way, we can enjoy together on one laptop.

Read more »

An API gateway is a crucial component for web service that provides several functionalities to enhance our web service. Let’s see what it is and what use cases it provides.

Read more »

Question:

Given an array of integers, return indices of the two numbers such that they add up to a specific target.
You may assume that each input would have exactly one solution, and you may not use the same element twice.

Read more »

Question:

Design a logger system that receives the stream of messages along with its timestamps; each message should be printed if and only if it is not printed in the last 10 seconds.

Given a message and a timestamp (in seconds granularity), return true if the message should be printed in the given timestamp; otherwise, it returns false.

It is possible that several messages arrive roughly at the same time.

Read more »

身份問題

我想大家申請個人信用卡,應該是沒什麼太大的問題,對於各個銀行的最新推出的卡片優惠什麼的,只要有長期關注美国信用卡指南 或者我常去看的 Doctor Of Credit 大概都不會錯過相關的DP或者特別驚喜 (我也特別在 reference 裡面附上我常參與的 FB groups). 不過個人信用卡申請久了,總會想試試看商業信用卡.不過如果常常看華人信用卡社團或者網站裡面看到相關介紹時,第一話總是:

Read more »