Archive for the ‘Random’ category

Bash

October 15th, 2009
VN:F [1.8.4_1055]
Rating: 0.0/10 (0 votes cast)

standard_rhel

I got bored of looking at the same terminal screen day in, day out. The standard output’s are boring, and are the same on most distributions.  The image on the right shows how they should look, boring and not very exciting. After some tweeking and some minor editing, oh, and a lot of reading, Using the following bash script, I have created something unique, and something I like.

# If id command returns zero, you’ve root access.
if [ $(id -u) -eq 0 ];
then # you are root, set red colour prompt
 PS1="\e[35;1m(\d \t\e[31;1m \u@\h:\w ) $\e[0m \n    "
else # normal
 PS1="\e[35;1m(\d \t\e[34;1m \u@\h:\w ) $\e[0m \n    "
fi

All that differs between the two outputs, is the colour of the user’s terminal. Just to help me see quickly if I am putting a command into the root terminal. After appending this script to /etc/bashrc, I had found what I liked..

bash_root

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • MySpace
  • StumbleUpon
  • Twitter

Site Updates

August 29th, 2009
VN:F [1.8.4_1055]
Rating: 9.0/10 (1 vote cast)

As you may have noticed, a few changes have been going on around here:

  1. Site Theme – I got bored of the fixed-width, extra-narrow, plain and boring theme. So I went for something a bit wider, something that handles thumbnailing better, and something that’s more aesthetically pleasing.
  2. Tag-Globe – I have tweaked a few settings in the tag-cloud, which optimises its load time, and also makes some of the text easier to read.
  3. Social Linking – I have installed a plugin which allows you to link an article to Digg, Facebook, Stumbleupon and more. I am hoping this plugin makes my blog more known about, and extends to the deepest, darkest depths of the Internet.
  4. SEO Settings – I have edited some Search Engine Optimisation settings to allow sites like Google, MSN and Yahoo to index my site better.

I am also contemplating removing the comment rating system from the blog, as its just not really doing anything. Hopefully your comments will assist me in making this decision. Your feedback will be appreciated.

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • MySpace
  • StumbleUpon
  • Twitter

Is this the epitome of LIGHTWEIGHT!?

June 29th, 2009
VN:F [1.8.4_1055]
Rating: 6.8/10 (6 votes cast)

Ashley

VIEWS PLEASE!

Also, don’t forget to vote by clicking a star above!!!

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • MySpace
  • StumbleUpon
  • Twitter

Flubberhosts is no more!

May 25th, 2009
VN:F [1.8.4_1055]
Rating: 0.0/10 (0 votes cast)

Over the past couple of weeks, there has been speculation of Flubberhosts closing it’s doors to the public. This is NOT true! What is true though, is Gridstar have acquired Flubberhosts. But honestly… What was the point, Flubberhosts rented space from Gridstar, so the only thing Gridstar could have acquired are their clients.

PS: Don’t forget to rate this post :D

Oh! I forgot to mention!

[0:22:29] keith is keith!keith@DTR-E396514.bb.sky.com
[0:22:29] keith’s real name: keith
[0:22:29] keith’s info: is a registered nick
[0:22:29] keith’s server: services.doubletroubleradio.org.uk – Services for Double Trouble Radio
[0:22:29] keith’s idle time: 3d 4h 10m 20s
[0:22:29] keith’s signon time: Tue May 19 19:08:07 2009
[0:22:29] keith WHOIS info from services.doubletroubleradio.org.uk

[0:22:35] LEthaLity is LEthaLity!Lee@DTR-8952E4KS.range86-131.btcentralplus.com
[0:22:35] LEthaLity’s real name: <3 Felicia <3 – 23 m Berkshire
[0:22:35] LEthaLity’s info: is a registered nick
[0:22:35] LEthaLity’s server: services.doubletroubleradio.org.uk – Services for Double Trouble Radio
[0:22:35] LEthaLity’s idle time: 3d 5h 59m 30s
[0:22:35] LEthaLity’s signon time: Tue May 19 19:08:07 2009
[0:22:35] LEthaLity WHOIS info from services.doubletroubleradio.org.uk

He likes to clone real people :D

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • MySpace
  • StumbleUpon
  • Twitter

New Theme!

May 6th, 2009
VN:F [1.8.4_1055]
Rating: 7.0/10 (3 votes cast)

Let me know what you think of the new theme! I’m hoping you all like it, and if there’s any aspect which you don’t like, post a comment, and tell me there. Otherwise, just vote away as to what you think.

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • MySpace
  • StumbleUpon
  • Twitter