Dec
30

LOL LIMEWIRE!

Click here if YOU ARE A PIRATE…

Dec
15

Protect IP

I really hope this doesn’t happen. The US government are just making up lies to say Protect IP is about piracy but it’s actually just about what they don’t like. I.e Wikileaks. I’m sorry for speaking for my freedom PLEASE DO NOT TAKE CENSOR THIS DOMAIN NAME!

http://fightforthefuture.org/pipa/

Dec
15

How to make an ASCII Cow in Terminal

sudo apt-get install cowsay

Then type something like:

cowsay 'Hi I am a weird cow!'

Here’s the result:

cowsay 'Hi I am a weird cow!'
 ______________________
< Hi I am a weird cow! >
 ----------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

And you can use many other options to make the cow look different. Here’s a few examples:

cowsay -d 'I am tired of eating grass...'
 _______________________________
< I am tired of eating grass... >
 -------------------------------
        \   ^__^
         \  (xx)\_______
            (__)\       )\/\
             U  ||----w |
                ||     ||

or you can also make other animals/shape using the -f option, for example:

cowsay -f sheep 'Uh oh'
 _______
< Uh oh >
 -------
  \
   \
       __
      UooU\.'@@@@@@`.
      \__/(@@@@@@@@@@)
           (@@@@@@@@)
           `YY~~~~YY'
            ||    ||

To get a list of values for the -f option, just type:

cowsay -l

Note that you can also use cowthink, like that:

cowthink '...interesting'

                                        
                                        
                                        
                

Dec
14

Spicing up your server terminal – Adding colour to bash prompt

These settings are useful for regukar users who are not root:

  • Edit Bash’s personal configuration file:
$ nano ~/.bashrc
  • Comment out the default prompt:
#PS1='[\u@\h \W]\$ '
  • Add the following green prompt for regular users:
[ollie@ollieserver.local ~]$ _
PS1='\[\e[1;32m\][\u@\h \W]\$\[\e[0m\] '
  • Edit root’s .bashrc file; copy it from /etc/skel if the file is not present:
# nano /root/.bashrc
  • Assign a red prompt for root:
[ollie@ollieserver.local ~]# _
PS1='\[\e[1;31m\][\u@\h \W]\$\[\e[0m\] '

Dec
14

Welcome!

Hello and welcome to my new website. I have now updated the site and it is now running wordpress 3.3

I have cleared off all of the old posts to make this new blog fresh. All of your user accounts are still inplace so why not login and subscribe or post?

Enjoy :p

Ollie Nixon