GitBash XMing on Windows

GitBash and XMing are the easiest way to have X11 forwarded from your linux machine to your windows machine. Gone are the days when you install cygwin and related items just so that you can have linux functionalities in the windows machine.


  1. First install GitBash
  2. Then install XMing
  3. open GitBash and make sure that the DISPLAY is setup

How to setup display

To forward X11 you call

ssh -Y username@server

Also you have to call

export DISPLAY=localhost:0.0

You can also set that in the .bashrc file so that everytime you open the gitbash that file is executed and the variable is set

Posted in Uncategorized

Privacy Policy

Privacy Policy
Last updated: 02/08/2017
SuriyaSuneel Inc created this app Remote for Roku with Voice (the
“App”). This page informs you of our policies regarding the collection, use and disclosure of
Personal Information we receive from users of the Site.
I do not collect any personal information while you are using the App. The use of RECORD_AUDIO permission is only to convert your voice into a command for the device it is controlling. No information is transferred to any outsider or any information is stored in the device.

Changes To This Privacy Policy
This Privacy Policy is effective as of 02/08/2017 and will remain in effect except with respect to any
changes in its provisions in the future, which will be in effect immediately after being posted on this
We reserve the right to update or change our Privacy Policy at any time and you should check this
Privacy Policy periodically. Your continued use of the Service after we post any modifications to the
Privacy Policy on this page will constitute your acknowledgment of the modifications and your
consent to abide and be bound by the modified Privacy Policy.
Contact Us
If you have any questions about this Privacy Policy, please contact us at

Posted in Uncategorized

php 5.6 on ubuntu

PHP 5.6 on Ubuntu 14

To install PHP 5.6 or to upgrade from PHP 5.5 on Ubuntu 14:

  1. Enter the following commands in the order shown:
    apt-get -y update
    add-apt-repository ppa:ondrej/php
    apt-get -y install php5.6 php5.6-mcrypt php5.6-mbstring php5.6-curl php5.6-cli php5.6-mysql php5.6-gd php5.6-intl php5.6-xsl php5.6-zip
    apt-get -y update
  2. Enter the following command to verify PHP 5.6 installed properly:
    php -v

    Following is a sample response that indicates PHP 5.6 is installed:

    PHP (cli)
    Copyright (c) 1997-2016 The PHP Group
    Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies

    The preceding message confirms that the Zend OPcache is installed. We strongly recommend using the OPcache for performance reasons. If your PHP distribution does not come with the OPcache, see the PHP OPcache documentation.

Posted in Uncategorized

Breaker Config

My Breaker Config



Switch Rooms Affected
7 Prayer Room, Hall,Suneels Bedroom,Suriya’s room,Master Bedroom
10 Main Dining Room
19 Water Softener, tool room, Server


Posted in Uncategorized

Reset mysql root password if forgotten

How can I reset my MySQL password?

IconsPage/warning.png Following this procedure, you will disable access control on the MySQL server. All connexions will have a root access. It is a good thing to unplug your server from the network or at least disable remote access.

To reset your mysqld password just follow these instructions :

  • Stop the mysql demon process using this command :
    •    sudo /etc/init.d/mysql stop

  • Start the mysqld demon process using the –skip-grant-tables option with this command
    •    sudo /usr/sbin/mysqld --skip-grant-tables --skip-networking &

Because you are not checking user privs at this point, it’s safest to disable networking. In Dapper, /usr/bin/mysqld… did not work. However, mysqld --skip-grant-tables did.

  • start the mysql client process using this command
    •    mysql -u root

  • from the mysql prompt execute this command to be able to change any password

  • Then reset/update your password
    •    SET PASSWORD FOR root@'localhost' = PASSWORD('password');

  • If you have a mysql root account that can connect from everywhere, you should also do:
    •    UPDATE mysql.user SET Password=PASSWORD('newpwd') WHERE User='root';

  • Alternate Method:
    •    USE mysql
         UPDATE user SET Password = PASSWORD('newpwd')
         WHERE Host = 'localhost' AND User = 'root';

  • And if you have a root account that can access from everywhere:
    •    USE mysql
         UPDATE user SET Password = PASSWORD('newpwd')
         WHERE Host = '%' AND User = 'root';

For either method, once have received a message indicating a successful query (one or more rows affected), flush privileges:


Then stop the mysqld process and relaunch it with the classical way:

sudo /etc/init.d/mysql stop
sudo /etc/init.d/mysql start
Posted in mysql

Remove a google account from Samsung

I added a google account to my Galaxy Note 4. There was this main gmail account and then a secondary account that i use for my kids for them to watch youtube. I added this to my phone and the nightmare started. Once my trial is finished i wanted to remove it from my phone. The proper way is to go to Settings->General->Accounts and then select Google and it should show the list of Google accounts that are linked to the phone and i can select the one that i want to remove.

Once i click Google, the Settings will crash. After some research I found that all you have to do is open Gallery and then from the Menu you can go to the accounts associated and from there you can remove that account

Posted in Uncategorized

lg e 970 apn

From Setting Select the network tab


Select the Tethering & Network

Now select the mobile networks

Now Select Access Point names

Once you get that blank screen, click the menu button on the right, right next to the home button, and select “New APN”

Select each item and enter the data as given by your service provider

Once it is all done, now hit the menu button again and hit save.

Posted in Uncategorized

Nexus 9 Fastboot

I had a need to reinstall the image in my Nexus 9 tablet. the recommended way was to go through the fastboot. Download the images from the google website. Then get the tablet to the fastboot and then install the software.

Make sure that you have adb and other tools installed in your computer. With the debugging enabled the

$adb devices

should give you as below

List of devices attached
HT4AJJT03366 device

should list your devices, if it is says unauthorized then you need to accept the dialog box “Allow debugging” in the tablet, that you authorize the computer to access the tablet.

Now issue the command

adb reboot recovery

This will take you the HBOOT or fastboot screen.

Posted in Uncategorized

Debian Start network

Start network after reboot

Based on my configuration, after booting the linux machine it doesn’t automatically start the network manager and establish internet connection.

I used to do

/etc/init.d/network restart

the above command doesn’t do anything

my /etc/network/interfaces file looks like this

auto lo
iface lo inet loopback
iface eth0 inet dhcp
iface eth1 inet dhcp

So to start the network all i have to do is

ifup eth1

The above command will start eth1 interface

Posted in Uncategorized

Note 4 unlock screen

Type in this code in the dialpad


Then it will ask for the code that you purchased from somebody else.

Posted in Uncategorized