sayajay.net

Posts about Code Snippets

Code Snippets

Mostly code snippets and stuff. A reference for me because I forgot stuf all the time.


intersection observer as a react hook

April 9, 2020, 7:00 AM

Use an intersection observer to determine the visibility of an element in a browser window. more >>


deleting a user and their home directory in ubuntu

March 16, 2020, 7:00 AM

nefarious users putting questionable contents on my server shall be smoted.  more >>


formatting a date in javascript, and such

February 16, 2020, 12:00 AM

how to format a date in javascript more >>