Flexbox

Nice articles about how flexbox works. https://medium.freecodecamp.org/an-animated-guide-to-flexbox-d280cf6afc35 https://medium.freecodecamp.org/even-more-about-how-flexbox-works-explained-in-big-colorful-animated-gifs-a5a74812b053

May 30, 2018 · 1 min · birdchan

The Indoor Generation

May 29, 2018 · 0 min · birdchan

Why children, not childs?

https://www.grammarphobia.com/blog/2016/03/en-plural.html

May 28, 2018 · 1 min · birdchan

Pollen

May 22, 2018 · 0 min · birdchan

Stockdale Paradox

You must never confuse faith that you will prevail in the end—which you can never afford to lose—with the discipline to confront the most brutal facts of your current reality, whatever they might be. -- James Stockdale Ref: https://en.wikipedia.org/wiki/James_Stockdale

May 18, 2018 · 1 min · birdchan

Set the maximum line length in PyCharm

This is how I do it for PyCharm Community Edition 2018.1 on osx. PyCharm -> Preferences -> Editor -> Code Style -> Visual guides I set it to 79 chars. Ref: https://stackoverflow.com/questions/17319422/how-do-i-set-the-maximum-line-length-in-pycharm https://stackoverflow.com/questions/15438326/python-pep-8-docstring-line-length

May 17, 2018 · 1 min · birdchan

In a bad state in git

After some rebase, merge and git stash, sometimes I found myself in a bad git state, like a detached head state or in the middle of some messy conflict resolving, whatever that means. What to do? First question to ask yourself, can I afford to throw away my current changes? If the answer is yes, then there are many options. Here are a few: [code] rm -rf git_dir/ git clone https://some.git.clone.path [/code] ...

May 15, 2018 · 1 min · birdchan

Hold on, Hold Off

Hold on: to wait E.g. Hold on until mom is here. Hold off: to postpone, cancel, or stop an action E.g. He held off preparation for the business trip. Just to confuse you more… Hold off on: E.g. She decided to hold off on her vacation plan. Hold off from: E.g. He held off from entering the house. Ref: http://www.differencebetween.net/language/difference-between-hold-on-or-hold-off/ https://www.merriam-webster.com/dictionary/hold%20off%20on

May 7, 2018 · 1 min · birdchan

How fake handbags fund terrorism and organized crime

https://www.ted.com/talks/alastair_gray_how_fake_handbags_fund_terrorism_and_organized_crime

May 6, 2018 · 1 min · birdchan

Visualizing Pandas' Pivoting and Reshaping Functions

This will come in handy someday. http://jalammar.github.io/visualizing-pandas-pivoting-and-reshaping/

May 5, 2018 · 1 min · birdchan