Take care of yourself

If you’re not taking care of yourself, you’re not in a position to help anyone else. You can’t give what you don’t have, and if you’re struggling to pay your bills while volunteering four nights a week, you’re probably hurting more people than you’re helping.

No one is coming to the rescue

Middle class is waiting to be rescued from financial mediocrity… World class knows no one is coming to the rescue

The middle class lives in a perpetual waiting game for outside forces to come to their aid and grant their every wish. Whether it’s losing weight and getting fit; enhancing their relationships or getting rich, they are operating at a level of consciousness that encourages them to passively wait for life to improve. The hero they’re waiting for may be God, government, their boss or their spouse. It’s the average person’s level of thinking that breeds this approach to life and living while the clock keeps ticking away.

DNS Exfiltration





SameSite SameOrigin?

What is a site? What is an origin? Are they the same interchangably?

What’s cross site? What’s cross origin?

In short, site is eTLD + 1, origin is scheme, host, and port.

What is eTLD? eTLD is effective top-level domain.

What is effective top-level domain? It is one of the domains listed in the Public suffix list: https://publicsuffix.org/list/. (e.g. com, ny.us, github.io, etc). The list gets a little wild.

So site being eTLD + 1, an example is mySite.com, or food.ny.us, or hello.github.io.


This blog post is very informative, worth a read: https://jub0bs.com/posts/2021-01-29-great-samesite-confusion/

Info on SameSite cookies: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite


The State of Open-Source Data Integration and ETL

Good read, so much have changed in just a few years.


USB types are getting very confusing now, next time I will just look for Thunderbolt 4.


Predict your choice

This game Aaronson Oracle can predict your next choice (left key or right key), with a 70% average correct rate. We are not that random after all.


ref: https://news.ycombinator.com/item?id=25332641

Light bulb colors

Split a zip file in osx

Say you have a big file and you want to zip it up into a few smaller files, (coz email attachment has size limit), here is how you do it.

zip -s 5m file.zip myBigFile.mov

That cmd will create these files with file size capped at 5mb


To get your original file back, install 7zip.

brew install p7zip

Then run the following to extract your original file(s) back

7za x file.zip

There are other ways but I found the above the easiest.

Ref: https://superuser.com/questions/336219/how-do-i-split-a-zip-file-into-multiple-segments

Show download history in osx

Open a terminal and run the following command.

sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV* 'select LSQuarantineDataURLString from LSQuarantineEvent'

If that’s alarming, you can add the following line to your .bash_profile file to clean up the history from time to time.

sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV* 'delete from LSQuarantineEvent'

Ref: https://osxdaily.com/2012/07/12/list-download-history-mac-os-x/