Tears
waves with foam frothing tips of crispy dew wash the ocean floor,
with rainbow colour shells sparkling in the dwindling light of a gray moon.
the sky has a darkness that seems to swallow the light,
only a shimmering line of the moon can be seen, no joy
in this sky, it drips tears of blackness upon the land
spreading like disease it covers all.
pray that this darkness never comes because the coldness it brings has never been felt,
it will cut ever living being down one by one until there is no more,
for tears of darkness are never wiped dry.
Green
if grass is green what can be greener?
the flowers in my garden speak of grass that is greener,
but I say I know better…
the pine trees on the hill tops speak of grass that is greener,
but I say I know better…
the sparkling streams filled with sunlight speak of grass that is greener,
but I say I know better…
the grass on the road side says it’s greener,
but is grass really green?
Tuesday, February 2, 2010
Friday, December 11, 2009
Some nice addons for Ubuntu
Get those codecs to play all media formats and dvds:
http://www.ubuntugeek.com/install-mplayer-and-multimedia-codecs-libdvdcss2w32codecsw64codecs-in-ubuntu-9-10-karmic.html
Get cntlm to get through those M$ ISA proxies:
sudo apt-get install cntlm
Then just edit the
/etc/cntlm.conf
and fill in the proxy details then restart it with
/etc/init.d/cntlm restart
Then export your proxy and your in business :-)
export http://localhost:3128/
http://www.ubuntugeek.com/install-mplayer-and-multimedia-codecs-libdvdcss2w32codecsw64codecs-in-ubuntu-9-10-karmic.html
Get cntlm to get through those M$ ISA proxies:
sudo apt-get install cntlm
Then just edit the
/etc/cntlm.conf
and fill in the proxy details then restart it with
/etc/init.d/cntlm restart
Then export your proxy and your in business :-)
export http://localhost:3128/
How to Listen to Streaming Radio on Ubuntu
Ok so I wanted to listen to Highveld radio on Ubuntu. Only problem was their website only seemed to catered for Windows. So after some digging I found the mms stream URL and gave it a try with:
mplayer mms://196.35.64.36/highveld_22
but got this:
connect error: Connection refused
No stream found to handle url mms://196.35.64.36/highveld_22
So I just changed it to:
mplayer http://196.35.64.36/highveld_22
and we're in business :-)
mplayer mms://196.35.64.36/highveld_22
but got this:
connect error: Connection refused
No stream found to handle url mms://196.35.64.36/highveld_22
So I just changed it to:
mplayer http://196.35.64.36/highveld_22
and we're in business :-)
Monday, November 30, 2009
VPN Issues on Ubuntu
Well this one has been causing me to pull my hair out for a couple of weeks. I was using the Cisco VPN client for Linux put got really tried of having to recompile it every time I did a Kernel update. So I switched over to vpnc the VPN stuff which works under network manager in Ubuntu. At first it seemed to work nice, but I found the connection was 'freezing' after I sshed into a server over the VPN. An example of this would be ssh to server, then run ls which works fine, then run ls -l and the connection 'freezes'. If I open another terminal sesssion to the server it would open fine, but ls and then ls -l would 'freeze' the connection. So after some digging our found out it had have something to do with my MTU setting. I still have a Windows VM and tested out the VPN their and used putty to ssh to the server and had no issues. I tried setting the MTU on my eth0 or wlan0 but no joy. Finally I found I needed to set the MTU on the tun0 connection like this to get it to work:
sudo ifconfig tun0 mtu 576
This mtu is very small, but I think its a setting on their side that maybe someones forgot to update since the days of dail-up connections. I am also glad to report the VPN connection is now working 'sharp-sharp'. :-)
sudo ifconfig tun0 mtu 576
This mtu is very small, but I think its a setting on their side that maybe someones forgot to update since the days of dail-up connections. I am also glad to report the VPN connection is now working 'sharp-sharp'. :-)
Thursday, November 26, 2009
How to rename file extentions in Linux
This is a nice command to basically rename all .csv files in a directory to .bak
for x in *.csv; do mv "$x" "${x%.dot}.bak"; done
for x in *.csv; do mv "$x" "${x%.dot}.bak"; done
Wednesday, November 11, 2009
Axis 2 get client's IP address
This seems to be the easiest way to do it:
MessageContext msgContext = MessageContext.getCurrentMessageContext();
String ip = (String) msgContext.getProperty(MessageContext.REMOTE_ADDR);
Also required:
import org.apache.axis2.context.MessageContext;
MessageContext msgContext = MessageContext.getCurrentMessageContext();
String ip = (String) msgContext.getProperty(MessageContext.REMOTE_ADDR);
Also required:
import org.apache.axis2.context.MessageContext;
Eclispe Button Problem on Ubuntu 9.10
Had a problem with Eclipse where I could not click on the buttons after upgrading to 9.10
This fixed it:
Source: http://www.norio.be/blog/2009/10/problems-eclipse-buttons-ubuntu-910
This fixed it:
#!/bin/bash
export GDK_NATIVE_WINDOWS=1
/opt/eclipse-3.5/eclipse
Source: http://www.norio.be/blog/2009/10/problems-eclipse-buttons-ubuntu-910
Tuesday, October 6, 2009
Thursday, August 13, 2009
Netgear Router DGN 2000 piece of CRAP
Just a word of warning don't touch this piece of hardware, all I can say is it is guaranteed to give you a head ache and it uses this crapy url to setup itself
www.routerlogin.com/start.htm
PS Good luck with all the DNS issues you'll have too, and no wait there's no firmware update to fix any of there issues, just work arounds :-o
www.routerlogin.com/start.htm
PS Good luck with all the DNS issues you'll have too, and no wait there's no firmware update to fix any of there issues, just work arounds :-o
Ubuntu Cisco VPN
It works nice:
Here's my post on the keyring issue "Invalid VPN Secrets "
http://ubuntuforums.org/showthread.php?t=1193786&page=2
Here's my post on the keyring issue "Invalid VPN Secrets "
http://ubuntuforums.org/showthread.php?t=1193786&page=2
New version of GFS on the way?
Nice:
http://queue.acm.org/detail.cfm?id=1594206
http://doc.cat-v.org/plan_9/4th_edition/papers/venti/
http://queue.acm.org/detail.cfm?id=1594206
http://doc.cat-v.org/plan_9/4th_edition/papers/venti/
Saturday, August 8, 2009
Disable PC Speaker on Ubuntu
The pc speaker can be a pain, here's what to do to disable it:
sudo modprobe -r pcspkr
sudo vi /etc/modprobe.d/blacklist
and at the line:
blacklist pcspkr
sudo modprobe -r pcspkr
sudo vi /etc/modprobe.d/blacklist
and at the line:
blacklist pcspkr
Wednesday, August 5, 2009
Eclipse and Axis 2
This sorted my problem:
http://osdir.com/ml/axis-dev-ws.apache.org/2009-06/msg00169.html
in fact i saw after than in web.xml that the class AxisAdminServlet class has
change of package
org.apache.axis2.webapp.AxisAdminServlet
but after I've got a new error :
http://osdir.com/ml/axis-dev-ws.apache.org/2009-06/msg00169.html
in fact i saw after than in web.xml that the class AxisAdminServlet class has
change of package
but after I've got a new error :
Subscribe to:
Posts (Atom)