TAB complete for python

TAB complete is default for ipython, you can install for python as well. 1) install pyreadline download from https://pypi.python.org/pypi/pyreadline/2.0 2) write small module to load pyrl.py import rlcompleter, readline readline.parse_and_bind(‘tab: complete’) 3) import pyrl after launch python shell >>> import pyrl >>> import os >>> os.lis

Install Jython on openSUSE

1) download jython installer jar from http://www.jython.org/ 2) install jython in /usr/local in console mode without GUI /usr/local # java -jar jython-installer-2.5.3.jar –console Welcome to Jython ! You are about to install Jython version 2.5.3 (at any time, answer c to cancel the installation) For the installation process, the following …

Install jdk 7 on Solaris x86 64bits

1) download jdk download *.tar.gz from Oracle Java site, this version can be unpacked at local location, don’t need to uninstall current default jdk on system. jdk-7u-linux-i586.tar.gz JDK 7 jdk-7u-linux-x64.tar.gz JRE 7 64 bits 2) unzip jdk cd /usr/jdk/ gunzip *.tar.gz|tar xvf – /usr/jdk/jdk-1.7.0_21 // new jdk 7 3) remove …

Install jdk 7 on openSUSE

1) download jdk 7 rpm from http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html dreamcloud-opensuse:/home/oldhorse/Downloads # cd /root/Downloads/ dreamcloud-opensuse:~/Downloads # ls .directory jdk-7u21-linux-x64.rpm 2) install jdk rpm using zypper dreamcloud-opensuse:~/Downloads # zypper in jdk-7u21-linux-x64.rpm -y Loading repository data… Reading installed packages… ‘-y’ not found in package names. Trying capabilities. No provider of ‘y’ found. Resolving package dependencies… …

bash profile setup for openSUSE and Solaris 11

The global setting change can be added to /etc/profile, this will be refreshed on next user login; or /etc/bash.bashrc(openSUSE) or /etc/bash/bashrc, this will be refreshed on next bash shell started. I prefer use bash profile. openSUSE setup add change at end of /etc/bash.bashrc Solaris 11 x86 add change at end …

Android 4.2 SDK setup

Simple steps: 1) install Java JDK downloaded and installed JDK 7u13 64Bit 2) install Eclipse Classic 4.2.1 64Bit http://www.eclipse.org/downloads 3) Android SDK Tools available from http://developer.android.com/sdk/index.html unzip to C:/sdk 4) Proxy setup for next ADT install Android SDK Manager/Tools/Options Proxy Settings: HTTP Proxy Server: proxy HTTP Proxy Port: 8080 5) …

ant 1.8.4 installation on window 7

Few tips for ant installation on win7. 1) download ant binary from http://www.apache.org/dist/ant/binaries/ unzip binary to local apache-ant-1.8.4 folder. 2) setup ant run env ANT_HOME: C:\apache-ant-1.8.4 add to PATH: %ANT_HOME%/bin open new terminal, verify ant version: cd %ANT_HOME% ant -version Apache Ant(TM) version 1.8.4 compiled on May 22 2012 3) …