Archive

Archive for June, 2012

Favourite Linux and Unix Bash Aliases

June 29th, 2012 Comments off

I first got involved with commercial UNIX in the early 1990s. It was fascinating experience on Sun Microsystems SunOS 4.1.3, if memory serves. Even before that professional development, I learnt a lot about UNIX and C at university in my fourth year of the degree course. Yet it was my first work experience at a small start up in joint-venture start-up in Southern Germany that got me hooked into UNIX and its open philosophy. It was there at the JV, I learnt about GNU Emacs, the Free Software Foundation, and spent endless hours programming in C, and building, compiling and installing the GNU Compiler myself, GCC and G++. Fun times were had with OSF Motif and X Windows Toolkit development, which I suppose were one of the long ancestors of modern JavaFX graphical user interface engineering. In those heady days of native C programming, little did I know at the time that somebody was writing a byte-code virtual machine with a garbage collector, and another group of clever people were developing a portable, network-enabled, multiple thread enabled, and security conscience programming language close to the C language. I do so ever digress.

I developed the following bundle of Bash Aliases over a couple of decades now. They came from other developers, administrators and tips from popular UNIX / C books and the Internet. Some of these were inspired by situations that I faced on various systems.

Here is a smaller subsection of bash login script:

set -o emacs
# Do not exit on EOF. To exit the shell type `exit'
set -o ignoreeof
# Do not allow output redirection (>) to overwrite an existing file
set -o noclobber
# set the core limit
ulimit -c 10240

set history=100
set savehist=50

## export LDFLAGS='-lpthread'
## Slackware: export LS_OPTIONS='--8bit --color=tty -F -b -T 0'
## export LS_OPTIONS='--color=tty -F -b --author'
export LS_OPTIONS='--color=tty -F'


# Aliases
alias ls="/bin/ls $LS_OPTIONS"
alias ll='ls -l'
alias lsd='ls -ld'
alias la='ls -a'
alias lf='ls -F'
alias lr='ls -alFRt'
alias lx='ls -xF'
alias llar='ls -laFR'
alias lt='ls -lartF'
alias lrt='ls -lrt'

alias home='cd ${HOME}'
alias up='cd ..'
alias pe='printenv'
alias senv='env | sort'
alias pu='pushd'
alias po='popd'
alias pud='pushd .'
alias rot='pushd +1'
alias jobs='jobs -l'
alias mroe=more
alias lses=less
alias lsse=less
alias l=ls
alias f=file
alias c=cat
alias m=more
alias j=jobs
alias k=kill
alias d=dirs
alias h=history
alias his=history
alias hm='history | less'
alias sy3='sync; sync; sync; echo "sync 3 times ..."'
alias del='rm -i'
alias bye=exit
alias ciao=exit

alias vibashpro='vi ~/.bash_profile'
alias rebashpro='. ~/.bash_profile'

PS1="`whoami`@`hostname` [\$HISTCMD] > "
export PS1

These are part of my developer toolbox.

Categories: Administration, Linux, Script, Ubuntu, UNIX Tags:

JavaOne 2012 Upcoming Presentations on JavaFX, Scala and Java EE 7

June 18th, 2012 2 comments

A week ago, the JavaOne 2012 call-for-papers came to a conclusion. Notifications were sent out to the content authors. I submitted three papers and got two accepted.

 

CON4643    Contemporary User Interface Design Patterns in JavaFX 2.2

CON4648    Scala, JavaFX, Java EE 7 and Enterprise Integration

 

Just before the confirmations were out, Stephen Chin, got in contact with me. He invited me to work with himself on a  JavaOne Lab.  Of course, I said yes. I would love to do a repeat of our 2011 Devoxx University JavaFX session.

 

TUT5466     JavaFX 2: A Java Developer’s Guide

We will be working on an update of our three hour  session. I am excited to work on this tutorial as I know Steve is. We look to include more advanced topic relevant to JavaFX 2.2 and the future releases.

If you are able to travel to San Francisco, I look forward to meeting you at JavaOne 2012 in the autumn.

 

+PP+

Categories: Conference, JavaEE, JavaFX, JavaOne, Scala, talk, technical Tags: