Mazhar's Blog

Entrepreneur, Product Enthusiast, Tech Expert, Designer, Brander

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

  • How to run a Basic HTTP server

    22 August 2014

    There are always situations for which we need to create a Basic HTTP server on our current directory. If we have Apache like web server installed on our system then we can use that by copying our content to a directory in the root of our web directory. We can upload our script to a server and access remotely too.

  • forEach using generators in Node.js

    06 August 2014

    There are many reasons why we wanna run forEach using a generator. Let’s imagine of a situation. We are using the Koa framework for our application. We connected to the MongoDB using the Mongoose module.

  • Limbo Framework

    06 August 2014

    A lightning fast Node.js framework for next generation web apps.

  • Deploy apps in Apache and Node.js together

    24 July 2014

    There are couple of reasons you might wanna try Apache and Node.js together. Suppose you have an application running in Apache. You have a WordPress blog on that server too. Now you got the opportunity to rewrite the application in Node.js. You will not find anything compared to WordPress in Node.js still now.

  • Solve Callback Hell in Node.js

    15 July 2014

    Hello there, how’s going! I posted an article one week before. I showed how to deal with complex queries in MongoDB and Node.js. At the last of the article we saw that there are so many nested anonymous functions are making our code hardly understandable. We knew that it’s called Callback Hell.

subscribe via RSS