How to enable and disable root user in Ubuntu 14.04 LTS

If you ever need to enable the root user in Ubuntu 14.04 LTS linux installation, you can do so as follows: Open a terminal window and type the following commands: $ sudo su -c <enter> # passwd root <enter>

Enter a strong password and restart the computer.

To make sure that you can login as . . . → Read More: How to enable and disable root user in Ubuntu 14.04 LTS

How to obtain WLAN traffic statistics using Gkrellm

How to obtain WLAN traffic statistics using Gkrellm

Gkrellm is a powerful system monitor utility on Linux systems. If you need to obtain CPU temperatures, disk I/O, network traffic incoming and outgoing statistics (daily, weekly or monthly), then this is the right choice.

To gather a sizeable amount of WLAN traffic count, you need to . . . → Read More: How to obtain WLAN traffic statistics using Gkrellm

Where to place a text file for use with a Java project in Eclipse

I placed a text file myapp.txt in the folder ~/workspace/PayrollApp/src/org/username/payrollapp. However, it was not opening in the Java program.

To make it work correctly, I had to do use the following path in the Java program when opening the file: src/org/username/payrollapp/pay.txt

Code as follows:

try { FileReader fr = new FileReader(“src/org/username/payrollapp/pay.txt”); BufferedReader br = new . . . → Read More: Where to place a text file for use with a Java project in Eclipse

Where to place SQLite 3 database for use in a Java Project in Eclipse

My Eclipse Java project path is as follows: ~/workspace/PayrollApp/src/org/username/payrollapp/payroll.db

I had placed the SQLite database file payroll.db in the above path, and found it was not getting used when I ran the Java program.

Upon inspecting the contents of ~/workspace/PayrollApp, I found that payroll.db was there with 0 bytes. That implied that the file needs . . . → Read More: Where to place SQLite 3 database for use in a Java Project in Eclipse

How to install a Ubuntu package file using gdebi with dependencies

If you download a Debian package file, .deb file from the internet, you can install it with any dependencies using gdebi. dpkg will not install the dependencies.

If you do not have gdebi installed on your computer, see Step 1. 1. Install gdebi in Linux $ sudo apt-get install gdebi-core <enter> This installs the gdebi . . . → Read More: How to install a Ubuntu package file using gdebi with dependencies

How to view XPS file created on Microsoft Windows in Linux

Method 1: The okular application in KDE allows you to open and view XPS files created on Microsoft Windows. You can then print the file from okular.

Method 2: However, if you want another method, where you do not have to install KDE and it’s several libraries, you can follow the steps below: $ sudo . . . → Read More: How to view XPS file created on Microsoft Windows in Linux

How to install Cyanogen Mod 11 on Samsung Galaxy Note 1 (GT-N7000)

Samsung Galaxy Note 7000, the first Samsung Note, came pre-installed with Android Gingerbread firmware. It was later upgraded by Samsung to Android Ice Cream Sandwich. After that, there has been no upgrades released to it, including security fixes.

Current statistics show that although there is a need for OEMs like Samsung to update the firmware . . . → Read More: How to install Cyanogen Mod 11 on Samsung Galaxy Note 1 (GT-N7000)

How to disable cell broadcasts on Cyanogen Mod 11 on Note 1 (GT-N7000)

If you installed Cyanogen Mod 11 on a Samsung Galaxy Note 1 (GT-N7000) phone, you would find that your cell phone keeps serving messages. These messages are Cell Broadcasts. In my location, these messages were more than 6 a minute and appeared each time the cell phone tower location waves changed. It becomes too difficult . . . → Read More: How to disable cell broadcasts on Cyanogen Mod 11 on Note 1 (GT-N7000)

Workaround to the Android Web Browser Vulnerability on old devices

If you are one of those who has an older Android device, you are vulnerable to the Android Web Browser vulnerability, whose patch may have not been released by your handset manufacturer. There is still hope for you to keep yourself safe and secure by any of the following methods:

Disable the internal default web . . . → Read More: Workaround to the Android Web Browser Vulnerability on old devices

Telepathwords by Microsoft to help predict the next password character as it is typed

This is an interesting project by Microsoft Research. It lets you know what will be the next character you will type when entering your password. Try it out at this link https://telepathwords.research.microsoft.com/.

The more the next character aligns with the telepathwords generated character, the easier it is for the next character to be predicted and . . . → Read More: Telepathwords by Microsoft to help predict the next password character as it is typed

TOPICS