Mazhar's Blog

Entrepreneur, Product Enthusiast, Tech Expert, Designer, Brander

  • Join Seedr

    12 May 2023

    Seedr.cc is a cloud-based service that allows users to download and stream torrent files. It provides a convenient and secure way to access torrent content without the need for a traditional torrent client on your device. Here are some key points about Seedr.cc:

  • Use Gearman Job Server in PHP

    28 March 2019

    Gearman is a Job Server which has many language interfaces. If you are familiar with Python Celery then you will understand at a glance. Unlike Celery, Gearman is a task runner. The only difference is in Gearman, you have to program your worker too. I love Gearman because not only tasks but also the worker can be written with any suitable language. Also the core of Gearman is built with C/C++, that’s why it is very very fast. Say, you are working with PHP and you need a background task runner, go for Gearman. Don’t worry, many big companies are using it like Craig’s List, Tumblr, Yelp, Etsy etc.

  • Generate REST API from DB Schema in Crystal

    23 February 2019

    I had a MySQL schema from a booking.com like platform. I wanted to generate REST API very fast from my MySQL database tables. Like I have a table named hotels. I want to generate following endpoints:

  • Your First Web Application with Spock

    11 January 2019

    The Spock web framework for Haskell gives you a light but complete foundation to build web servers on, be it for traditional server-side rendered applications, or APIs for single-page applications. Compared to the Scotty framework, Spock is slightly richer in its feature set, and is more opinionated regarding the application architecture. In this episode we explore the basics of Spock and in-memory server state, as we build a note keeper application.

  • How to call a C function in Golang

    26 December 2018

    I’m writting this article after a very long time. This happens due to the work pressure in my daily life. There is not enough free time to write any article, even customize my own sites / portfolios.

  • Welcome to Jekyll!

    09 February 2017

    You’ll find this post in your _posts directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run jekyll serve, which launches a web server and auto-regenerates your site when a file is updated.

  • Reset MySQL Root Password on Ubuntu

    28 February 2016

    First please ensure that you really forgot the root password.

    mysql -u root -p
  • How to setup a Cron job in Ubuntu

    18 February 2016

    Most of my friends ask me how to setup a cron job in Ubuntu. They often face this situation when they have to setup a cron job for their application. I myself also work with the cron job feature according to my application’s demand. Here is how to setup a cron job in Ubuntu in less than a minute.

  • Change the Bootstrap NavBar Breakpoint

    29 October 2015

  • How to Install JAVA 8 on CentOS, RHEL and Fedora

    09 August 2015

    Recently I was instructed to install Java 8 on our servers. There are plenty of reasons for doing that. Here’s how I have done that. Of-course you will need root access to your server. If your are using a shared hosting, then it will be wise to leave this thing to your hosting authority.

subscribe via RSS