<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3374451066146689173</id><updated>2011-11-27T16:23:12.296-08:00</updated><title type='text'>GeeksPages</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://geekspages.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3374451066146689173/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://geekspages.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Vinith Almeida</name><uri>http://www.blogger.com/profile/00436437077823195046</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_AvRwdIQBl4I/SbvVnh1bVEI/AAAAAAAAAEc/oW4o-2AXwG4/S220/15-02-09_1622.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3374451066146689173.post-7430145609692752019</id><published>2009-03-25T10:55:00.000-07:00</published><updated>2009-03-27T02:32:22.142-07:00</updated><title type='text'>Google Google</title><content type='html'>Well when I mention Google the first thing that comes to your mind may be the search engine www.google.com or the web mail site www.gmail.com.  Well one thing is for sure, the number of people who depend on Google for their needs is enormous and is on the rise day by day. This article is intended to throw some light on the consequences of excessive dependence that people have on Google.&lt;br /&gt;&lt;br /&gt;Well I doubt I would find anyone who has not used www.google.com to search for anything online. Well even I use it everyday or say hundreds of times a day, but here we do have to realize that with query we make, we are sending data regarding our preferences to Google . Although Google says that it uses this data to enhance our search experience, it can also be used by them to limit our search to the sites that pay them. It was discovered by the famous Google-critic Daniel Brandt in 2002 that Google placed a cookie on each registered user's computer, which can be used to track that person's search history, and that the cookie was set to expire in 2038. Sounds pretty scary but it is true.&lt;br /&gt;&lt;br /&gt;Well that was about Google’s search facility, there's lot more to follow. Now coming to their e-mail service, Gmail. According to about.com it is the best free e-mail service ever.  With just one Gmail id, you get access to Orkut ( A Social networking Site ), Blogger ( Free Blogging service ), Adsense ( Online advertising ), Picasa ( Photo Sharing service ) etc. This may sound tempting to anyone, but we do have to realize the dangers here. Whenever you register on Gmail you do have to give some of your personal details, when you sign up for Adsense you have to give your telephone number as well as your exact address. When you register on Orkut, Google gets know your socials contacts. Using Google Docs and Spreadsheets can save huge amounts of data on Google’s servers. Add to it Google's online payment service Google Checkout, through which they will have your credit card details as well ( Oh Great !! ). Imagine if this information gets into the wrong hands ( Although not really possible !! ), we can think of Google misusing these details to increase their profits by directing us to sites that pay them. You may be finding it hard to imagine but there were a number of lawsuits slapped on them ( Google ) regarding various Privacy and Copyright issues.&lt;br /&gt;&lt;br /&gt;Therefore the thing that we need to understand is that Google is a company that works to earn profits, it may offer free services which may be good but then every good thing comes with a price !!.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3374451066146689173-7430145609692752019?l=geekspages.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://geekspages.blogspot.com/feeds/7430145609692752019/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://geekspages.blogspot.com/2009/03/google-google.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3374451066146689173/posts/default/7430145609692752019'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3374451066146689173/posts/default/7430145609692752019'/><link rel='alternate' type='text/html' href='http://geekspages.blogspot.com/2009/03/google-google.html' title='Google Google'/><author><name>Vinith Almeida</name><uri>http://www.blogger.com/profile/00436437077823195046</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_AvRwdIQBl4I/SbvVnh1bVEI/AAAAAAAAAEc/oW4o-2AXwG4/S220/15-02-09_1622.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3374451066146689173.post-1465674830417752206</id><published>2009-03-22T09:32:00.000-07:00</published><updated>2009-03-26T09:10:28.026-07:00</updated><title type='text'>Coding a C program that shutsdown the computer</title><content type='html'>This C program shutsdown the computer. This is done using a program called shutdown.exe, which is present in %systemroot%/system32 directory. This program can be accessed using the DOS prompt provided the PATH variable includes the %systemroot%/system32 directory.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;/* C program to shutdown the computer */&lt;br /&gt;&lt;br /&gt;#include&lt;stdio.h&gt;"stdio.h"&lt;br /&gt;#include"conio.h"&lt;conio.h&gt;&lt;br /&gt;#include"stdlib.h"&lt;stdlib.h&gt;&lt;br /&gt;int main()&lt;br /&gt;{&lt;br /&gt;     system("&lt;/stdlib.h&gt;&lt;/conio.h&gt;&lt;/stdio.h&gt;shutdown -s -t 00&lt;stdio.h&gt;&lt;conio.h&gt;&lt;stdlib.h&gt;");&lt;br /&gt;   getch();&lt;br /&gt;   return 0;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;/* End of Program */&lt;br /&gt;&lt;/stdlib.h&gt;&lt;/conio.h&gt;&lt;/stdio.h&gt;&lt;/blockquote&gt;&lt;stdio.h&gt;&lt;conio.h&gt;&lt;stdlib.h&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Working:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Using the system() function we execute the command shutdown -s -t 0 which will shutdown the computer in 0 seconds without displaying any message.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;shutdown.exe command along with some of it switches and their use is given below:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;shutdown [-l ¦ -s ¦ -r ] [-t xx]&lt;br /&gt;&lt;br /&gt;-s       (shutsdown the computer)&lt;br /&gt;-r       ( Restarts the local computer)&lt;br /&gt;-t xx   (Shuts down the computer after xx seconds.)&lt;br /&gt;-l        (Logs off the current user of the computer)&lt;br /&gt;&lt;br /&gt;Examples:&lt;br /&gt;shutdown -s         (This will shutdown the computer in default 30 seconds and display a message)&lt;br /&gt;shutdown -s -t 00 (This will shutdown the computer in 0 seconds will not display any message)&lt;br /&gt;shutdown -l          (This will logoff the current user)&lt;br /&gt;shutdown -r         (This will restart the computer)&lt;/stdlib.h&gt;&lt;/conio.h&gt;&lt;/stdio.h&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3374451066146689173-1465674830417752206?l=geekspages.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://geekspages.blogspot.com/feeds/1465674830417752206/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://geekspages.blogspot.com/2009/03/coding-c-program-that-shutsdown.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3374451066146689173/posts/default/1465674830417752206'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3374451066146689173/posts/default/1465674830417752206'/><link rel='alternate' type='text/html' href='http://geekspages.blogspot.com/2009/03/coding-c-program-that-shutsdown.html' title='Coding a C program that shutsdown the computer'/><author><name>Vinith Almeida</name><uri>http://www.blogger.com/profile/00436437077823195046</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_AvRwdIQBl4I/SbvVnh1bVEI/AAAAAAAAAEc/oW4o-2AXwG4/S220/15-02-09_1622.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3374451066146689173.post-4109409045846585954</id><published>2009-03-22T03:30:00.000-07:00</published><updated>2009-03-22T09:27:53.149-07:00</updated><title type='text'>Coding a C program to edit Registry</title><content type='html'>The registry is a database which is used to store information about a computers configuration. It contains information that Windows continuously uses during operation. A program called regedit.exe is used to edit the registry. To use the regedit.exe program goto &lt;span style="font-weight: bold;"&gt;Start &gt; Run &gt; type regedit.exe&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;There are different ways of editing the registry:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;We can manually edit the registry by running the regedit.exe program and by going to the respective keys  and changing their values. &lt;/li&gt;&lt;li&gt;We can also create registry editing file using notepad ( Files having .reg extension ), this a very easy method and this will be used in our program to edit the registry. &lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;Warning:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Before editing the registry, make sure you have a full backup of your system. Incorrectly editing the registry may cause serious damage to your system.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Basics:&lt;br /&gt;In this program we have not used any advanced registry functions, we will be using a very simple method, though not very efficient, it manages to do the task very well and is easy to understand.&lt;br /&gt;In our registry editing program we will creating a .reg file using the file functions. Then using the system() function we run the .reg file created, which adds information to the registry.&lt;br /&gt;&lt;br /&gt;This program will the change the home page of Internet Explorer to&lt;br /&gt;http://geekspages.blogspot.com/ by editing the registry.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;/* C Program to to edit the registry */&lt;br /&gt;&lt;br /&gt;#include"stdio.h"&lt;br /&gt;#include"conio.h"&lt;br /&gt;#include"stdlib.h"&lt;br /&gt;int main()&lt;br /&gt;{&lt;br /&gt;      FILE *fp;&lt;br /&gt;      char *text = "REGEDIT4\n\n[HKEY_CURRENT_USER\\Software\\Microsoft\\Internet Explorer\\Main]\n\n\"Start Page\"=\"http://geekspages.blogspot.com/\"";&lt;br /&gt;      fp=fopen("TEMP.REG","w");&lt;br /&gt;      fputs(text,fp);&lt;br /&gt;      fclose(fp);&lt;br /&gt;      system("regedit /s TEMP.REG");&lt;br /&gt;      remove("TEMP.REG");&lt;br /&gt;      return 0;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;/* End of Program*/&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Working:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;First we declare a string text which has the contents of the .reg file. The .reg file needs to be written in string format.&lt;/li&gt;&lt;li&gt;Then we create the .reg file using the fopen() function and give it a name TEMP.REG&lt;br /&gt;&lt;/li&gt;&lt;li&gt;We add the string text to the temp1.reg file using the fputs() function.&lt;/li&gt;&lt;li&gt;Using the system() function we run the temp.reg file (Parameters explained below).&lt;/li&gt;&lt;li&gt;Lastly we delete the file TEMP.REG using the remove() function.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;The parameter passed to the system function is:&lt;br /&gt;&lt;blockquote&gt;regedit.exe /s TEMP.REG&lt;/blockquote&gt;This command is used used to run the TEMP.REG file. The /s parameter stands for Silent and it is used to hide the confirmation box that pops up asking the users permission to add the registry entries.&lt;br /&gt;&lt;stdio.h&gt;&lt;conio.h&gt;&lt;stdlib.h&gt;&lt;/stdlib.h&gt;&lt;/conio.h&gt;&lt;/stdio.h&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3374451066146689173-4109409045846585954?l=geekspages.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://geekspages.blogspot.com/feeds/4109409045846585954/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://geekspages.blogspot.com/2009/03/registry-is-database-which-is-used-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3374451066146689173/posts/default/4109409045846585954'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3374451066146689173/posts/default/4109409045846585954'/><link rel='alternate' type='text/html' href='http://geekspages.blogspot.com/2009/03/registry-is-database-which-is-used-to.html' title='Coding a C program to edit Registry'/><author><name>Vinith Almeida</name><uri>http://www.blogger.com/profile/00436437077823195046</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_AvRwdIQBl4I/SbvVnh1bVEI/AAAAAAAAAEc/oW4o-2AXwG4/S220/15-02-09_1622.jpg'/></author><thr:total>0</thr:total></entry></feed>
