Archive for February, 2009

WordPress Workshop :: Part 2

// February 28th, 2009 // Comments // Events

Here is an continuation of my last post WordPress Workshop -Part 1

Blogging with WordPress

WordPress Workshop

I think I had written a lot in my last post on the day 1 of wordpress workshop. After self analysis of our performance with first batch me and Snehal decided to have some changes for the second batch. I had explained a lot of extras for the first batch and had to cut it down for the second batch. Also we decided that Snehal and Sanket will handle some portions. And to take some snaps of the workshop which we had missed out yesterday ūüôā

We were in time at browsing center. We started uninstalling the wamserver installed by the previous batch candidates. Gudi sir set up the projector for us and he was going to be the photographer for us !  Sohel was missing since he went to attend the hacking Contest at K.L.E. Engineering College, Belgaum. Although we expected a lot of people today, there was no crowd outside. Everyone came one by one in time.

K.K.T.  sir started with the introduction and later he went out since he had some work. The first part i.e introduction to websites, blogs, wordpress, hosting, domains etc was done by Snehal. She explained it slowly point by point, asking questions to participants to make the session interactive ( I had finished it just in 5 min yesterday!).  As we had decided to tell the hosting & domain setup at end , I started with WampServer Installation. Unlike yesterday I did not make use of ppt for this. Everything was live ! The installation step seemed to be very easy to everyone( WordPress rocks !). Then Sanket took over to explain how to post on wordpress and how to create categories etc. I came back to explain wordpress themes, plugins and widgets.

The participants were more active compared to yesterdays batch. They were trying to create themes with wordpress theme generator and use it while i was explaining itself. Many had created beautiful designs in no time ! Same was the case with plugins. they googled and got new plugins. But Plugins seemed to be complicated for them due to the diversity in nature of usage from one plugin to plugin. They had a lot of questions to ask unlike yesterdays batch. Since it was afternoon time they seemed to be hungry and wanted to out fast !

I explained only basic stuff cutting a lot of information. Since Snehal and Sanket explain some portions my work was reduced. It was almost 3.30pm and decided to conclude. K.K.T had finished his work and had returned to workshop to conclude it ! Thus making the end of the movie WordPress Worksop – Part 2

We have plan about WordPress Workshop – Part 3 on Monday… Keep awaiting for my next post…

WordPress Workshop :: Part 1

// February 27th, 2009 // Comments // Events

Hello Everyone,

Today was one of the most wonderful day in my life. As I has posted earlier the Workshop on ” Blogging with WordPress” started today. This was the first workshop I have ever conducted. there was an huge response from the students of I.S.E., GIT we had to decide to organize workshop in batches. So we had divided the registrants into two¬†batches. One¬†batch¬†for those who submitted the¬†assignment¬†work given by us and another batch for those who are lazy to complete the assignment but still wanted to learn wordpress !

The schedule was announced in class and displayed on notice board.

Batch A: Late submissions (First come First Serve Basis)
Day: Friday
Date: 27th Feb 2009
Time:¬†2.00pm ‚Äď 5.00pm
Venue: Browsing Center, GIT.

Batch B: For students who have submitted the website designs on or before 25th Feb, 2009
Day: Saturday
Date: 28th Feb 2009
Timing:¬†12.30pm ‚Äď 4.00pm
Venue: Browsing Center, GIT.

But everything¬†didn’t¬†go as per to our plans. ¬†There was an hacking contest organize in K.L.E.Engineering college, Belgaum and many wanted to attend it. So they requested that they will be attending on friday itself and we could not deny for that. Secondly the C.S.E. Department woke up after an semester to conduct an I.T. Quiz clashing with our workshop. They had taken registration entries in last semester and organizing this semester that too by announcing it on the previous day.

The students from I.S.E were totally not interested in attending it and all of them prefer to attend our workshop. ( Even I had registered for quiz last semester !) Most of the students had come early as we had said that entries will on first com first¬†serve¬†basis creating an mob outside the¬†browsing¬†center. Everything would have went fine if our H.O.D. would have not¬†interfered¬†in between. They had called up from C.S. Department saying we have told the students to attend the workshop mandatorily by bunking the I.T. Quiz (???????) Our H.O.D’s¬†concern¬†was genuine as he wanted to have an good relationship with the C.S. Department. So he asked us to cancel the workshop and send the student to I.T. quiz !

