Scripting

Colorful shell prompt

Based on shell color tutorial, I've managed to create a library to make colorful shell easy to make. I also attach an example script which can be applied as PS1 variable.

Just download them and see the codes. You'll understand :D

To apply the script put both files into /opt directory and also put the following line into ~/.bashrc file.

. /opt/ps1

New apt-env

This is new apt environment script to download Debian packages in a sandbox. This is just a new improvement of Iang's script. The new features are:

Drupal Multisite Generator

This is very cool. This generator will make your project development using Drupal easier to do. You don't need to:
1. Copy the whole Drupal source every time you want to create new Drupal site
2. Maintain modules for each Drupal sites
3. Care about all configurations to setup new Drupal site with multisite mode.

All you need is the attached scripts to create and destroy your Drupal site instantly just like this:

./create-drupal-site
Site name (e.g. hello.drupal.loc):
mysite.loc

Syndicate content