Tag Archives: windows

ActivePerl Flags

Recently I had to setup Active Perl with Sublime Text 2 in Windows 8. After adding a new build system and setting up the path to perl.exe with the -w flag I wanted to figure out what other flags were available. You can pass perl several flags: bin/perl -w bin/perl -p bin/perl -d bin/perl -i bin/perl -t bin/perl -pe bin/perl -pi Here are what the perl flags do: -i: Modifies your input file in-place -w: Activates some warnings -d: Runs under the Perl debugger -t: Treats certain “tainted” code as warnings -p: Places a printing loop around your command so that it acts on each line of standard input. -e: Allows you to provide the program as an argument rather than in a file.

Posted in Tech Tips | Tagged , , , | Leave a comment

windows system32 host location

Clear and simple. The path for the windows system32 host location is c:\windows\system32\drivers\etc\hosts on most systems. On linux systems it is in /etc/hosts so that part makes sense to me, but I have no idea why it is in the drivers folder. Remember if you want to edit the hosts file you may need to have “administrator access” which can be done by right clicking “Notepad” and choosing “Run As Administrator” and then opening the file with Notepad. Otherwise you might be able to view the file but you will get an erro when saving it. Make a backup before you start Other windows system32 host location Windows 95/98/Me c:\windows\hosts Win2k, Windows NT/2000/XP Pro c:\winnt\system32\drivers\etc\hosts Windows XP Home c:\windows\system32\drivers\etc\hosts

Posted in Tech Opinion | Tagged , , | Leave a comment

Connect to a Shared Folder with VirtualBox and Windows XP

Connecting to a Shared Folder with VirtualBox and Windows XP is easy. In the following example Windows XP (TinyXP) is being used to connect to VirtualBox on Mac OS X Mountain Lion. On your list of VirtualBox machines choose the windows XP machine you want to share a folder with and then click “Settings” Choose the “Shared Folders” tab and then select the path on your host computer that you want to share with the Virtual Machine Select the options “Auto mount” and “Make permanent” if you would like this connection to persist If your Windows XP virtual machine is running you may need to restart it Open “My Computer” and from the “Tools” menu choose “Map Network Drive” When the “Map Network Drive” dialog box opens click on “Browse” Choose “Virtualbox Shared Folders” and then “\VBOXSVR” and then the name of your shared folder – (VBOXSVR is how virtualbox refers your host machine – opposed to Remote Desktop / Terminal services which refers to it as \tsclient / tsclient ) Click OK and now you should have your new drive appearing in “My Computer”

Posted in Linux, Mac, Tech Tips | Tagged , , , | Leave a comment

Windows XP Cisco VPN Client Latest Version

If you’re wondering what the latest Version of the Cisco VPN Client for Windows XP, you’ve come to the right place. You may want to heed notice from Cisco that this product is no longer supported… But, according to the information I have found, the final version of the Cisco VPN client software for Windows XP was “5.0.07.0410″ and the installation file was: vpnclient-win-msi-5.0.07.0410-k9.exe

Posted in Security, Software, Tech Tips | Tagged , , | Leave a comment

Where can I download rdpclip for Windows XP?

rdpclip.exe is the main executable for File Copy and gives functionality to Terminal Services (remote desktop) server that allows you to copy and paste between server and client. File Copy is an extension to Terminal Services server that lets you copy and paste between the server and the client. RdpClip lets you copy and paste files between a terminal session and a client console session. Download RDPCLIP by visiting http://download.microsoft.com/download/win2000platform/rdpclip/1.0/NT5/EN-US/rdpclip_hotfix.exe

Posted in Software, Tech Tips | Tagged , , , , , | Leave a comment

Firefox: Disable Auto Update

There are two methods to Disable Auto Update in Firefox: Firefox: Disable Auto Update Method 1 Go to the “Tools” menu (in the menu bar) and choose Preferences / Options. On Mac OS X Go to the “Firefox” menu bar and choose preferences or press cmd+, Choose the “Advanced” tab and the “Update” sub tab, and then choose one of the options: Install updates automatically (recommended) Download update but let me choose whether to install them Check for updates but let me choose whether to download and install them Never check for updates (not recommended) Firefox: Disable Auto Update Method 2 In your browser bar type in about:config and press return. Type in app.update.auto to filter results, and look for the boolean entry. Set this to: true – firefox will auto update (default setting) false – firefox will not update automatically

