Mazhar's Blog

Entrepreneur, Product Enthusiast, Tech Expert, Designer, Brander

  • ImageMagick to save million dollars

    08 January 2015

    alt

  • "elseif" or "else if", what to use in PHP

    21 December 2014

    Somedays ago one of my teammate came to me asking what’s the differences between ‘elseif’ and ‘else if’ in PHP. They do the same thing according to his view.

  • How to use JavaScript Promises

    02 December 2014

    Javascript Promises are cool new feature of Javascript. A promise is a result of an asynchronous operation. It can be one of the three states.

  • Get 100% height working in CSS

    30 October 2014

    Couple of days earlier one of my colleagues came to me saying that he cannot make the 100% working for an element.

  • Hombrew libpng and mpfr failed on OSX Yosemite

    21 October 2014

    OSX Yosemit

  • Reset MySQL root Password in OSX

    05 October 2014

    A few days ago I forgot the root password of the MySQL, which is running on my Mac. I wasn’t working with MySQL for at least a month. So what I needed was to reset the password so that I can use the service as I needed it. Here’s how I did it.

  • Install Phalcon on a Mac

    27 September 2014

    If you are thinking of what the Phalcon actually is, Phalcon is a web framework implemented as a C extension offering high performance and lower resource consumption.

  • How to fix no pg_hba.conf entry on PostgreSQL

    18 September 2014

    Couple of days ago I was deploying a Python app on our VPS and an awkward problem occurred. My app uses PostgreSQL. Whenever I was about to run my app, it crashed right away. I looked at the log and found out that there was an error connecting to my database, so I tried to connect to the database from the shell and found out the error as shown below:

  • Using Virtual Environments in Python

    11 September 2014

    If we work with different Python projects professionally then, there are several times when we need to work with multiple version of modules, libraries and even Python itself. Node.js has an advantage on this section as node modules can be installed locally and globally. But Python modules are installed globally.

  • Rails and Sinatra like Node.js Frameworks

    29 August 2014

    Rails and Sinatra, both are frameworks written in Ruby language. They solve issues in different ways. They are might be in Ruby language but, followed by all the frameworks written in different languages including PHP, Node.JS, JAVA.

subscribe via RSS