Mazhar's Blog

Entrepreneur, Product Enthusiast, Tech Expert, Designer, Brander

  • 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.

  • Mastering UFW on Ubuntu

    16 May 2015

    A month before, I have purchased a node in Digital Ocean. I have to admit it, they are a very good cloud solution provider. From a tiny startup to a large corporate, they have any type of solution. I have chosen Ubuntu 14.4 to go with the Digital Ocean droplet. Why I chose Ubuntu! Because of the vast amount of packages available for it via Aptitude.

  • How I wrote 66K lines of JavaScript in 10 days

    28 March 2015

    alt

  • English dictionary text file

    25 March 2015

    Couple of days before, I was making a search engine for my two projects. One project was using Elasticsearch and another one was using Apache Solr. For them both I needed a file containing all the words from an English dictionary.

subscribe via RSS