Open your Firefox and type about:config in the URL address bar and hit enter. In the Filter box type the following text (eg "network.http.pipelining") and change the value from "False" to "True".. Follow the same step for all the lines given below..
- network.http.pipelining > Make it True
- network.http.pipelining.maxrequests > Make it 8 or 10
- network.http.proxy.pipelining > Make it True
- network.dns.disableIPv6 > Make it True
Your FF will connect to the Internet for sure :)
Sunday, July 3, 2011
Nexus device not listed (Android Development) - Linux Ubuntu
I got the following message when I run "adb devices"
List of devices attached
???????????? no permissions
To fix this problem I followed the below steps,
1. Logged in as root User
2. vim /etc/udev/rules.d/51-android.rules and added the following lines
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666"
3. /etc/init.d/udev restart
You may also need to restart the adb daemon: [as a *ROOT* user]
./adb kill-server
./adb start-server
./adb devices
This should fix the problem :)
List of devices attached
???????????? no permissions
To fix this problem I followed the below steps,
1. Logged in as root User
2. vim /etc/udev/rules.d/51-android.rules and added the following lines
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666"
3. /etc/init.d/udev restart
You may also need to restart the adb daemon: [as a *ROOT* user]
./adb kill-server
./adb start-server
./adb devices
This should fix the problem :)
Thursday, June 30, 2011
How to install Java JDK in Ubuntu - Linux
You can install java JDK with JRE using apt-get command
sudo apt-get install openjdk-6-jdk openjdk-6-jre
Use the following command to set JAVA_HOME
export JAVA_HOME="/usr/lib/jvm/java-6-sun-1.6.0.06"
Also use the following line in your .bashrc file
export PATH=$PATH:$JAVA_HOME/bin
sudo apt-get install openjdk-6-jdk openjdk-6-jre
Use the following command to set JAVA_HOME
export JAVA_HOME="/usr/lib/jvm/java-6-sun-1.6.0.06"
Also use the following line in your .bashrc file
export PATH=$PATH:$JAVA_HOME/bin
Sunday, June 26, 2011
Linux - Ubuntu: Source code of Google Chrome extension
How to read the source code of Google Chrome extensions?
Get the extension ID:
There are two ways to get the extension ID.. If the extension is installed in your computer, then you can get the id from the Extensions menu. Click on the wrench icon and select Extensions. In the Extensions page, each extension will be listed with some details like its name, description, version and most importantly an id. The id is a strange looking string with around 32 characters. For eg isrdeffdsrsefrsehrsskietqrcfdiok
If you have not installed the extension, you can get the extension id by going to the extension’s page in the official Chrome extensions page . The extension id corresponds to the xxxx in the sample url – https://chrome.google.com/extensions/detail/xxxx.
In Ubuntu, for an extension with id say xxxx, the source code is located at ~/.config/google-chrome/Default/Extensions/xxxx . In this case Default is the name of my profile. If you have a different profile, substitute it. This is the root folder and it has child folder with the name of the version. Once you go in, you can see the extension code..
Get the extension ID:
There are two ways to get the extension ID.. If the extension is installed in your computer, then you can get the id from the Extensions menu. Click on the wrench icon and select Extensions. In the Extensions page, each extension will be listed with some details like its name, description, version and most importantly an id. The id is a strange looking string with around 32 characters. For eg isrdeffdsrsefrsehrsskietqrcfdiok
If you have not installed the extension, you can get the extension id by going to the extension’s page in the official Chrome extensions page . The extension id corresponds to the xxxx in the sample url – https://chrome.google.com/extensions/detail/xxxx.
In Ubuntu, for an extension with id say xxxx, the source code is located at ~/.config/google-chrome/Default/Extensions/xxxx . In this case Default is the name of my profile. If you have a different profile, substitute it. This is the root folder and it has child folder with the name of the version. Once you go in, you can see the extension code..
Linux - Ubutu: Tamil fonts rendering in Google Chrome
If you've trouble reading the tamil fonts in your Google browser follow the below steps,
Remove FreeSans.ttf and FreeSerif.ttf from /usr/share/fonts/truetype/freefont directory. Your problem will be resolved for sure :)
Remove FreeSans.ttf and FreeSerif.ttf from /usr/share/fonts/truetype/freefont directory. Your problem will be resolved for sure :)
Linux - Ubuntu Root password
I've just installed Linux Ubuntu. I didn't set any root password.. What is the default root password? I can only login as a normal user. How do I login as root user (superuser)?
It's quite simple..
In command prompt type "sudo -s" and provide your password.. You'll become the root user :)
It's quite simple..
In command prompt type "sudo -s" and provide your password.. You'll become the root user :)
Subscribe to:
Posts (Atom)