We had taken a lot of efforts from a week to organize the workshop and offcource how can we cancel it just like that? Prof. Kiran.K.T. was in support of  us. We anyhow managed to convince our H.O.D. Math Sir that we shall not allow the students who have enrolled for I.T. quiz (except me !) to attend workshop and send them to auditorium for I.T. quiz. We ensured I.T. quiz registrants  that we shall conduct the workshop on some other day for them. they agreed upon and went. It was an different matter that most of they went to home instead and those who went for I.T. quiz had missed the preliminary round and coud not participate in that too !

The workshop was finally started  with the words of Prof. Kiran K.T. He introduce us and then i took over.  I started with the presentation I had prepared. I have embedded the same copy here :

WordPress Installation Guide

As you can see it is an self explanatory power point presentation with live screen shots on how to install wordpress. It starts with the basic fundas like website, blog, wordpress, uses of blog, web hosting, domain etc. The actual part starts with signing up free web hosting account at www.FreeHostCell.com. Then comes an overview on hosting control panel and creating database in your free hosting account. The there is details on transferring files to the web server using FileZilla FTP client.  After that comes the actual step by step installation of wordpress. The presentation also contains slides on getting an free co.c domain name. It has links to various resource websites.

But due to problems with internet connection in the college we proceeded with the installation on localhost using WampServer. We explained everything live on the projector and simultaneously the participants did it on their computers. We explained all the menu in the backend i.e the control panel of wordpress. it was be creating post, editing it, changing permalinks, using tags and what not. We also gave an insight of generating wordpress themes using a wordpress theme generator. We also explained how to use plugins and widgets to enhance the functionalities of wordpress. The candidates also got to know how to use google analytics on wordpress and basic search engine optimization.

The worskhop went on for 3 hours and I don’t know how I managed to speak¬†continuously¬†not even drinking a drop of water ( I got to know about it only after Snehal told about it ) Finally we explained the judgement¬†criteria’s¬†for the wordpress blog contest and showed some popular blogs. Finally Prof. Rodd and Prof. Kiran concluded the workshop.

Thanks to Snehal, Sanket, Sohel and others who have helped a lot make it a grand success.

All the participants were very happy as the workshop was good, above¬†their¬†expectation ( and our expectation too !) Many of them commented that I’m best suited for lecture post ! Snehal was asking me how I spoke for 3 hours¬†continuously¬†in a loud pitch without a break ( and I got to know about it only after the workshop was over). I was totally in ¬†a different world for those 3 hours. We¬†remembered¬†that we had forgotten to take snapshots of the event late but luckily we have a chance to get them in the next batch !

Now ¬†I’m awaiting for the second batch to be organized¬†tomorrow. So await for my next¬†post i.e WordPress WorkShop – Part 2

Management and Entrepreneurship , Unit 1, VTU

// February 26th, 2009 // Comments // Old

Managment :

  • Introduction – meaning – nature and characteristics of Management
  • Scope and functional areas of Management
  • Management as a science, art or profession
  • Management and Administration
  • Roles of management
  • Levels of Management
  • Development of management thought
  • Early management approaches
  • Modern management approaches

Management and Entrepreneurship , Unit 1

OSCAR Winners 2009 :: Jai Ho Rahman :: Slumdog Shines Oscars

// February 23rd, 2009 // Comments // Old

Slumdog Millionaire’ sweeps eight Oscars at the 81 st Academy Awards including Best Adapted Screenplay, Cinematography, Sound Mixing,Film Editing, Original Score, Original Song, Direction and Motion Picture. Indian music maestro A R Rahman brings home two awards with his Jai Ho… composition.

OSCAR Winners :: Jai Ho Rahman :: Slumdog Shines Oscars

OSCAR Trophy

The Oscar Winners are as follows :

BEST PICTURE:
Slumdog Millionaire

ACTOR IN A LEADING ROLE:

Sean Penn
Milk

ACTRESS IN A LEADING ROLE:
Kate Winslet
The Reader

DIRECTING:
Slumdog Millionaire

FORIEGN LANGAUGE FILM:
Departures

