Escape into the Net

29/04/2006 - Come see my adventures in cyberspace. This blog may tend to have a technical slant to it at times. At others, something I find interesting that I think should be noted rather than one of my other journals. Old description:Come read some accounts of my online adventures in cyberspace, at times you'll cross over into the real world with me too.

Location: Sudbury, ON, Canada

Wednesday, March 10, 2010

a bit of bash to add useful colouring when logged in, depending on account

# .bashrc

# User specific aliases and functions

alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'

# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc

# If id command returns zero, youve root access.
if [ $(id -u) -eq 0 ];
then # you are root, set red colour prompt
PS1="\\[$(tput setaf 1)\\]\\u@\\h:\\w #\\[$(tput sgr0)\\]"
else # normal
PS1="[\\u@\\h:\\w] $"

Saturday, December 12, 2009

Monday, March 09, 2009

....I'm here to share some information that will transform your experience.

Stay tuned. Further updates to come in the blogosphere, from Second Life. Well Second Life for now...that's one of many places where you can transform your life experiences.

Saturday, April 29, 2006

There's an interesting technical article on Carnivore. Take a look here. And for further reading, I'm checkout Matt Blaze's another worthwhile resource out there in the wild's of the Internet.

Monday, February 06, 2006

PHP Security Consortium: PHP Security Guide A good online guide to PHP Security when developing. Lots of handy code snippets.

Friday, December 02, 2005

Good article from Paul Graham ....At Y Combinator we advise all the startups we fund never to lord it over users. Never make users register, unless you need to in order to store something for them. If you do make users register, never make them wait for a confirmation link in an email; in fact, don't even ask for their email address unless you need it for some reason. Don't ask them any unnecessary questions. Never send them email unless they explicitly ask for it. Never frame pages you link to, or open them in new windows. If you have a free version and a pay version, don't make the free version too restricted. And if you find yourself asking "should we allow users to do x?" just answer "yes" whenever you're unsure. Err on the side of generosity.

In How to Start a Startup I advised startups never to let anyone fly under them, meaning never to let any other company offer a cheaper, easier solution. Another way to fly low is to give users more power. Let users do what they want. If you don't and a competitor does, you're in trouble."

Wednesday, November 02, 2005

DOM Scripting: The book