Posted in Software, Tech Tips | Tagged , , , , , | 2 Comments

Use Google Chrome as a Screensaver

You can use Google Chrome‘s –kiosk mode to create a full-screen screensaver of sorts. This might be good if you have a webpage or intranet page you’d like to display. Here’s how I did it for a windows computer: Create a file such as c:\screensaver.bat and add the following code. Replace with your location of chrome.exe @echo off taskkill /im chrome.exe start /wait “” “C:\Documents and Settings\Google\Chrome\Application\chrome.exe” –kiosk http://www.mysite.com rem ## run any command here you’d like after the “screensaver” finishes ## Next, set that to run as a scheduled task after the computer has been idle for 5 minutes (or however long you choose). You can then listen with jQuery / javascript to close the page when the mouse moves. Here is code that closes the page when the mouse moves more than 20 pixels. You could also bind it to a keyboard event. <html> <head> <script type=”text/javascript” src=”http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js”></script> </head> <body> <h1>hello</h1> <div id=”log”></div> <script type=”text/javascript”> var startx = ”; var starty = ”; jQuery(‘html’).bind(‘mousemove’,function(event){ if(startx == ”){ startx = event.pageX; starty = event.pageY; }else { deltax = Math.abs(event.pageX – startx); deltay = Math.abs(event.pageY – starty); var msg = ”; msg += “distance x “; msg += deltax; msg += “distance y “; msg += deltay; $(“#log”).html(“<div>” + msg + “</div>”); if(deltax > 20 || deltay > 20){ closeWindow(); } } }); function closeWindow(){ setTimeout(function(){ window.open(”, ‘_self’, ”); window.close(); },1000); } </script> </body> </html>

Posted in Software, Tech Tips, Web Development | Tagged , , , , , , , , | 3 Comments

Dropbox Command Line Interface (CLI)

Dropbox has some great functionality for their Unix client: Dropbox command-line interface commands: Note: use dropbox help to view usage for a specific command. status get current status of the dropboxd help provide help puburl get public url of a file in your dropbox stop stop dropboxd running return whether dropbox is running start start dropboxd filestatus get current sync status of one or more files ls list directory contents with current sync status autostart automatically start dropbox at login exclude ignores/excludes a directory from syncing Unfortunately this functionality is not extended to Mac OS X (Dropbox.app) or Windows (dropbox.exe). To show your support for this feature request, please vote it up here: https://www.dropbox.com/votebox/2713/command-line-interface or visit this thread and make your argument and/or show your support: http://forums.dropbox.com/topic.php?id=29158

Posted in Software, Tech Opinion | Tagged , , , | 1 Comment

How to e-mail a Screen Grab / Screen Shot (Windows & Mac)

If you have a WINDOWS machine: 1) Hit the Print Screen key on your keyboard. It’s usually in the upper right and marked “PrntScrn” or “PrtSc”. 2) Try to Paste directly into a email you’ll send to us (either by holding down the “Ctrl” key and pressing the “V” key, *or* by right-clicking the blank screen and selecting “Paste”). If your email program doesn’t let you do that, then: 3) Click the green Start button on the lower left of your screen. 4) Navigate to All Programs -> Accessories, and open the Paint program. 5) Paste into the Paint program, either by holding down the “Ctrl” key and pressing the “V” key, *or* by right-clicking the blank screen and selecting “Paste.” 6) Save the file (from File -> Save) as a .JPG (choose “Save as type” JPEG). 7) Attach that file in an email. If you have a MAC: 1) Hold down the Shift key *and* the Command key (which may have an Apple logo and/or a “four-leaf clover” type symbol). Then, while still holding down these keys, press the 3 key. This will save the screenshot as a file on your Desktop. If you hit the 4 key instead, it will give you a target allowing you to drag a box around only the item that you want to take a screenshot of. 2) Attach that file in an email.

Posted in Tech Tips | Tagged , , , | Leave a comment