Citrix XenApp

Your Journey towards cloud.

Virtualization Picking up Speed

Are your Skills keeping up? Skill up. Be Relevant

Are you a System Admin

Learn Citrix XenApp, Its future.

Citrix XenApp

Industry-leading virtualization platform for building cloud.

Cloud Computing in Demand

Learn how to build cloud on Citrix XenApp.

Sunday, 8 January 2012

Installing C++ On Windows 7(64-bit)

1. Install the software DOSBox version 0.74
2. Create a folder,for example “Turbo” (C:Turbo)
3. Download and extract TC into the Turbo folder (c:Turbo):
4. Run the DOSBox 0.74 from the icon located on the desktop:
5. Type the following commands at the command prompt [Z]: mount d c:Turbo [The folder TC is present inside the folder Turbo]
Now you should get a message which says: Drive D is mounted as a local directory c:Turbo
6. Type d: to shift to d:
7. Next follow the commands below:
cd tc
cd bin
tc or tc.exe [This starts you the Turbo C++ 3.0]
8. In the Turbo C++ goto Options>Directories> Change the source of TC to the source directory [D] ( i.e. virtual D: refers to original c:Turbo . So make the path change to something like D:TCinclude and D:TClib respectively )

How to start TurboC++ in the DOSBox automatically:
You can save yourself some time by having DOSBox automatically mount your folders and start TurboC++:
For DOSBox versions older then 0.74 browse into program installation folder and open the dosbox.conf file in any text editor. For version 0.73 go to Start Menu and click on “Configuration” and then “Edit Configuration“. Then scroll down to the very end, and add the lines which you want to automatically execute when DOSBox starts.

Automatically mount and start Turbo C++3.0 in DOSBox ver 0.73:
Scroll down to the very end, and add the lines:
Those commands will be executed automatically when DOSBox starts!

Please note:
Full screen: Alt and Enter
When you exit from the DosBox [precisely when u unmount the virtual drive where Turbo C++ 3.0 has been mounted] all the files you have saved or made changes in Turbo C++ 3.0 will be copied into the source directory(The directory which contains TC folder)
Don’t use shortcut keys to perform operations in TC because they might be a shortcut key for DOSBOX also . Eg : Ctrl+F9 will exit DOSBOX rather running the code .

Saturday, 7 January 2012

Disable the Splash Screen in Portable Firefox (and Other Portable Apps)

Portable applications are cool because you can run them on any machine from your thumb drive. What isn’t cool is the annoying splash screens that appear when launching the apps. Here’s how to disable the annoyance.
sshot-2010-06-13-[23-23-02]
In this example we are using Portable Apps version 1.6.1.
Disable Splash Screen in Portable Firefox 
To disable the Splash Screen, open up Computer and double-click on your flash drive containing PortableApps.

Now browse to the following location…
PortableApps\FirefoxPortable\Other\Source
In this directory you’ll find the file FirefoxPortable.ini. Open this file with Notepad…
This ini file should look similar to the shot below. By default, the line DisableSplashScreen=False … we just need to change False to True.
Then make sure to save the change…
Now copy the FirefoxPortable.ini file we just edited.
Then go back to the main directory PortableApps \ FirefoxPortable and paste it there.
That is all there is to it! Now when you launch Portable Firefox, you won’t have to wait while the Splash Screen displays before you can start using it.
If you ever want to revert back to having the Splash Screen display, all you’ll need to do is delete FirefoxPortable.ini from PortableApps \ FirefoxPortable.
The process is essentially the same in other PortableApps as well. Just follow the steps shown above. For example here we’re disabling the Splash Screen from KeePassPortable by going into the thumb drive PortableApps \ KeePassPortable \ Other \ Source and changing the KeePassPortable.ini file for DisableSplashScreen to equal True. Save it…
Then copy it to the main KeePassPortable directory…
If you are annoyed by having to see the Splash Screen every time you launch a portable app, following these steps rids the annoyance!

Friday, 6 January 2012

Create a Shortcut to Quickly Edit Your Hosts File