MUSIC(SONG):
Slumdog Millionaire

MUSIC (SCORE):
Slumdog Millionaire

FILM EDITING:
Slumdog Millionaire

SOUND MIXING:
Slumdog Millionaire

SOUND EDITING:
The Dark Knight

VISUAL EFFECTS:
The Curious Case of Benjamin Button

DOCUMENTARY SHORT:
Smile Pinki

DOCUMENTORY FEATURE:
Man on Wire

ACTOR IN SUPPORTING ROLE:
Health Ledger
The Dark knight

SHORT FILM (LIVE ACTION):
Spielzeugland (Toyland)

CINEMATOGRAPHY:
Slumdog Millionaire

MAKEUP:
The Curious Case of Benjamin Button

COSTUME DESIGN:
The Duchess

ART Direction:
The Curious Case of Benjamin Button

SHORT FILM (ANIMATED)
La Maison En Peptits Cubes

ANIMATED FEATURE FILM:
Wall-E

WRITING (ADAPTED SCREENPLAY)
Slumdog Millionaire

WRITING (ORIGINAL SCREENPLAY):
Milk

ACTRESS IN A SUPPORTING ROLE:
Penelope Cruz
Vicky Cristina Barcelona

[Source : Official OSCAR Website  www.oscar.com]

System Software Lab Programs ( Lex and Yaac Programs )exa

// February 21st, 2009 // Comments // Old

Subject : System Software Laboratory

Branch : Information Science & Engineering

Semester : 6

University : VTU

………………………………………………………………………………………………………………………….
PART – A

………………………………………………………………………………………………………………………….

1 a) Lex Program to count the number of characters, words, spaces and lines in a given input file.

% {

#include<stdio.h>
int (cc=0,lc=10,wc=0,sc=0)

% }

[^ t n]+ {wc++;cc+=yyleng;}
[/t]      {sc++;}
n        {lc++}

%%

main(int arg c, char * argv[])
{
FILE * file;
if(argc>1)

file=fopen(argv[1],”r”);
if(!file)
{
printf(“Could not open file :);
exit(1);
}
yyin=file;
}
yylex();

printf(“n Number of Spaces = %d “,sc);
printf(“n Number of Words = %d “,wc);
printf(“n Number of Characters = %d “,cc);
printf(“n Number of Lines¬† = %d “,lc);

return 0;

}

…………………………………………………………………………………….

SAMPLE OUTPUT

…………………………………………………………………………………….

FILE CONTENT :

HELLO WORLD,

WELCOME TO MY FIRST LEX PROGRAM

PROGRAM OUTPUT :

Number of Spaces = 6

Number of Words = 8
Number of Characters = 38
Number of Lines  = 2

 

[Request : If you are going to post this program on any other website please link back to original post ]

Delhi 6 Hindi Movie 2009

// February 20th, 2009 // Comments // Old

[Click Here to get Latest Movie Downloads by email ]

Roshan travels from USA to India with his ailing grandmother. Little does he know that this quick trip will turn into the longest journey of his life… A Journey Within !

The story is told against the backdrop of the ancient walled city of Delhi who is a character in Herself. A city that represents the chaos of Indian people, thier religion and thier beliefs. The PIN Code of this cide is 110006. With pride and love they call it DELHI-6

Delhi 6 hindi movie free download

Delhi 6, Hindi Movie

Director : Rakesh Omprakash Mehra

Writers : Prasoon Joshi
Rakesh Omprakash Mehra

Release date : 20 February 2009 (India)

Genre : Comedy | Drama


Cast :

Abhishek Bachchan¬†¬†¬†¬†¬†¬†¬† ….. Roshan

Sheeba Chaddha¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬† ….. Nirmala (as Lovleen Mishra)

Sonam Kapoor¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬† ….. Bittu

Atul Kulkarni¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬† ¬† ¬† ¬† ….. Gobar

Pavan Malhotra¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬† ¬† ¬† ….. Jaigopal

Supriya Pathak¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬† ¬† ¬†¬† ….. Vimla

Om Puri¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬† ¬† ¬† ¬†¬† ….. Madangopal

Vijay Raaz¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬† ¬† ¬† ¬†¬† ….. Inspector Ranvijay

