Installing ADB on MAC OS X

Step 1 download: Download Android SDK from the link below: https://developer.android.com/sdk/index.html Step 2 extract: You can extract it anywhere, but the best place is in the YOUR USERNAME folder root. Step 3 path environment settings: Then you need to set the path...

Oracle Delete all Objects in a schema

DECLARE BEGIN FOR eachObject IN ( SELECT ‚DROP ‚ || object_type || ‚ ‚ || object_name || DECODE ( object_type, ‚TABLE‘, ‚ CASCADE CONSTRAINTS PURGE‘ ) AS statement_sql FROM user_objects WHERE object_type IN (...

Using hd-idle to spin down your hdd

Compiling from source: cd wget http://sourceforge.net/projects/hd-idle/files/latest/download tar xvfz download sudo apt-get install debhelper cd ~/hd-idle dpkg-buildpackage -rfakeroot  Installing: cd .. sudo dpkg -i hd-idle_*.deb sudo service hd-idle start/stop sudo...

Compiling TrueCrypt from Source

This example is for ubuntu installations, but it can be also adapted for other distributions. Install build tools: sudo apt-get install build-essential libfuse-dev libgtk2.0-dev libwxgtk2  Download Source Code and unzip: cd wget...

Oracle Database Export and Import compressed

Export #!/bin/bash $username=<username> $password=<password> $exportfile=<importfile> $exportlog=<importlog> $DBNAME=<dbname> mknod pipe p cat pipe |gzip -c >$exportfile & exp $username/$password@$DBNAME file=pipe DIRECT=Y...

Install NX Server on Ubuntu

1. Open an terminal and enter: on ubuntu 12.04: sudo add-apt-repository ppa:freenx-team/ppa on ubuntu 14.04: sudo add-apt-repository ppa:freenx-team/trusty sudo apt-get update sudo apt-get install freenx-server sudo dpkg-reconfigure freenx-server Troubleshooting on...

Installing XRDP on Ubuntu Server for RDP connection

1. Install the Ubuntu Desktop environment and a RDP Server: sudo apt-get install ubuntu-desktop xrdp   2. Create a new user and add grant sudo rights: sudo adduser USERNAME sudo adduser USERNAME sudo   3. Set users xsession configuration: sudo su USERNAME...
de_DEDeutsch