Sunday 11 October 2015

reset network stack



ipconfig /flushdns
nbtstat -R
nbtstat -RR
netsh int reset all
netsh int ipv4 reset
netsh int ipv6 reset
netsh winsock reset





Credits:
http://www.hanselman.com/blog/TheNuclearOptionResettingTheCrapOutOfYourNetworkAdaptersInVista.aspx

https://support.microsoft.com/en-us/kb/299357

Saturday 14 June 2014

Windows 8 and Note 2 MTP




not sure what fucked up my windows 8 but it doesnt auto load my device driver thus
following works, just wait a bit and device driver will be installed.

http://www.danrichard.com/2013/06/14/fix-for-samsung-galaxy-note-ii-that-wont-connect-to-pc-via-usb-with-unknown-device-error/

Sunday 18 May 2014

install mysql on ubuntu

NOTE: Info below serve as documentation purpose. It is by no means my work and i do not take credit for the work. Refer link for full details


First, remove the current version of MySQL you're already using:
$ sudo apt-get purge mysql-client-core-5.5
Now, to install MySQL, run the following command from a terminal prompt:
$ sudo apt-get install mysql-server
$ sudo apt-get install mysql-client
During the installation process you will be prompted to enter a password for the MySQL root user.
Once the installation is complete, the MySQL server should be started automatically. You can run the following command from a terminal prompt to check whether the MySQL server is running:
$sudo netstat -tap | grep mysql
When you run this command, you should see the following line or something similar:
tcp        0      0 localhost.localdomain:mysql           *:* LISTEN -
If the server is not running correctly, you can type the following command to start it:
$ sudo /etc/init.d/mysql restart
You can edit the /etc/mysql/my.cnf file to configure the basic settings: log file, port number, etc.


Link:
http://askubuntu.com/questions/174138/how-to-install-mysql

Thursday 24 April 2014

Setting Ubuntu Hyper V

After searching high and low, finally found these resources on how to fix the vm resolution.

edit mods
sudo vi /etc/initramfs-tools/modules
add
hv_vmbus
hv_storvsc
hv_blkvsc
hv_netvsc

update initramfs
sudo update-initramfs –u

edit grub
sudo vi /etc/default/grub

edit line
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=hyperv_fb:1366x768"
[update] REDHAT:
grubby --update-kernel=ALL --args="video=hyperv_fb:1920x1080"

update grub
sudo update-grub


reboot
sudo shutdown -r now


Link:
http://askubuntu.com/questions/384602/ubuntu-hyper-v-guest-display-resolution
http://baudlabs.com/how-to-install-hyper-v-integration-services-in-ubuntu-12-04-lts/
http://nzbart.blogspot.se/2013/12/running-ubuntu-full-screen-under-hyper.html

Monday 31 March 2014

Prerequisite steps when upgrading Windows 8 to Windows 8.1

IF you own an Acer laptop, this is a MUST before you're happily clicking download and install. Well, i'm holding onto the thought of upgrading to 8.1.

Reference:
Update to Windows 8.1 Flow (ACER)


Friday 31 May 2013

Android plugin for Eclipse

My first android setup is not easy, as i'm a noob

1) downloaded adt-bundle-windows-x86_64-20130219
2) after installing/updates eclipse to the latest plugins, i received error for adt version not match

after searching a while on google, found my help below


Sunday 26 May 2013

guidelines


10 Amazing Lessons from Albert Einstein:
Follow Your Curiosity

“I have no special talent. I am only passionately curious.”

What piques your curiosity? I am curious as to what causes one person to succeed while another person fails; this is why I’ve spent years studying success. What are you most curious about? The pursuit of your curiosity is the secret to your success.

Perseverance is Priceless

“It's not that I'm so smart; it's just that I stay with problems longer.”

Through perseverance the turtle reached the ark. Are you willing to persevere until you get to your intended destination? They say the entire value of the postage stamp consist in its ability to stick to something until it gets there. Be like the postage stamp; finish the race that you’ve started!

Focus on the Present

“Any man who can drive safely while kissing a pretty girl is simply not giving the kiss the attention it deserves.”

My father always says you cannot ride two horses at the same time. I like to say, you can do anything, but not everything. Learn to be present where you are; give your all to whatever you’re currently doing.

Focused energy is power, and it’s the difference between success and failure.

The Imagination is Powerful

“Imagination is everything. It is the preview of life's coming attractions. Imagination is more important than knowledge.”

Are you using your imagination daily? Einstein said the imagination is more important than knowledge! Your imagination pre-plays your future. Einstein went on to say, “The true sign of intelligence is not knowledge, but imagination.” Are you exercising your “imagination muscles” daily, don’t let something as powerful as your imagination lie dormant.

Make Mistakes

“A person who never made a mistake never tried anything new.”

Never be afraid of making a mistake. A mistake is not a failure. Mistakes can make you better, smarter and faster, if you utilize them properly. Discover the power of making mistakes. I’ve said this before, and I’ll say it again, if you want to succeed, triple the amount of mistakes that you make.

Live in the Moment

“I never think of the future - it comes soon enough.”

The only way to properly address your future is to be as present as possible “in the present.”

You cannot “presently” change yesterday or tomorrow, so it’s of supreme importance that you dedicate all of your efforts to “right now.” It’s the only time that matters, it’s the only time there is.

Create Value

“Strive not to be a success, but rather to be of value."

Don’t waste your time trying to be successful, spend your time creating value. If you’re valuable, then you will attract success.

Discover the talents and gifts that you possess, learn how to offer those talents and gifts in a way that most benefits others.

Labor to be valuable and success will chase you down.

Don’t Expect Different Results

“Insanity: doing the same thing over and over again and expecting different results.”

You can’t keep doing the same thing everyday and expect different results. In other words, you can’t keep doing the same workout routine and expect to look differently. In order for your life to change, you must change, to the degree that you change your actions and your thinking is to the degree that your life will change.

Knowledge Comes From Experience

“Information is not knowledge. The only source of knowledge is experience.”

Knowledge comes from experience. You can discuss a task, but discussion will only give you a philosophical understanding of it; you must experience the task first hand to “know it.” What’s the lesson? Get experience! Don’t spend your time hiding behind speculative information, go out there and do it, and you will have gained priceless knowledge.

Learn the Rules and Then Play Better

“You have to learn the rules of the game. And then you have to play better than anyone else.”

To put it all in simple terms, there are two things that you must do. The first thing you must do is to learn the rules of the game that you’re playing. It doesn’t sound exciting, but it’s vital. Secondly, you must commit to play the game better than anyone else. If you can do these two things, success will be yours