20Jun

What is BlogCampPune?
BlogCampPune is a FREE unconference focusing exclusively on blogging, organized by bloggers for bloggers. It‘s built upon the principles of the famousBarCamp (ad-hoc unconference) focussed on sharing, learning and new ideas. This is going to be an intense event with discussions, demos and interaction between attendees. Any blogger who wants to contribute is welcome and invited to join. In the spirit of BarCamp, if you attend, be prepared to present something (even if it’s just 10 minutes).
When : 27th June 2009
Where: SICSR (Symbiosis) 7th Floor Atur Center, Gokhale Cross Road, Model Colony Pune Near the OM Super Market
Google Map
Tickets
The Registrations for the Blogcamp Pune 2 has started. Grab yourself a ticket right away. http://blogcamppune.eventbrite.com
Speak at the Blogcamp Pune
If you want to speak on a topic or run a session/discussion at the Blogcamp Pune please mention your idea while you are buying the ticket. http://blogcamppune.eventbrite.com
More Info : http://barcamp.org/BlogCampPune2
I have registered for the even already.
08Jun
I am Back but this time for some code sharing…..
I have been working on Unix Shell scripts for standalone work and came across the need for various types of input validation.
The basic need of Input validation comes when we have some other program’s depending on the input and those programs being sensitive to type of data being send to them.
so i have compiled some neat hacks for this specific purpose….
You can check at the bottom for a detailed usage of the functions that i have created.
A direct download is also available here
function num_check()
{
read -p "$1" as
until expr $as - 1 >>/dev/null 2>/dev/null
do
read -p "$2 should be numeric please enter again" as
done
echo $as
}
function char_check()
{
read -p "$1" as
while expr $as - 1 >>/dev/null 2>/dev/null
do
read -p "$2 should not be numeric please enter again" as
done
echo $as
}
function null_check()
{
read -p "$1" as
while [ -z $as ]
do
read -p "$2 should not be null " as
done
echo $as
}
function alphacheck()
{
read -p "$1" as
while echo $as | grep [0-9!@#$%^&*()-_|] 2>>/dev/null >>/dev/null
do
read -p "$2 should be alphabet only" as
done
echo $as
}
#
# sample calling for the script
#
#
#z=`num_check "Please enter the no" "Customer no" `
#echo $z
#echo `expr $z + 1`
#y=`char_check "Please enter the name" "Customer name"`
#echo $y
#echo $y | wc -c
#x=`null_check "Please enter enrollment no" "enrollment no"`
#q=`alphacheck "Please enter the name" "Customer name"`
#echo $q
I hope this helps someone
Waiting for comments and corrections……….
26Feb
so lets begin with the installation
Recently i have upgraded my internet connection from 64Kbps to huge 256Kbps (although it doesn’t sounds too much but guess what for a person working on 64Kbps for 2yrs this is a 400% increment. )
with this change in my side i thought ok lets download the net-install disk and start the magic….
The start was a surprise for me with option selection menu with option for GUI installation..
but the surprise went of the hook when my motherboard(intel 865 chipset ) onboard Graphics was not auto detected and fail back text installer was started
but anyways i can live up with CLI interface too..
so i moved ahead and a simple installation for debian took less then 20 minutes to fiish..
now i can say that besides the minor glitch in hardware detection it was a breeze..
Note : i am not covering much on installation as that is not my prime concern …
Now as the installation got over logged in to the system and went to aptitude for some softwares
Here i would like to point out the best thing i like about aptitude or any package manager in debian TASK’s
simple links to get the a perticular setup done
So i head to aptitude ans task panel a quick “+” over desktop, Laptop, Gnome, Localization Hindi) and Webserver.
two taps on “g” and i am ready to go for a good night sleep in the mean time all the packages will be downloaded and installed automatically……. (size of over 972MB)
Recent Comments