How To Compile and Install Tora 2.1 with Oracle Support on Ubuntu Jaunty

  1. sudo apt-get build-dep tora
  2. sudo apt-get install libqscintilla2-dev
  3. Download instant client of Oracle Database (all zip files and extract them to one folder)
  4. ./configure –with-instant-client=PATH_TO_YOUR_INSTANT_CLIENT_FOLDER
  5. Follow the instructions – if any – and complete any missing steps
  6. make
  7. sudo make install

If you have any questions, please don’t hesitate to ask here.

Tagged , , , | Leave a comment

Firefox + Adblock Plus + Java Plugin Crash Problem Solution

At last, my firefox setup is perfected: (Source: https://adblockplus.org/forum/viewtopic.php?t=4422)

This issue was SOLVED here,
comment #6 at https://bugzilla.mozilla.org/show_bug.cgi?id=501173#c6.

Change the plugin firefox uses for java, from libjavaplugin_oji.so to libnpjp2.so.
Done.

For a system wide change:

Code: Select all
# rm /usr/lib/firefox/plugins/libjavaplugin_oji.so# ln -s /usr/lib/java/jre/lib/i386/libnpjp2.so /usr/lib/firefox/plugins/
Tagged , , | Leave a comment

Unix Terminal shortcuts

On Unix-like systems, most of us use shell to do much of daily tasks, and we use terminal to issue commands.
These terminals may be from a Unix system such as gnome-terminal, Konsol or througt MS-WINDOWS such as butty or F-Secure.
This article is to enhance your productivity while using termianl by providing you with shourtcuts to access some features, and here’s these shortcuts:

CTRL+c : close the current line and moves you to the start of the prompt.
CTRL+a : moves you to the start of the current line
CTRL+e : moves you to the end of the current line
CTRL+d : delete the character under cursor
CTRL+r : allows you to search history for a command while typing
CTRL+j : the same as pressing the Enter key
CTRL+k : delete text until the end of the line
CTRL+l : equals issuing the ‘clear’ command
CTRL+z : suspend the current job
CTRL+w : removes words from the screen and history as well
CTRL+INSERT : copy the selected text
SHIFT+INSERT : paste the copied
ESC+backspace : remove characters starting from the character under the cursor backword until first space character
ESC+d : remove characters starting from the character under the cursor forward to the first space character
ESC+l : jumps your cursor forward to the first space character
ESC+b : jumps your cursor back to the first space character

please if any knows more, put in the comment.

Tagged | Leave a comment

Secure Copy (scp)

If you want to copy files between two Unix-Like Hosts in the same network, use this amazing command:

scp file_name mhewedy@compu10:~/work/

where :
file_name : is the file to copy
mhewedy@compu10:~/work/ the directory to copy the files to, indicating the machine name and the account.

Tagged , , | Leave a comment

Revert back to ubuntu usplash theme

sudo dpkg-reconfigure usplash-theme-ubuntu

Tagged | Leave a comment