Saturn parser

Saturn Parser - Extract contents from a url Saturn Parser is a composer package that extracts the bits that humans care about from any URL you give it. Story Couple of days ago I came across an interesting library written in javascript called mercury this library allows us to extracts the bits of the content from any given URL. That includes article content, titles, authors, published dates, excerpts, lead images, and more.
Read more →

How to make a thaana quote generator

Story Few weeks ago i was learning a javascript framework called vue js and wanted to make something cool for learning purposes. I always start out with a project even if I am learning something new. It really helps me to build out a real world example and also helps me to learn along the way. So i was thinking of a small project to make and I was googling a bit here and there.
Read more →

New Update to MoosunMv composer package

MoosunMv Library is updated to v1.0.4. In this update, I have included the feature to get satellite image from Maldives Meteorology. It scraps the site and gives you the latest image URL taken up to date. Example usage of new satellite image feature shown below: $image = new ImgScraper; echo $image->satellite_image; Even if no one uses it I kinda love adding new features to it, maintain and also improving the code.
Read more →

Writing thaana on lcd displays

So for the past few weeks, I have been doing bit of research and digging on how to write Dhivehi thaana to a 16*2 LCD. What I found out is that it’s not hard to do it. So the thing I had to do was to assign custom byte codes that match the letters in the Dhivehi thaana. So the easiest way to think about this was making a 5 * 8 squares like a table.
Read more →

How to setup git hooks in digital ocean droplet

Since the year is 2019 and not 2006 you really should be using git to deploy your application. So you could always use SFTP to get your web app onto your server, but that is not only less secure, but it also WAY SLOWER. While it might work fine the first time, it becomes a pain in the ass for future updates. Using git, pushing to our server is effortless and has virtually no downtime.
Read more →