Xen's personal web-page

My maintained projects, documentation, scripts, tips, and sometimes my thoughts... all here.

READING MODE OFF

Create a pretty website scroll indicator

Most modern websites have a gauge or a progress bar at the top of their page indicating something. It could be used to show loading time like for example in Youtube/Github… OR it can be used to show current scrolling position and how much left, Which can be very useful to your visitors. This can be seen and tested right here in this site because i use it myself. You can say that this new idea is now part of the Web3 culture and it’s not going away any time soon; so you most adapt. MORE

Toying with Binary files in C

I noticed a lot of devs these days relay heavily on text or JSON files to store data/settings instead of using binary files. This maybe due to thinking that dealing with binary files are hard or requires deep knowledge in low level languages, which is false. Binary files are very similar to arrays of structures, except the structures are in a disk file rather than in an array in memory. Because the structures in a binary file are on disk, you can create very large collections of them (limited only by your available disk space). They are also permanent and always available. The only disadvantage is the slowness that comes from disk access time. MORE

How to Enable/Disable Google's "Dino" game in Chrome

Have you ever had internet issues while using Google Chrome and stumbled upon a small pixelated T-Rex? Did you wonder why there’s an extinct animal in your web browser during connection problems? Well…That’s actually a video game! and it is very addictive one! MORE

Easily add "Reading Time" to your website or blog

Have you ever stumbled upon a website or a blog with a “T read” feature? Usually under or next to the article title; I use this little trick myself so you probably noticed it already, Well this cool trick it can help your viewers decide if they want to read the current article right now or maybe save it for later, Instead of scrolling all the way to find out. MORE

League of Legends freeze at minute 7 fix

League of Legends is one of the best games of all time. This according to statistics and whether we like it or not, it’s very addictive; So if you’re a millennial or a zoomer you definitely have tried it before in your life and if you say otherwise i won’t believe you :) MORE