Waheeda Rehman¬†¬†¬†¬†¬†¬†¬†¬† ….. Grandma

[ From IMDB.com]


For downloads of Delhi 6 Movie visit the official website :  www.delhi6.co.in

You can download Videos,  Soundtracks, Wallpapers , Screen savers, Movie still etc can be downloaded from the official website.

[Click Here to get Latest Movie Downloads by email ]

[ Note : Please disable pop-up blocker if you are unable to download]

Re. WordPress Blogging Workshop/Contest

// February 19th, 2009 // Comments // Old

We have got an overwhelming response for WordPress blogging workshop/contest I had written in my earlier post. There has been more than 125 registrations till date. I think probably first timewe are getting such an response in Department of Information Science & Engineering, GIT.  Thanks for all who have registered their names.

Due to this large turn-out we are giving an small assignment to registrants. This is to filter out people who just write their name and never participate actively.

The assignment is to :

  • Choose an topic for your site

– You can make it your personal website or of any other topic of your interest like sports, movies e

  • Get the content ready for your website

– This may be your intro on home page, your biodata or any other article you want to have on your website.

  • Draw a rough layout of your website.

– This may be a block diagram with menus and features of the website

  • Other

– Creativity has no limit. Submit your own stuff which others may not even thought of !

I wish to make this Workshop / Contest a huge Success and each student of Department of Information Science, GIt to have thier own Blog.

Please comment your suggestions and feedbacks.

Disable right click (Context Menu) in your HTML page

// February 19th, 2009 // Comments // Old

My last post on file structure lab program is getting listed first when you google for ” fs lab”,¬† “file structure lab” and many more related keywords. This is driving a lot of visitors to the site.

File structure lab being introduced for the first time in 6th Semester,¬† Department of Information Science, VTU. Hence there is no lab programs available with anyone, neither the seniors have it nor it is available on the whole internet. SandeepHegde.me is the only site where you can find the programs and I want to keep it the same. I don’t mind people using the program for their personal use or internal circulation. What I don’t like is copying the program onto other websites. In such cases you can provide link to SandeepHegde.me from that site.

So I’m making an small attempt to reduce copying articles from my site. I’m disabling the right click feature from SandeepHegde.me and it today’s post is all about how to disable right click (Context Menu) in your HTML page. Here it goes….

HTML has an event called ‚Äúoncontextmenu‚ÄĚ. This event handles the right click event.

So, if you want to disable right click for any field in your page, all you have to do is add ‚Äúoncontextmenu‚ÄĚ inside the particular tag. The example below will make things clear.

Ex. Suppose you want to prevent users from copy pasting something into one of your text boxes. Then you need to write the input tag as follows:

<input type=‚ÄĚtext‚ÄĚ oncontextmenu=‚ÄĚreturn false;‚ÄĚ>

That’s it!! The context menu does not appear because we are handling the right click event by returning false.

Alternatively, you can disable right click for the whole page as follows:

Just copy paste the following code after the end of your <form> tag.

<script>

document.oncontextmenu = function(){return false}

</script>

I do not really know how far the web browsers can support it, but there is nothing wrong in giving an try.

Please comment your queries.

[Request : If you are using someone else’s content, Please leave an credit to the Original Author ]

File Structure ( FS ) Lab Program 1 ( 6th Semester Information Science)

// February 18th, 2009 // Comments // Old

[Click Here to get remaining programs by email ]

…………………………………………………………………………………………

Subject : File Structures lab

Branch : Information Science & Engineering

Semester : 6

University : VTU

………………………………………………………………………………………..


Experiment No. : 1

Objective of the program : To learn basic file processing operations and to use IO redirection and pipes.

Problem statement : Write a c++ program to read series of names one per line, from standard input and write these names spelled in reverse order to the standard output. Use IO redirection and pipes. Repeat the exercise using an input file specified by the user instead of the standard input and using an output file specified by the user instead of the standard output.

……………………………………………………………………………………………

#include<iostream.h>

#include<string.h>

#include<fstream.h>

int main()

