Mobil Mewah

Salah satu sumber Inspirasi.

Tuesday, 26 September 2017

Installing Multiple Erlang version in one systems

In python you can have multiple python version installed in your systems using virtualenv. I like to do this with Erlang, as need to test my code on several erlang versions. Its not effective if you install and reinstall the version you need if you want to test out. And in Erlang of course there is such package to manage multiple instance of Erlang. This is used for developer of course. Come the rescue Kerl , an erlang application that make it  "Easy building and installing of Erlang/OTP instances" . So with no further do, i installed in my debain dev machine. Here are my steps by steps to make use of kerl. You can also see the documentation...

Sunday, 24 September 2017

installing python-ldap support

When installing python-ldap package, we need to prepare the libs required by python-ldap. Some of it are : linux build packageinstall using apt-get install build-essential libldap2Install using apt-get install libldap2-dev libsasl2Install using apt-get install libsasl2-dev After complete with the prerequisite, python-ldap will be happily installed. To install in python run : # pip install python-ldap I am using simpleldap package so install simpleldap will also installing python-ldap. # pip install simpleldap To test the python-ldap package do this : import ldap conn = ldap.initialize('ldap://192.168.100.100') ...

Installing package in python the easy way

Every programming languange or scripting langguange or any computer language has its own tools to make the job easier and done faster. Come with python is their installation systems. For installing package in python, there are several ways to do it. You can download the source, unzip and run python setup.py install , or using a package installer which will download the package you specify and also download its dependency. I choose to use pip package installer. It is lot easier and faster with pip. If you use python > 2.7.9 pip already included in python installation. If not come along for installing pip. First get the get-pip.py file from...

Monday, 18 September 2017

Windows server evaluation auto shutdown

Microsoft provide a evaluation version of their Windows servers for 90 days. After the trial period expires, it cannot renewed even you  have a genuine licence, or downgrade or upgraded to another edition. So what will happend to the server you install? Well, it still works but it will automagicly shutdown. This is by design for microsoft evaluation version of windows. You will need to reinstall it and move your data to the new server. This...

Tuesday, 12 September 2017

Javascript promise error handling

On web application, the standard will have javascript code. Especially with ajax call method and event driven application design. One of my experience just now was with using promise in javascript. It not catch the error status code returned from the server backend, but in debug mode in the browser status returned was 401 or unauthorized. I using Marionette JS as my development framework and my backend using Chicagoboss. So the story was that...

Page 1 of 2512345Next
Twitter Delicious Facebook Digg Stumbleupon Favorites More