Blog Articles
-
Native JavaScript and HTML5 Time Features
In the console that appears, type or paste `Date.now()`, press Enter, and you can get how many milliseconds have passed from 1970 to **now** (1625798004061 milliseconds). Then you can tell others you've written JavaScript and it's not Hello World (just kidding).
-
Why Change One Character
I've contributed to a project called Gatsby, which has 50,000 stars on GitHub. Using Twitter as an analogy, while it might not be at the level of top influencers like Obama, Justin Bieber, or Katy Perry, it's probably close to the level of LeBron James, Jennifer Lopez, or Elon Musk.
-
Basianshan Main Peak Trail
I love this feeling. Around 12 o'clock, when we were almost at 4.5K, we caught up with a hiking team from Changhua. They were definitely going to summit. At that point, the two of us suddenly had an evil thought:
-
A Case Sensitivity Customer Service Game
About a day later, someone provided a link to a person-to-person connection—wait, I mean a "discussion thread link." Anyway, they thought my error message was similar to the error message mentioned in this thread and suggested I try the suggestions in the thread, which was to modify the referenced library version, i.e., modify the `package.json` file.
-
Upgrading to Gatsby 3
I discovered that this small change significantly reduced the time I spent reading documentation, because I was reading my own Chinese version of the documentation, which only documented the 2-3 scenarios I would use. More importantly, this customized documentation followed my own logic for remembering and searching, so I could find things very quickly with my eyes.