Latest stories

What Is the Best Antivirus for Windows 10?

W

An effective Windows 10 antivirus program will protect your device from harmful malware, phishing scams, and ransomware. Some of these antivirus programs even provide a firewall to reinforce the already existing ones in your computer. The Importance of an Antivirus Program To understand how an antivirus program is essential, we first need to understand what viruses do to your computer. Some of...

How to Clear Cookies on Android

H

Cookies are simply the bits of data created each time one visits a site on the internet. They play a vital role in remembering user-specific data such as logins, shopping cart items, and visited pages, thus making it easier to open said pages in the future. Thanks to this data, websites can “remember” us and make our browsing experience easier and more convenient. Why Clearing Cookies on Your...

Bulk Resize and Compress Images with Python and Pillow

B

As a web developer, I have come across websites that performed very poorly in terms of loading speed. The main reason being they had too many unoptimized images. Generally, images have to be optimized through resizing and compression to save bandwidth both for the webserver and viewer. Thanks to advancements in image compression, we now have image formats such as webp which require very less...

How to Generate Unique Slug in Laravel

H

Those coming from WordPress will be very much familiar with the term slug. For those who are new, Slug is the part of the URL that comes after the domain name. The slug provides a unique identity to any page on a website. On content management systems like WordPress, the slug is automatically generated from the title. Slugs play an important role in search engine optimization. A well-optimized...

How to Disable CSRF protection on specific Routes in Laravel

H

Laravel is built with security in mind and hence it comes with a lot of built-in security features. One of these major security features is cross-site request forgery (CSRF) protection. The csrf vulnerability allows anyone to imitate forms on a site and make forged requests to modify or retrieve data.  Laravel generates a csrf token for every user session. Using the csrf token, laravel can...

How to Host Multiple Websites on a Nginx Server

H

I have been using Nginx as the preferred web server for most of my web projects. It is very efficient than apache, which I used initially for my projects. It didn’t take long to find out the limitations of apache as the traffic grew.  After spending some time researching solutions, eventually, I came across Nginx. Its performance and efficiency simply amazed me. If we compare two separate...

Close Terminal without Killing Running Processes on Linux with Tmux

C

When connecting remotely to a Linux server, all the processes or scripts started by you through the terminal run as long as you are connected to the server. As soon as you close the terminal, the processes started by you will get terminated.  I faced this issue when I was new to Linux servers. The naive me ran scripts through cronjobs and the issue was temporarily sorted out for me. It did...

Web Scraping with Python and Beautifulsoup for Beginners

W

Python with the beautifulsoup library makes it very easy for beginners to scrape data from any HTML website. I have been using the request library with python to scrape data from multiple websites. It works like a charm every time unless you encounter a website that renders the front end with javascript. Data scraping helps to collect data from websites. There are various free and paid tools to...

Empty all Files in Linode’s Object Storage Bucket and Delete it

E

I have been using Linode’s object storage for a year now. Its been primarily used to serve image files for one of my projects. In comparison to its competitor’s offering, Linode’s object storage is definitely much affordable than what Google and Amazon are offering. In fact, Linode’s comparison shows the price difference is almost 900%.  Linode’s object storage is 900% cheaper than...

Offers that You Should Avoid for Online Slots

O

Online casinos offer tons of promotions and bonuses for slot machine players. These promotions can range from hundreds to get spins for free to slots tournaments, regular cashback, and free credits. However, all of these promotions are not worth claiming, and there are several good reasons for that. Reasons Why You Should Avoid Some Slot Promotions Here are a few reasons why you should not claim...

Is there a way for an online Casino site to Manipulate the Slots RTP?

I

Gambling in all its forms regularly comes under scrutiny when fairness is discussed. Punters know that gambling can be risky, but they need a guarantee that they are investing in a gambling brand that offers an environment that is free of result manipulation. It is hard to prove that an online slot site is running an honest establishment, but players that love to play slot games online have to...

How to Skip Elements in Xpath

H

Recently I came across a situation where I had to skip the first li tag from a list of li tags. This is where the position() function in xpath came to my help. Using the position() function, you can specify the number of elements you want to skip both from the beginning or ending of a list of elements. Even a combination of both. The position function returns a number equal to the context...