Friday, April 21, 2017

Multi Tab Cygwin using ConsoleZ

I have been developing  a lot of bash scripts lately. I usually test on my desktop computer using cygwin then I transfer the script to the intended server. I really love cygwin as it allows me to test unix scripts on a windows environment, but one thing that annoys me is that overtime I have many cygwin windows open and it clutters my desktop.

Then one time while I was using MPutty to ssh to my test servers, it occurs to me if there is a tool similar to MPutty that will allow me to open multiple cygwin on a tabbed window. After some searching I found this app Consolez. Consolez allows you to open multiple cmd(command) windows and for my case multiple cygwin windows in tabbed window. You can also customize several properties like background & foreground colors. For me, what I appreciate about consolez is that it’s portable (meaning no installation required, just unzip the file and click on the application).

Here is how to setup cygwin within consolez:
*    I assume that cygwin is already installed.

1.    Download consolez
2.    Extract the zip file and place it on your preferred directory.
3.    Open the consolez application (console.exe)

4.    Click on edit-> settings

5.    On ConsoleZ Settings window  :
a. Click on Tabs
b. Click on Add
c. Change Title to Cygwin
d. On shell select the Cygwin.bat on Cygwin installation directory.
e. Click Ok.

To open a cygwin instance :
a. Click on File -> New Tab -> Cygwin

Saturday, March 25, 2017

Our "Big" Little Store Machang

I never failed to dine in to this hidden gem in Gilmore, every I go there to buy some PC parts. I always order their machang. Their kikiam, siu mai, and soy chicken are also good to pair to Machang.

Tuesday, March 14, 2017

Codeigniter 3 mod_rewrite not working on rasbian (jessie)

For some reason the mod_rewrite on apache2 running on my raspberry pi is not working. Using the 'complete url' works


but if I use


gives a 404 error

I have already setup the following on the config.php

$config['base_url']= 'http://rpi01/';
$config['index_page'] = "";
$config['uri_protocol'] = 'REQUEST_URI';

$route['default_controller'] = 'controller';

My .htaccess file is also setup as usual (working on my xampp dev setup)

Turns out the issue is on apache2 configuration. I have to edit the apache2.conf file specifically this block

<Directory /var/www/>
        Options Indexes FollowSymLinks
        AllowOverride None
        Require all granted

and change it to

<Directory /var/www/>
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted

After editing save the file and restart apache2 service.

Oracle Cluster CRSD ASM hangs on using virtualbox

This particular problem took me a week to solve. At first I thought it was privilege problem but I am following my notes which works before.

This issue comes up when I use the version 5 of virtualbox. I did not have this issue with version 4. Turns out the solution is to set the paravirtualization interface to none.

Sunday, December 18, 2016

Transcend Drivepro 200

I have bought this Transcend Drivepro 200 Dashboard camera for my car last week. I do trust transcend products both my portable music players were transcend. So when I was looking for an available dashcam on my favorite stores and saw transcend I immediately bought it.

What I love about it is the simple interface. The video captures are very clear both on daytime and nighttime. I did download the android app but it is always hangs on my Asus Zenphone 2 laser so I just decided to uninstall it.

Below is some sample pictures and videos:



Sunday, November 27, 2016

Playing with Hortonworks HDP

I am currently trying out Hortonworks HDP. I am more familiar with Cloudera, but since there will be an upcoming hortonworks project in my work, I thought I give Hortonworks a try. Turns out it is not much different from Cloudera at least with regards to setup and configuration. Ambari really works almost similar to cloudera manager.

I am still in the process of evaluating it, will post my steps once I ironed out some of the issues that I have encountered.

Multi Tab Cygwin using ConsoleZ

I have been developing  a lot of bash scripts lately. I usually test on my desktop computer using cygwin then I transfer the script to the i...