Today I Learned

30-11-17

TIL

  • of Arfa Karim, the prodigy who became the youngest Microsoft Certified Professional in 2004 at the age of nine. She passed away in 2012, aged 16.

27-11-17

TIL

  • that in JavaScript you can convert characters to their non-accented versions by just doing str.normalize("NFD").replace(/[\u0300-\u036f]/g, "");
  • that China bans time travel on TV, saying it “disrespects history”

16-10-17

TIL

  • Laravel has a memory leak that keeps increasing memory during tests and eventually causes an “Out of Memory” error for large enough test bases

10-10-17

TIL

  • that there’s a lizard named the Jesus Christ Lizard due to its ability to run on water

08-10-17

TIL

  • that any working phone, whether in service or not, will dial 911
  • that yawning is visually contagious
  • that putting batteries in a fridge doubles their lifespan
  • that my heart doesn’t stop when I sneeze (my life’s been a lie)

03-10-17

TIL

  • that you can play the dino game in Chrome by typing about:dino into the address bar
  • to use Babel Root Import plugin to use import with root based paths

16-09-17

TIL

  • that the rows of dots that connect column in a table or an index (e.g. Chapter 1 . . . . . Page 3) are called “dot leaders”

07-09-17

TIL

06-09-17

TIL

  • that the word “animal” has its root as Latin’s anima (“breath, spririt”)
  • of animism, the belief that every place, every animal, every plant, and every natural phenomenon has awareness and feelings, and can communicate directly with humans

03-09-17

TIL

  • that BBC has a pidgin version
  • that after calling Carbon::setTestNow($mockDate) you should call Carbon::setTestNow() again (without arguments) to reset to the normal behavior and not affect other tests