Posts

i have lost the ability to read

I think one of the by products of the internet generation is the lost of ability to read. Lets face it. there is so much junk out there that after a while you get ignore the bulk of it, or start reading 3 words and make up the rest of the article or email. I have to admit out of the 50 - 80 emails I get a day from my 3-5 mailboxes, I probably only read like 5 and that is like . This means that I only read less than 10% of my emails. I mostly just read the title and quickly decide if it is spam or not. The same with web surfing, and new program interfaces. if it isn't immediately intuitive its probably not worth using. So who do you think needs to be improved, the creator or the user?

tabbing in IE 7 - continued

Well, I ought to correct my previous post. IE 7 does allow you to keyboard shortcut between tabs now since I finally upgraded my browser due to a corrupt application data directory which refuses to fix itself. Apparently its ctrl tab to move forward following the windows standard. and to go back? Its some finger dexterity which is ctrl-shit-tab. I suppose it does make some sense to use the right hand to hold the shift if you do need to go back, but I can't say that is second nature to me yet. How do you beat ctrl page up and page down? thats just so cognitive.

windows sshd with cygwin

Apart from using remote desktop or vnc, its good to have a secondary backup method of communicating with your windows machine. When you install cygwin, make sure you select openssh. this installs both the ssh client as well as the server. To setup the server there needs to be a couple of really simple steps. Right click My Computer, Properties, Advanced, Environment Variables. Click the "New" button to add a new entry to system variables: variable name is "CYGWIN" variable value is "ntsec tty" without the quotes also add ";c:\cygwin\bin" to the end of the existing PATH variable. To test this start cmd from the command line and type "bash -l" To setup sshd as a service, just type "ssh-host-config" "privilege separation be used", answer yes "install sshd as a service", answer yes When the script asks you for "CYGWIN=", your answer should be ntsec tty Basically its like yes to everything and after th...

how to setup vtun tunnel via ssh

install vtun Download the vtun installation rpms (for centos) wget http://mirror.optusnet.com.au/dag/redhat/el4/en/i386/dag/RPMS/lzo-1.08-4.2.el4.rf.i386.rpm wget http://mirror.optusnet.com.au/dag/redhat/el4/en/i386/dag/RPMS/vtun-2.6-0.2.el4.rf.i386.rpm # rpm -ivh lzo-1.08-4.2.el4.rf.i386.rpm # rpm -ivh vtun-2.6-0.2.el4.rf.i386.rpm /etc/vtund.conf on client options { port 5002; # Connect to this port. timeout 60; # General timeout # Path to various programs ppp /usr/sbin/pppd; ifconfig /sbin/ifconfig; route /sbin/route; firewall /sbin/ipchains; ip /sbin/ip; } work_to_home { passwd password; # Password type ether; # Ethernet tunnel device tap1; # Device tap1 up { # Connection is Up # Assign IP address and netmask. ifconfig "%% 10.1.0.2 netmask 255.255.255.0"; # Add route to net 192.168.0.0/24 route "add -net 192.168.0.0 netm...

help with unix scripts

To define date and time DATE=`date '+%y%m%d'` TIME=`date '+%k%M'` using awk LIST=`awk '{print $1}' file` for OBJECT in ${LIST} do echo OBJECT done the default awk uses a space, using other separators, use a -F calling sqlplus sqlplus -s /nolog /dev/null connect / as sysdba set echo off embedded on feedback off heading off linesize 120 pagesize 0 recsep off verify off termout off EOF calling ftp ftp -nv 147.132.19.52 user userid password prompt asc get file bye EOF mail alerts mailx -r "reply.to@host.com" -s "Subject" mail.to@host.com using varibles from command line #!/bin/sh # Example script to copy files to different hosts # Assumes same user is on all other servers if [ $# -lt 1 ]; then echo "\nUsage: script file [newfile]\n" exit 1 fi file=$1 echo $file | grep -q '^/' if [ $? -ne 0 ]; then file=$PWD/$file fi if [ $# -gt 1 ]; then newfile=$2 else ...

more wiki tips

Since I've recently realised that my blog may have been a bit technically skewed, here is something techie the non techie folks can appreciate. This wiki does cover a lot of things people have to do in their day to day lives. http://www.wikihow.com/Main-Page For the music lovers, take a look at the music section http://www.wikihow.com/Category:Music Just when you think there aren't any good websites anymore when the whole internet is filled with spam, this basically proves otherwise. Its entertaining. I think it's another wiki hit. Enjoy.

why tabbing in firefox is better

I probably wrote something about browsers previously, but everytime I surf the web, I get so incredibly frustrated with bad browsers due to non compliant web sites. In my opinion, and possibly for some others, the new IE7 doesn't even come close to the latest Firefox 1.5. Mozilla has adopted concepts like tabulated browsing and evening went the extra step to allow you to drag tabs in order and also use shortcut keys. Since I've moved to Safari and promptly lost my mac, I can't see myself going back to IE other than the fact that some webpages are still built only for IE compatibility. For all you IE lovers, if youre still running IE 6 and considering using IE7 just so you can use tabs, its not your only option. Yahoo toolbar does come with the additional tabs function just to add more clutter to your browser menus. This will be good for now, until MS adds IE7 to the next bundled patches for automatic updates. Til then, the choice is yours again.