Corporate social responsibility drives every person is go green at work. It doesn't ask you go over-board on going green. Though it is a good thing. CSR asks you to be responsible enough.
It is best defined as something you do, for which you wont receive appreciation. If you dont do it, you wont invoke criticism either.
CSR doesn't ask you to go switch off every monitor in your office, at the end of every day. If you wrote a huge note on the white board, requesting the same, you have done your bit.
A similar message can be put on top of the white-board in a meeting room, requesting the team to switch off the lights before they leave the room.
Such small gestures can do wonders. I know this with practical experience. If you are walking down the corridor and happen to see the light turned on. Please dont stop yourself from turning it off.
You can put in an isnulting message too, to give some gyaan for the anpad gavaars!
Get a fancy mug, to avoid paper cups for your coffee. You can get a filter coffee tumbler and saucer too. You'll get noticed...
Use the stairs. You can avoid the long wait for the elevators and avoid the desi talk when in it.
Never use the printer, unless you absolutely need it. For photocopies, use your mobile camera. It usually does the trick.
This list could go on...But these basic things are good for a start. There's nothing wrong in being responsible at office... You can feel proud about yourself!
As a foot note, I must confess that I am not exactly a go-green person. I drive to office, which does more damage than anything else we talked about. But I am working on it...
Update: I use Office Transport now.
Monday, April 18, 2011
Simple encryption script
I first googled for such a script, when I needed one. I didn't want the complex encryption logic that were offered. I wanted a simple script, which served my purpose. When my search went in vain, I thought of writing one myself. Its pretty self explanatory. You would need to watch out for the last few ASCII characters. The logic is not very strong but will serve the purpose.
Also the encryption logic can be your choice. The script can be made execute only to conceal the logic from other users. Here goes...
#!/usr/bin/ksh
# encrypt_string.ksh
#
#
# Change record:
# Author Date Comments
# Gokula Kandaswamy 09/23/2010 Created V1
# **************************************************************************************
# Purpose: This script applies a simple encryption to a string. It has the capability to also decrypt the same string
#
# # Command line parameters to be passed
# first: The string which has to be encrypted or decrypted
# second: The action needed on the string i.e. whether it should encrypted or decrypted.
# Valid values="encrypt" for Encryption and "decrypt" for decryption
# **************************************************************************************
# Usage for encryption: ./encrypt_string.ksh encrypt
# Usage for decryption: ./encrypt_string.ksh '' decrypt
MyString=$1
Type=$2
StrChange=''
i=1
k=1
while (( i <= ${#MyString} ))
do
[[ $k -eq 4 ]] && k=1
char=$(expr substr "$MyString" $i 1)
chr=`echo -n $char | od -A n -t u1`
chr=`echo $chr | sed 's/^0//'`
if [ $Type = "encrypt" ] && [ $chr -ne 126 ]
then
(( chr += $k ))
elif [ $Type = "decrypt" ] && [ $chr -ne 126 ]
then
(( chr -= $k ))
fi
var=`awk -v char=$chr 'BEGIN { printf "%c\n", char; exit }'`
StrChange=`echo "$StrChange$var"`
(( i += 1 ))
(( k += 1 ))
done
echo $StrChange
# End of Script
Also the encryption logic can be your choice. The script can be made execute only to conceal the logic from other users. Here goes...
#!/usr/bin/ksh
# encrypt_string.ksh
#
#
# Change record:
# Author Date Comments
# Gokula Kandaswamy 09/23/2010 Created V1
# **************************************************************************************
# Purpose: This script applies a simple encryption to a string. It has the capability to also decrypt the same string
#
# # Command line parameters to be passed
# first: The string which has to be encrypted or decrypted
# second: The action needed on the string i.e. whether it should encrypted or decrypted.
# Valid values="encrypt" for Encryption and "decrypt" for decryption
# **************************************************************************************
# Usage for encryption: ./encrypt_string.ksh
# Usage for decryption: ./encrypt_string.ksh '
MyString=$1
Type=$2
StrChange=''
i=1
k=1
while (( i <= ${#MyString} ))
do
[[ $k -eq 4 ]] && k=1
char=$(expr substr "$MyString" $i 1)
chr=`echo -n $char | od -A n -t u1`
chr=`echo $chr | sed 's/^0//'`
if [ $Type = "encrypt" ] && [ $chr -ne 126 ]
then
(( chr += $k ))
elif [ $Type = "decrypt" ] && [ $chr -ne 126 ]
then
(( chr -= $k ))
fi
var=`awk -v char=$chr 'BEGIN { printf "%c\n", char; exit }'`
StrChange=`echo "$StrChange$var"`
(( i += 1 ))
(( k += 1 ))
done
echo $StrChange
# End of Script
Sunday, April 03, 2011
Subscribe to:
Posts (Atom)