As a programmer that does a lot of work on web sites, I end up having to edit my hosts file far too often, and in Windows 7 or Vista, you have to use Notepad in Administrator Mode. Tedious.
My quick and easy solution to this problem is so simple that it barely deserves a full article, but we’re going to cover it anyway—basically, you just create a shortcut to edit the file in Notepad, and set the properties to always start as Administrator. The final step is to create that shortcut in the Start Menu, so it will be easily accessible with the start menu search engine.
Once you’re done, all you have to do is type hosts into the start menu, and you can edit the Hosts file.

Let’s Make a Shortcut! 
Open up the start menu folder—Then right-click and create a shortcut, with the following location:
notepad c:\windows\system32\drivers\etc\hosts
image
Once you’ve created the shortcut, and make sure you give it a useful name like “Edit Hosts”, you should open up the shortcut properties, click the Advanced button, and then select the “Run as administrator” option.
Once you’ve done so, you can simply type hosts into the start menu to pull up the item…
You’ll be prompted to accept the UAC prompt, since you have to edit the hosts file in administrator mode.
And there we are. Edit away!
And yes, you might point out that you can simply change the permissions on the Hosts file to not require admin mode, but that would lead to a less secure system, since malware often tries to edit the hosts file.
Also, you might point out that this was such a simple and easy topic that I shouldn’t have bothered. But I did! Loss of geek points for me.

Thursday, 5 January 2012

How To Edit Your Hosts File : Snow Leopard (OS X 10.6)

In Snow Leopard, accessing the hosts file is very similar to Ubuntu. Begin in terminal and use your favorite editor, even is you wish to call a GUI text editor, it is easier to do so from terminal.
The file will look a bit more like Windows, only with a little less explanation. Again we are going to redirect Facebook.
This time it seems that 0.0.0.0 is a loopback and will direct you to the computers Apache test page.

Wednesday, 4 January 2012

How To Edit Your Hosts File : Ubuntu

In Ubuntu 10.04 and most Linux distro’s you can edit the hosts file directly in the terminal. You can use your favorite editor or even open your favorite GUI text editor. For this example we will use VIM. Like Windows 7, Ubuntu’s hosts file is located in the /etc/ folder, though here it is in the root of the drive. In order to edit the file you will need to open it as root which is why we use sudo here.
Now that it is open we can edit it to redirect Facebook into nothing. You will notice that with Ubuntu there is also a section for IP6. For most needs you will only need to edit it the top section and ignore the IP6.
Now we can save the file and try to go to Facebook.com. Just like in windows we will see that we are now redirected to a site that does not exist.

Tuesday, 3 January 2012

How To Edit Your Hosts File :Windows

Windows 7

To access the hosts file in Windows 7 you can use the following command in the Run Line to open notepad and the file.
notepad c:\windows\system32\drivers\etc\hosts
sshot-2010-08-31-[19-41-19]
Once notepad is open you can edit the file. In this example we will block Facebook. To do this just enter in the following after the # mark.
0.0.0.0    www.facebook.com
Now that you have edited your Hosts file make sure to save it.
Now notice if we try to access Facebook in IE we can’t get to the page.
.

Monday, 2 January 2012

Stop Virus entering from USB to Pc and Vice versa


In this post i am gonna tell to How to protect both PC and USB from Viruses. Well, Do you know On what moments viruses transfer from USB 2 PC and PC 2 USB????
  1. At the time when we Open USB Drive for Copying a File from USB to PC
  2. During Copying a File from PC to USB

So if we do something to stop entering Viruses on these two moments then you can protect both PC and USB from Viruses.

Now the Question arises How we can do this......
Answer:


1. At the time when we Open USB Drive for Copying a File from USB to PC

  • On this time if we disable the Writing Property of USB drive then viruses can't enter in the USB.
Now Steps to disable the Writing Property of USB drive:
1.  Click Start, click Run, type Regedit in the Open box, and then click OK.
2.  Go to HKLM > System > current control set > control
3. Right click on Control folder> new> key and give name 'StorageDevicePolicies'
4. Now In the right side window right click > new > Dwrd value and give it a value '1'
5. Now close registry, restart PC. 
2. During Copying a File from PC to USB
  • Always use 'send to' (right click on file that has to copy> send to > USB Drive) except copind and pasting file.
  • During Copying a File from PC to USB Remember to enable the Writing Property of USB drive by changing value 0 in step 4.


Direct shortcut to Enable and disable the Writing Property of USB drive 
Note: Registry Modification will be in effect only after Reboot PC.

Be safe