| May 2005 | ||||||
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
| 29 | 30 | 31 | ||||
| Apr Jun | ||||||
1:53:17 PM
Sometimes it would be nice if we could use SETLOCAL and ENDLOCAL to preserve the initial environment but still change one variable "permanently", in the SORTDATE and SORTTIME examples, for example. I recently saw a posting at the alt.msdos.batch.nt newsgroup where Phil Robyn solved this problem in an ingenious way:
This way the environment variable TEST and its value are preserved in spite of the ENDLOCAL command.SET TEST=
SETLOCAL
:: Variable test is set within local environment, which means
:: its changes are flushed by the next ENDLOCAL command
SET TEST=Some new value
:: By using the ampersand and the following SET command on the
:: same line as the ENDLOCAL command, %TEST% is resolved before
:: the ENDLOCAL command "restores" its value
ENDLOCAL & SET TEST=%TEST%
SET TEST
See my Conditional Execution page for an explanation of the ampersand's usage
2:21:18 PM
Here are some popular IP addresses:
Microsoft - 207.46.245.92
E-bay - 66.135.208.89
Google 64.233.187.104
Amazon 207.171.175.35
PayPal - 216.113.188.66
CitiBank - 192.193.210.24
Also, here is a DNS tool for converting addresses from the www. form to the IP number: http://www.ndo.com/servlets/dominfo. Regarding IP address, please note that if a site is addressed by a server company rather than on its own server, you may not be able to reach the address just by putting in the IP number. For instance, if you convert my company's web address (www.keystonecomputerconcepts.com) to an IP # (38.113.20.12) and then try to go directly to the site using the IP number, you get an error page. That's because we are hosted by a server hosting service.
Post by: johnnybluenote on 02/23/05 CNet article discussion: Alarm over pharming attacks: identity theft made even easier
8:36:18 AM
7:03:28 PM
This tactic can make getting past this section quicker on legendary. Run up to the doorway and simply hose down the Covenant with continuous fire from dual plasma rifles. This kills most of the grunts (especially when they're still in the boarding tube) and knocks out the elites' shields so your marines can finish them off. Duck back through the doorway whenever your shields get too low or a grenade comes your way. After the last wave, you'll probably have a few elites left, but you can deal with them the normal way. As a bonus, you have ALL the grenades at your disposal. [by Eric Hartwell]
Also, see Cairo Station Legendary Walkthrough for other hints for this level, and Halo 2 Legendary Tactics & Walkthrough for general Legendary hints.
10:57:44 AM
This tactic can make getting past this section a lot easier on legendary. When you walk into the room, go to the right, into the room and up the stairs. K[ill] the Grunts on the turrets, then look for a crate next to one of the guns. Choose the gun you want to man (preferably facing the enemies), and melee the box directly behind it. Try to position the gun in the center of the box. Now, press X to man the turret. You should go into the box, and be sticking partially out, but still able to aim and shoot. In this position, so long as you positioned the box well, the Covenant won't see you, even as you fire the turret at them. [Halo 2 Trick FAQ by Kyle Barr].
Also, see Cairo Station Legendary Walkthrough for other hints for this level, and Halo 2 Legendary Tactics & Walkthrough for general Legendary hints.
8:22:10 AM
[QuickBase Support Center KnowledgeBase Article #74]
- UPS: http://wwwapps.ups.com
/etracking /tracking.cgi ?tracknum=[Tracking #]&accept_UPS_license_agreement=yes&nonUPS_title=QuickBase%20Package%20Tracking%20System - FedEx:
http://www.fedex.com =[Tracking #]/cgi-bin /tracking ?action=track&language=english&cntry_code=us&initial=x&mps=y&tracknumbers - FedEx Ground:
http://www.fedex.com =[Tracking #]/cgi-bin /tracking ?action=track&language=english&cntry_code=us&initial=x&mps=y&tracknumbers - Fedex Freight:
http://www.fedexfreight.fedex.com = [Tracking #]/protrace.jsp ?as_type=PRO&emailfax=&as_entryPage=Pro%20Number&as_pro
11:53:00 AM
4:31:09 PM
9:20:57 PM
Export HTML Data into Excel Files
Nowadays, many reports are generated as HTML documents for access on the Web. This tip shows you how to export that HTML data as it is (including all the CSS styles, tables borders, etc.) into an .xls file which can be saved and used as you need it. Include the following code in the .jsp page that generates the report/HTML page:
String mimeType = "application/vnd.ms-excel";
response.setContentType(mimeType);
The output is transferred to an .xls document.
Please Note: Microsoft Excel must be installed on the client's computer for this to work.
By MS Sridhar SridharMSmail@yahoo.com
8:44:02 AM
One thing that I would like to enforce in my unit tests are constraints. Examples of constraints are things like read-only properties and sealed classes. If a developer comes along and removes one of those constraints by making the property read-write, or by unsealing the class, those changes are not detectable by simply recompiling the code.
One way to enforce constraints is to write unit tests that assert their existence. To help folks out, I've written the beginnings of a utility class that can be used with NUnit tests. Here's the source code for that class for folks who are interested. Feedback about these ideas would be greatly appreciated.
Public Class AssertEx : Inherits Assertion Public Shared Sub AssertReadOnlyProperty(ByVal t As Type, ByVal propertyName As String) Dim pi As PropertyInfo = t.GetProperty(propertyName) Assert(String.Format("Read-only property {0} in class {1} cannot be read from", propertyName, t.FullName), pi.CanRead) Assert(String.Format("Read-only property {0} in class {1} can be written to", propertyName, t.FullName), Not pi.CanWrite) End Sub Public Shared Sub AssertWriteOnlyProperty(ByVal t As Type, ByVal propertyName As String) Dim pi As PropertyInfo = t.GetProperty(propertyName) Assert(String.Format("Write-only property {0} in class {1} can be read from", propertyName, t.FullName), Not pi.CanRead) Assert(String.Format("Write-only property {0} in class {1} cannot be written to", propertyName, t.FullName), pi.CanWrite) End Sub ' TODO: Implement a visibility property assert - must be internal for example. need to use GetAccessors() ' and assert visibility based on property get/set method visibility Public Shared Sub AssertNotInheritableClass(ByVal t As Type) Assert(String.Format("Class {0} cannot be derived from", t.FullName), t.IsSealed) End Sub Public Shared Sub AssertNonSerializable(ByVal t As Type) Assert(String.Format("Class {0} cannot be serializable", t.FullName), Not t.IsSerializable) End Sub ' TODO: Assert that a class must be abstract Public Shared Sub AssertNotCreatable(ByVal t As Type) Dim cis() As ConstructorInfo = t.GetConstructors() Dim ci As ConstructorInfo For Each ci In cis Assert(String.Format("Non-private constructor found in a class {0} that must not be creatable", t.FullName), ci.IsPrivate) Next End Sub End Class [iunknown.com]11:42:05 AM
8:39:19 PM
7:56:47 AM
- http://www.fu2k.org/alex/css/layouts/3Col_OrderedAbsolute.mhtml (configures tables)
- http://www.csscreator.com/version1/
- http://nide.snow.utoronto.ca/css/
- http://www.cathyjenkins.com/downloads/css.html
- http://www.xmldir.de/quickcss/
- http://www.inknoise.com/experimental/layoutomatic.php
- http://www.wannabegirl.org/firdamatic/
9:24:54 AM
8:23:12 PM
8:34:22 AM
Ingenious email-harvester honeypot. Merlin Mann outlines an ingenious procedure for identifying spammers' email-harvesters' IP addresses and user-agents: In each page I serve, I include a bogus email address, encoded with the date of access as well as the host IP address and embedded in a comment. [Apache's server-side includes are great!] This has allowed me to trace spam back to specific hosts and/or robots. One of the first I caught with this technique was the robot with the user agent "Mozilla/4.0 efp@gmx.net", which always seems to come from argon.oxeo.com - it's identified it above as simply rude.
8:22:27 AM
2:51:28 PM
6:51:53 PM
Prevent unauthorized software on your network with software restriction policies Windows Server 2003 gives you more power than ever before, including the power to control installed software on workstations. Here's a look at how you can use software restriction policies to keep unauthorized software off your network.
7:53:42 AM
8:39:00 PM
Changing the product key on Windows XP Changing a Windows XP product key doesn't always require a complete reinstallation of the OS. We'll show you how to get the job done by editing the registry or using a Microsoft WMI script.
8:29:04 PM
free XML SOAP Monitor
free Authentic 5 XML document editor
8:23:13 PM
4:21:49 PM
iCarbon v2.1.3 {free personal copier} Combine the printer and scanner into a photo copier using iCarbon, which works with TWAIN-compatible scanners. The utility makes the scan/print operation work with one click. After installing, the program immediately and accurately recognized my printer and scanner. The preferences offer inverted image printing. The simple interface displays options for the number of copies, zoom percentage, quality, contrast, and type of copy (RGB, for example). The printer prints the image from the scanner or the Webcam. If you're in a hurry to get a printout of a picture, this takes a two-step process and combines it into one.
4:19:06 PM
6:30:36 PM
Freesco is an open source router/firewall solution with small hardware requirements and minimal administrative overhead. It's perfect for your small IT budget. Find out how to get it up and running.
8:55:35 PM
11:42:45 AM
MSDN Licenses are Perpetual
The licenses for the tools inside your MSDN Subscription are licensed to you for development and test purposes in perpetuity . This means that even if your subscription were to expire, you can still use the tools for development and test purposes, for ever. To learn more about how to become an MSDN Subscriber visit the MSDN Subscriptions Centre.
11:35:34 AM
Panicware's Pop-Up Stopper Free Edition
11:33:00 AM
Free up taskbar space with 4t Tray Minimizer, which minimizes applications as system tray icons instead of buttons on the taskbar. Minimize any open application to the system tray instead of the task bar by right-clicking the minimize button (in the upper right hand corner of applications, there are three buttons: minimize, reduce, and close). Hide any application without displaying its icon in the system tray and restore it by using a list of hidden applications in the Main Window of the program. The program also has the ability to create a Quick Launch style menu for your favorite (or more often-used) applications. Although you can use Quick Launch elsewhere, this may be easier for some to use as opposed to the built-in Windows Quick Launch. It does come with customized keyboard shortcuts. When you start using the program for the first time, it starts with an optional step-by-step tutorial. The free version doesn't store customized settings or come with technical support, however. [Lockergnome Windows Daily]
10:50:45 AM
Admins often need to copy and rebuild exact replicas of system configurations--especially in a testing network. VMware makes it quite simple to transport complete system configurations of virtual machines.
9:40:58 AM
9:58:47 AM
Q. How can I change the product key when I activate my Windows XP installation?
When you install XP, you must enter a product key to register the software with Microsoft. However, if you want to use a different key to activate the software after installation (e.g., maybe you originally used an existing key during installation and have since purchased a new license), perform the following steps:
- Start the activation process as usual (go to Start, All Programs, Accessories, System Tools, then select Activate Windows).
- Click "Yes, I want to telephone a customer service representative to active Windows", then click Next.
- Click the "Change Product Key" button.
- Enter the new key, then click Update.
- Click Telephone, then continue with the activation.
8:20:44 PM
10:05:26 PM
Hekko Virtual CD v1.02 [1.2M] W2k/XP FREE Hekko Virtual CD enables you to create a virtual CD-ROM drive on your PC, which allows you to play CDs without having to insert the actual disk. This not only eliminates the need to switch disks frequently, but also increases the performance of games, since the hard drive can usually be accessed much faster than the CD. Hekko Virtual CD works with most games, music or software programs. You can image as many CDs as you need and the load the virtual image into the drive by using the tray icon. The program uses HekkoScan(tm); nearly any CD can be imaged and played. [MWA] [Lockergnome Windows Daily]
7:13:15 AM
7:34:40 PM
The Matrix Codebreaker. Remember The Matrix, when they do the phone trace and the numbers keep scrolling until the correct number is found? This script randomly chooses the numbers until the correct one is chosen. A cool way to display your messages. [WebDeveloper.com]
9:27:37 AM
MyIE2 Online v0.7.829 beta [657k] W9x/2k/XP FREE {Internet Explorer multi-page browser} Netscape has it. Mozilla has it. Opera has it. Internet Explorer does not have it. What is it? Tabbed browsing. The nice thing about tabbed browsing is that you have only one window open for multiple Web pages instead of one Window per Web page. The MyIE2 interface is similar to the Internet Explorer interface and adds the opened Web sites just beneath the address box. It also comes with its own options separate from IE's where you can select options for filtering popups, windows, favorites, tab appearance, and plug-ins. It also adds a few more system icons such as auto-scrolling, undo, and utility manager. There are two "x" icons, one for closing the current window and the other for closing all windows. Microsoft should adopt this feature; with all other browsers doing it, the company is bound to copy it and add some of its own proprietary stuff to it. If the download or Web site is slow, go to WebAttack for a faster download. [Meryl] [Lockergnome Windows Daily]
9:25:29 AM
EIF Releases With absolutely no fanfare, Enterprise Instrumentation Framework has released. EIF lets you instrument your applications with tracing information that's meant to be left in while the application is in production. Tracing can be turned on and off, and directed to various sinks, simply by modifying a configuration file at run time. You can trace user operations, class operations, requests as they travel through a distributed application, or just about anything else you can imagine. Check it out. MSDN Subscriber Downloads | Content | Developer Tools | Enterprise Instrumentation Framework.[Sean 'Early' Campbell & Scott 'Adopter' Swigart's Radio Weblog]
9:24:35 AM
8:40:05 AM