City updated

Went for a walk in my neighborhood and found some new shots for the city album:

Ghetto Style

Ghetto Style

Posted in Uncategorized | Leave a comment

Routerrennen 2010 Photos are up

Last saturday my company organized together with Sitecom the annual Router Rennen event. Participants get to run around the track with old Routers attached to their feet, go check it out now:

Routerrennen 2010

Routerrennen 2010

Posted in Uncategorized | Leave a comment

Nature and Industrial added

Upped 2 more albums:

Industrial

Industrial

and

Nature

Nature

Posted in Photography | Leave a comment

Shell customizations in Ubuntu and Debian

So you got your Linux setup and work a lot in terminal shells, here alot of customization can be done. Decided to make an overview of the changes I make so its just a matter of copy/paste.

/home/user/.bashrc

Debian 5.0 Lenny:

Here I add/uncomment the following to add color to ls commands:

export LS_OPTIONS=’–color=auto’
eval “`dircolors`”

And some usefull aliases to speed things up:

alias ls=’ls $LS_OPTIONS’
alias ll=’ls $LS_OPTIONS -l’
alias l=’ls $LS_OPTIONS -lA’
alias rm=’rm -i’
alias cp=’cp -i’
alias mv=’mv -i’
a
lias nano=’nano -w’

Ubuntu 10.04:

# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
[ -z "$PS1" ] && return

# don't put duplicate lines in the history. See bash(1) for more options
# ... or force ignoredups and ignorespace
HISTCONTROL=ignoredups:ignorespace

# append to the history file, don't overwrite it
shopt -s histappend

# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000
HISTFILESIZE=2000

# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize

# make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"

# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then
debian_chroot=$(cat /etc/debian_chroot)
fi

# set a fancy prompt (non-color, unless we know we "want" color)
case "$TERM" in
xterm-color) color_prompt=yes;;
esac

# uncomment for a colored prompt, if the terminal has the capability; turned
# off by default to not distract the user: the focus in a terminal window
# should be on the output of commands, not on the prompt
force_color_prompt=yes
if [ -n "$force_color_prompt" ]; then
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then

# We have color support; assume it's compliant with Ecma-48
# (ISO/IEC-6429). (Lack of such support is extremely rare, and such
# a case would tend to support setf rather than setaf.)
color_prompt=yes
else
color_prompt=
fi
fi
if [ "$color_prompt" = yes ]; then
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
else
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
fi
unset color_prompt force_color_prompt

# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
;;
*)
;;
esac

# enable color support of ls and also add handy aliases
if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
alias ls='ls --color=auto'
#alias dir='dir --color=auto'
#alias vdir='vdir --color=auto'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
fi

# some more ls aliases
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
alias nano='nano -w'

# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi

 # enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
. /etc/bash_completion
fi

/etc/inputrc

Debian 5.0 Lenny / Ubuntu 10.04

# /etc/inputrc - global inputrc for libreadline
# See readline(3readline) and `info rluserman' for more information.

# Be 8 bit clean.
set input-meta on
set output-meta on

# To allow the use of 8bit-characters like the german umlauts, uncomment
# the line below. However this makes the meta key not work as a meta key,
# which is annoying to those which don't need to type in 8-bit characters.

# set convert-meta off

# try to enable the application keypad when it is called.  Some systems
# need this to enable the arrow keys.
# set enable-keypad on

# see /usr/share/doc/bash/inputrc.arrows for other codes of arrow keys

# do not bell on tab-completion
# set bell-style none
# set bell-style visible

# some defaults / modifications for the emacs mode
$if mode=emacs

# allow the use of the Home/End keys
"\e[1~": beginning-of-line
"\e[4~": end-of-line

# allow the use of the Delete/Insert keys
"\e[3~": delete-char
"\e[2~": quoted-insert

# mappings for "page up" and "page down" to step to the beginning/end
# of the history
# "\e[5~": beginning-of-history
# "\e[6~": end-of-history

# alternate mappings for "page up" and "page down" to search the history
"\e[5~": history-search-backward
"\e[6~": history-search-forward

# mappings for Ctrl-left-arrow and Ctrl-right-arrow for word moving
"\e[1;5C": forward-word
"\e[1;5D": backward-word
"\e[5C": forward-word
"\e[5D": backward-word
"\e\e[C": forward-word
"\e\e[D": backward-word

$if term=rxvt
"\e[8~": end-of-line
"\eOc": forward-word
"\eOd": backward-word
$endif

# for non RH/Debian xterm, can't hurt for RH/Debian xterm
# "\eOH": beginning-of-line
# "\eOF": end-of-line

# for freebsd console
# "\e[H": beginning-of-line
# "\e[F": end-of-line

$endif
Posted in Computing | Leave a comment

Landscapes, Skyscapes and Waterscapes too

All in the fresh Scapes album.

Posted in Photography | Leave a comment

Cars are online

Some cars joined the site

Posted in Photography | Leave a comment

Animals and City album are up!

After a fever and some Micro$oft exam I finally found a way to display my photos in a pleasing way as you can see on the Animals and City pages.
The thing is I like the generated albums of Jalbum but I like the freedom of design within WordPress, so with a little help from the web this is how I integrate Jalbum photo albums on a WordPress page:

In the root directory of the theme you currently use for example: /wp-content/themes/twentyten/ you add a php file for every album page you want to create.

So for the Animals album I add a file animals.php containing this code:

<?php /* Template Name: animals */ ?>
<?php get_header(); ?>
<center>
<object data=”http://joerimages.nl/albums/Animals/index.html” width=”980″ height=”950″ id=”gallery” name=”gallery”>
Your browser could not include this object </object>
</center>
<?php get_footer(); ?>

Few things you have to keep in mind in this file:
It starts with a comment stating the template name this you must change for every page
Ofcourse the object data location must match you Jalbum location

Now when you create a new page you can select the template you just created, publish and you are done :)
It might be necessary to fiddle a bit with theme settings or the dimensions used in the template file but that shouldn’t be too difficult


Posted in Photography | Leave a comment

Rebuild in progress

Since I can’t make up my mind on the design on this thing, I decided to once again roll with WordPress for the main site and integrate my images here.

Posted in Photography | Leave a comment