Fix : No sound on Ubuntu (16.04) after a Bluetooth audio device power off.

Problem : After Bluetooth speakers were abruptly switched off, Ubuntu 16.04 on Alienware (17 R2) stopped producing sounds on its analog sound card. Reason : Doubt an inviable configuration was left behind for the sound card. Solution : Open terminal Run – killall pulseaudio; rm -r ~/.config/pulse/* ; rm -r ~/.pulse* Wait for 10 seconds. […]

Continue reading →

Installing Oracle Database XE in Linux

To install Oracle Database XE: 1. Log on to your computer with root permissions. 2. Go to the following Web site: http://www.oracle.com/technetwork/database/express-edition/downloads/index.html 3. Accept License Agreement and download the Linux version of Oracle Database XE. 4. Run the Oracle Database XE executable oracle-xe-11.2.0-1.0.x86_64.rpm to install Oracle Database XE using the command – # rpm -ivh […]

Continue reading →

Using Database Link in Oracle

Suppose data from a table X in database D is to be copied into table Y in the same database, then the problem can be solved easily by executing the query – Assumption – X(C(1),C(2),C(3)….C(N)) == Y(C(1),C(2),C(3)….C(N)) where C(1),C(2),etc. denote the columns of the table. INSERT INTO Y SELECT * FROM X; COMMIT; Problem – […]

Continue reading →

Ant-apt-repo : An ant task to create apt repository from .deb files

This is a simple Ant task (hosted here) to create an apt repository from within an Ant project. It is ported from the maven plugin – theoweiss/apt-repo. This task is usually used with the debian package creation task ant-deb. ¬†Usage <taskdef name=”aptrepo” classname=”com.codemarvels.ant.aptrepotask.AptRepoTask” > <classpath> <fileset dir=”lib/ant/apt-repo” ><!–all jar files in this project is expected […]

Continue reading →