{

char s1[25];

fstream file1,file2;

int i=0,j=0,x=0,c=0,kb=0;

char filename1[25],filename2[25];

cout<<endl<<“1 for standard I/O : “<<endl<<“2 for file I/O : “<<endl<<“Enter your choice : “;

cin>>kb;

switch(kb)

{

case 1 :

cout<< Enter Name Count : “;

cin>>c;

for(i=1;j<=c;j++)

{

cout<<endl<<“Enter Name “<<j<<” : “;

cin>>s1;

x=strlen(s1);

cout<<” Reserved name “<<j<<” : “;

//Reverse name

for(i=x-1;i>=0;i-)

cout<<s1[i];

cout<<endl;

}

break;

case 2 :

cout<<“Enter Data file name ;”;

ci>>filename1;

cout<<Enter Reverse data filename : “;

cin>>filename2;

file1.open(filename1,jos::in);

file2.open(filename2,jos::out);

while(1)

{

file1.getline(s1,25);

if(file1.fail())

break;

x=strlen(s1);

//Reverse name and send to file

for(i=x-1;i>=0;i–)

file2<<s1[i];

file2<<endl;

}

file1.close();

file2.close();

break;

}

returen 1;

}

___________________________________________


Sample Input / Output

___________________________________________

Using Standard I/O

1 for standard I/O

2 for file I/O :

Enter your choice : 1

Enter name count : 3

Enter Name 1 : GIT

Reversed name 1 : TIG

Enter Name 2 : Information

Reversed name 2 : noitamrofnI

Enetr Name 3 : Science

Reversed name 3 : ecneicS

……………………………………………………………….


Using File I/O

1 for standard I/O

2 for file I/O :

Enter your choice : 2

Enter Data file name : names.txt

Enter Reverse data filename : rev.txt

[[email protected]~]# cat names.txt

KLS

GOGTE

INFORMATION

SCIENCE

[[email protected]~]# cat rev.txt

SLK

ETGOG

NOITAMROFNI

ECNEICS

…………………………………………………………………….

IO redirection and pipes

Pipe

[email protected]~]# cat rev.txt | sort

ECNEICS

ETGOG

NOITAMROFNI

SLK

Redirection of standard output :

[[email protected]~]# cat rev.txt | sort>sortedRev.txt

[[email protected]~]# cat sortedRev.txt

ECNEICS

ETGOG

NOITAMROFNI

SLK

Click Here for 2nd Program

[Click Here to get remaining programs by email ]

[Request : If you are going to post this program on any other website please link back to original post ]

WordPress Blogging Workshop/Contest

// February 17th, 2009 // Comments // Events

Finally today (17/02/2009) we finalized the workshop and contest on “Blogging with WordPress” for students of Department of Information Science & Engineering, Gogte Institute of Technology, Belgaum
Prof Kiran K.T and our H.O.D. Prof.  M. M. Math were were Co-operative in approving the idea of conducting such an stuff first time in the college history.Myself and Snehal will be handling most of the stuff.
Although I had though of arranging such workshop last year itself , could not implement due to various circumstances. Don’t know whether it was possible this time too if¬† Snehal had not asked about keeping a website design contest !
The workshop is going to be conducted on 27/02/2009 from 2.00pm to 3.00pm. I’m expecting nearly 100 candidates to attend the workshop.
The following topics will be covered :
  • Introduction
  • Hosting & Domains
  • WordPress Installation
  • Using WordPress
  • Theming
  • Plugins
  • Widgets
  • Using Analytics
  • S.E.O.
  • Promoting the site
Almost all candidates are new to this field and workshop shall provide them with the basic information and a motivation for thier online identity. We are going ahead with Free Hosting and free co.cc domains which is provided by www.FreeHostCell.com. The contest shall be starting after the workshop and candidates shall have of lot of time of around 45 days. I don’t know how they are going to cope up with wordpress blogging. The best blogs¬† shall be awarded.
Last but not the least here an advertisement prepared by Snehal to display on the notice board. I like it a lot. Here it goes…
Come..
Project Yourself on the Web
Get a New Dimension to your Internet Experience
Communicate Differently
Own your own Website
Get Publicity over the Internet
Add Weight-age to your Resume
Come…¬† Learn Website Design


Please comment your suggestions regarding the workshop/contest.
I shall be posting frequently on this topic until the winner is chosen.
Keep Checking…
[More details at Official Site : www.gitise.co.cc]