Archive for category Computer
Disable SSL 2 on Windows Server
|
1.
|
Click Start, click Run, type regedt32 or type regedit, and then click OK.
|
|
2.
|
In Registry Editor, locate the following registry key: HKey_Local_Machine\System\CurrentControlSet\Control\SecurityProviders \SCHANNEL\Protocols\SSL 2.0\Server |
|
3.
|
On the Edit menu, click Add Value.
|
|
4.
|
In the Data Type list, click DWORD.
|
|
5.
|
In the Value Name box, type Enabled, and then click OK. Note If this value is present, double-click the value to edit its current value. |
|
6.
|
Type 00000000 in Binary Editor to set the value of the new key equal to “0″.
|
|
7.
|
Click OK
|
sources: http://support.microsoft.com/kb/187498
testing ssl: http://foundeo.com/products/iis-weak-ssl-ciphers/test.cfm
Tip/Trick: Integrating ASP.NET Security with Classic ASP and Non-ASP.NET URLs
One of the questions I am often asked is “How can I integrate ASP.NET security with Classic ASP other non-ASP.NET URLs?”. Specifically, people want to know if they can integrate ASP.NET’s Forms Authentication, Role Based Security, and URL Authorization features with Classic ASP, PHP, JSP, .HTM, .JPG and other non-ASP.NET URLs.
The good news is that this is pretty easy with ASP.NET 2.0 and IIS 6.0 today, and will get even easier in the IIS 7.0 timeframe. The below blog post demonstrates how to integrate ASP.NET 2.0’s Forms Authentication and Login/Membership features with classic ASP and static .HTML files.
For a much more detailed walkthrough of how to achieve this (as well as how to integrate features like ASP.NET role based authorization with classic ASP applications), please read Chapter 6 of Stefan Schackow’s excellent ASP.NET 2.0 Security, Membership, and Role Management book. Read more
Disable Digital Driver Signing in Windows 7
When you try to install some device drivers on Windows 7, you might come across a warning message that those drivers should be digitally signed. You can get disable this driver signing warning message in Windows 7 with the help of a workaround. How to disable Driver signing in Windows 7? Go to the Start menu and type cmd.exe in the Search Bar. Right click on cmd.exe and choose Run as Administrator. If you have the UAC turned on, choose Yes to proceed. Otherwise, you should see the command windows opened already. In the shell window, copy paste the following and hit Enter. bcdedit.exe -set loadoptions DDISABLE_INTEGRITY_CHECKS bcdedit.exe -set TESTSIGNING ON You’ll get a confirmation that the operation completed successfully, as you can see below: Restart your computer for the changes to take effect. You’ve just disabled digital driver signing in Windows 7.
via: http://www.killertechtips.com/2009/05/05/disable-driver-signing-windows-7/
Intermediate Certification Authorities Error on Internet Explorer
An intermediate certification authority (CA) is a CA that is subordinate to the root CA by one or more levels and typically issues certificates to other CAs in the public key infrastructure (PKI) hierarchy. The other type of subordinate CA is an issuing CA. For native mode communication to be successful in a Configuration Manager 2007 site, the PKI certificates that are used for authentication, encryption, and signing must successfully chain to a trusted root. Certificate chaining is a native process of the Microsoft Windows operating system that involves collecting all the subordinate CAs up to the root CA and validating each certificate in the path. If one certificate in the chain cannot be located or is found to be invalid (for example, expired), the entire chain will be deemed invalid and Configuration Manager 2007 communication will fail.
[ http://technet.microsoft.com/en-us/library/bb693674.aspx ]
Steps to fix:
1. In INTERNET EXPLORE, navigate to TOOLS on the menu
2. Select the 4th tab “Content”
3. Click on “Certificates”, you then see a popup
4. Select 3rd tab “Intermediate Certification Authorities”
5. And remove www.verisign.com/CPS Incorp.by Ref. LIABILITY LTD.(c)97 VeriSign …OR…remove all CA that are expired
6. Close the browser, and open IE again
Javascript string method prototype ex. Remove(), ReplaceAll(), Trim()
String.prototype.trim = function() { return this.replace(/^\s+|\s+$/g, “”); };
String.prototype.replaceAll = function(item,replacewith) {
var s = this;
while (s.indexOf(item) >= 0)
s = s.replace(item, replacewith);
return s;
}
String.prototype.remove = function(item) { return this.replaceAll(item, “”); }
function removeTags(str) {
var tags = ["<B>", "<b>", "</b>", "</B>", " "];
for (var i in tags)
str = str.remove(tags[i], “”);
return str;
}
Javascript: Copy to clipboard with or without flash
function copy_to_clipboard(text)
{
if(window.clipboardData)
{
window.clipboardData.setData('text',text);
}
else
{
var clipboarddiv=document.getElementById('divclipboardswf');
if(clipboarddiv==null)
{
clipboarddiv=document.createElement('div');
clipboarddiv.setAttribute("name", "divclipboardswf");
clipboarddiv.setAttribute("id", "divclipboardswf");
document.body.appendChild(clipboarddiv);
}
clipboarddiv.innerHTML='<embed src="clipboard.swf" FlashVars="clipboard='+
encodeURIComponent(text)+'" width="0" height="0" type="application/x-shockwave-flash"></embed>';
}
alert('The text is copied to your clipboard...');
return false;
}
http://www.webtips.co.in/postimg/clipboard.rar
via: http://www.webtips.co.in/javascript/copy-to-clipboard-with-javascript-on-mozilla-firefox-and-ie.aspx
also: http://code.google.com/p/zeroclipboard/
Audio streaming with A2DP bluetooth headset in windows /PC
Posted by Le Kevin in Computer, Technology on August 11, 2009
Navtively, Mac OS X 10.5+ support A2DP, streaming audio/music.
However, Windows/PC doesn’t support A2dp, you will either need a usb dongle (adapter) , or a software solution below.
BlueSoleil 6

Windows 7, Windows Vista, Windows XP compatible.
Most main Bluetooth chipsets and notebooks are supported.
Transfer files wirelessly between your phone and computer.
Manage phone contacts and messages via BlueSoleil on computer.
http://www.bluesoleil.com/Download/index.asp?topic=bluetooth-mobilephone-headset
Jabra BT8040 Bluetooth Headset (with a2dp support)

A small Bluetooth headset that is packed with features such as MultiPoint technology (the ability to connect to two different devices simultaneously), A2DP for streaming music wirelessly, plus an intelligent noise reduction and volume equalization technology that offers great sound quality.
http://www.jabra.com/Sites/Jabra/Na-us/products/Pages/JabraBT8040.aspx
Appz: DBWin32 Version 2.2
Posted by Le Kevin in Computer, Technology on August 6, 2009
DBWin32, the debug and trace message output capture and display utility for Windows NT, Win2K, XP, ME, ‘95 and ‘98!
This is the utility you’ve been looking for! It let’s you capture and display output generated by Win32 based programs using the OutputDebugString function (MFC programmers use this through the TRACE macro.) This is a great tool when running a debugger is too much of a hassle or is inappropriate. For example debugging Client/Server programs, Active X objects, Internet Server Extensions, NT Services, etc. It can even be used in live released systems to allow you to “look beneath the covers” of your running programs. And now, with version 2.2’s remote viewing capability you can watch output from multiple programs running on multiple PCs at the same time from one location.
- Local output capture and display.
- Local output capture for remote viewing.
- Remote viewing of output being captured on another system.
- Any mix of the above.
via: http://grantschenck.tripod.com/dbwinv2.htm; http://grantschenck.tripod.com/dbwinv2.zip
Appz: nLite – Windows Installation Customizer
Posted by Le Kevin in Computer, Technology on August 6, 2009
nLite – Windows Installation Customizer
![]() |
||
Have you ever wanted to remove Windows components like Media Player, Internet Explorer, Outlook Express, MSN Explorer, Messenger…
How about not even to install them with Windows ?
nLite is a tool for pre-installation Windows configuration and component removal at your choice. Optional bootable image ready for burning on media or testing in virtual machines.
With nLite you will be able to have Windows installation which on install does not include, or even contain on media, the unwanted components.
Features
- Service Pack Integration
- Component Removal
- Unattended Setup
- Driver Integration *
- Hotfixes Integration **
- Tweaks
- Services Configuration
- Patches ***
- Bootable ISO creation
* – Textmode (CD Boot) and normal PnP
** – hotfixes with white icons, *KB*.exe, including update packs
and Internet Explorer 7
***- supports generic SFC, Uxtheme, TcpIp and Usb Polling patching.
nLite supports Windows 2000, XP x86/x64 and 2003 x86/x64 in all languages.
It needs .NET Framework 2.0 in order to run… Check if you have it already, maybe on some of your CDs before downloading if your connection is slow.
You may report on the forum any bugs or annoyances found. And remember it is freeware, meaning that only fuel is a good word or a donation.
How to enable Enable “clr enabled” configuration option
If you are working with SQL server CLR objects there’s a higher possibility that you might encounter the following error.
“Msg 6263, Level 16, State 1, Line 1
Execution of user code in the .NET Framework is disabled. Enable “clr enabled” configuration option”
To overcome this, you have to reconfigure the SQL server to enable CLR objects. To do that, you can use the following commands…
exec sp_configure ‘clr_enable’,'1′
RECONFIGURE
Note : – CLR objects only works with SQL server 2005 and later versions.
Re-Register ASP.Net with IIS
Background
Various error conditions during installation or running the VersionOne application may be caused by issues with the ASP.Net setup within IIS. These issues can often be solved by re-registering ASP.Net with IIS to ensure the correct files are recognized by the web server. Use the Procedure below to run the IIS Registration tool.
Process
ASP.NET can be re-registered with IIS. The specific method depends on the operating system being used. For more information on ASP.Net and the IIS Registration tool, see the related links below.
Windows 2000/XP
To fix this on Windows 2000 or Windows XP, run this command from the Start>Run box or a command prompt (assuming the system directory is C:\Windows):
.Net 1.1: C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i
.Net 2.0: C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i
Windows 2003
On Windows 2003, ASP.NET must be both installed and enabled. To install ASP.NET:
On the taskbar, click the Start button, point to Control Panel, and then click Add or Remove Programs.
In the Add or Remove Programs dialog box, click Add/Remove Windows Components.
In the Components box in the Windows Components Wizard, click the Web Application Server check box, and then click Next.
When the Windows Components Wizard has finished configuring Windows Server 2003, click Finish.
To enable ASP.NET, run this command from the Start>Run box or a command prompt (assuming the system directory is C:\Windows):
.Net 1.1: C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i -enable
.Net 2.0: C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i -enable
via: http://community.versionone.com/KnowledgeBase/FAQs/Q10089.aspx
yahoo messenger “The webcam does not support the required image size” isight webcam
Download this to fix:
iSight patch For Yahoo Messanger
via: http://igreatminds.blogspot.com/2009/02/webcam-does-not-support-required-image.html
Find files in windows using Ms-Dos Command
- Run -> cmd
- cd\
- dir /s/b/l;find “myfile.txt”
Extensions and magic for products like Adobe Dreamweaver, Drupal, jQuery, Fireworks, Prototype, Flex
and http://woork.blogspot.com/2009/01/16-outstanding-free-dreamweaver.html
Google Tracking Migration
Posted by Le Kevin in Computer, SEO - Urchin 6 on May 27, 2009
Initialize page tracking with the functions below.
| Function | Old Style | New Style |
|---|---|---|
| Account to track. Identifies the account number in which the page should be tracked. |
_uacct |
_gat._getTracker(urchinAccount) |
| Track the page. Sends the page tracking data to the Google servers. |
urchinTracker(); |
_trackPageView(opt_pageURL) |
Together, the Initialization and Page Tracking functions should look like the code shown below.
| Old Style | New Style |
|---|---|
| …
|
…
|
Control data collection settings |
Back to Top |
By default Google Analytics will track a set of data elements, such as Flash versions and web browser information. You have the option to turn this detection off by using the functions listed below, but remember – once you do so, you will lose the data permanently.
Control the amount of information you collect by using the functions listed below.
| Function | Old Style | New Style |
|---|---|---|
| Collect browser attributes. Sets the browser tracking module. Controls collection of browser attributes. You can also learn how to disable client tracking for certain pages. |
_ufsc |
_setClientInfo(enable) |
| Detect Flash version. Sets the Flash player version detection flag. |
_uflash |
_setDetectFlash(enable) |
| Detect the page title. Sets the title detection flag. Learn how to configure GA to ignore titles. |
_utitle |
_setDetectTitle(enable) |
Together, the control data collection settings functions should look like the code below.
| Old Style | New Style |
|---|---|
| …
|
…
|
Tracking Subdomains and Third-Party Sites |
Back to Top |
Track a visitor across a site or multiple sites using links or forms with the functions listed below.
| Function | Old Style | New Style |
|---|---|---|
| Share cookies with another domain via HREF or GET. Passes the cookies from visited site to another via query string parameters. |
__utmLinker(this.href); |
_link(targetUrl) |
| Share cookies with another domain via POST. Passes the cookies from visited site to another by adding 0query string parameters in a POST form request. |
__utmLinkPost(this); |
_linkByPost(formObject) |
| Enable linking to another domain. Sets the linker functionality flag. |
_ulink |
_setAllowLinker(true or false) |
| Determine the domain for the tracking cookies. Use when linking across subdomains or to other domain names. |
_udn |
_setDomainName(newDomainName) |
The table below shows what the code will look like when you track multiple sites using a link versus a form.
| Tracking method | Old Style | New Style |
|---|---|---|
| Using a link | …
|
…
|
| Using a form | …
|
…
|
E-Commerce Transaction Tracking |
Back to Top |
Track sales revenue and measure success with the funtions below.
| Function | Old Style | New Style |
|---|---|---|
| Add a new item to an e-commerce transaction. The data in each item line follows a pipe (|) separated list. |
UTM:I|order-id|product name|category|total|quantity |
_addItem(orderId, sku, productName, variation, unitPrice, quantity) |
| Add a new e-commerce transaction to track. The data in each transaction line follows a pipe (|) separated list. |
UTM:T|order-id|affiliation|total|tax|shipping|city|state|country |
_addTrans(orderId, store, total, tax, shippingFee, billingCity, billingState, billingCountry) |
| Send transaction and item data to Google. Use after all the items are added to the transaction. |
__utmSetTrans(); |
_trackTrans() |
Use the code below on your receipt page to track your e-commerce transactions.
| Old Style | New Style |
|---|---|
| …
|
…
|
Campaign Tracking |
Back to Top |
Configure your Google Analytics to track your campaigns using the functions shown below.
| Function | Old Style | New Style |
|---|---|---|
| Set campaign tracking flag. Activates campaign tracking module. |
_uctm |
_setCampaignTrack(enable) |
| Set campaign content key. Parses campaign content from URL. Use this information to create A/B tests with our free Website Optimizer tool. |
_ucct |
_setCampContentKey(newCampContentKey) |
| Set the campaign ID key. Use to parse campaign ID from URL. |
_ucid |
_setCampIdKey(newCampIdKey) |
| Set the campaign medium key. Use to parse campaign medium from URL. |
_ucmd |
_setCampMediumKey(newCampMedKey) |
| Set the campaign name key. Use to parse campaign name from URL. |
_uccn |
_setCampNameKey(newCampNameKey) |
| Set the campaign no-override key. Use to parse campaign no-override value from URL. |
_ucno |
_setCampNOKey(newCampNOKey) |
| Set the campaign source key. Use to parse campaign source from URL. |
_ucsr |
_setCampSourceKey(newCampSrcKey) |
| Set the campaign term/keyword key. Use to parse campaign term or keyword from URL. Should be used to track paid search advertising. |
_uctr |
_setCampTermKey(newCampTermKey) |
| Set allow anchor usage flag for campaigns. When enabled, uses # instead of the default ? to separate the request stem from the query string. |
_uanchor |
_setAllowAnchor(enable) |
Try tracking campaigns with custom field names. Pass these names to the campaign functions on your landing pages so that Google Analytics can recognize your campaign information from your manually tagged URLs.
| Old Style | New Style |
|---|---|
| …
|
…
|
Customizations: Sources |
Back to Top |
Set keyword or referrer ignore preferences, or add new organic search engines to track.
| Function | Old Style | New Style |
|---|---|---|
| Add new ignored organic keyword. List of keywords to ignore. Learn how you can treat certain referral sources as direct traffic. |
_uOno[] |
_addIgnoredOrganic(newIgnoredOrganicKeyword) |
| Add new ignored referrer. List of referral domains to ignore. |
_uRno[] |
_addIgnoredRef(newIgnoredReferrer) |
| Add new organic search engine to track. List of organic search engines to match automatically in referrals. |
_uOsr[] |
_addOrganic(searchEngine, queryVariable) |
Look at the code below to see how you can configure Google Analytics to set ignore preferences and add organic search engines.
| Old Style | New Style |
|---|---|
| …
urchinTracker(); |
…<script type="text/javascript">;
</script> |
Customizations: Cookies |
Back to Top |
Reset and control your cookies so they serve your unique business needs.
| Function | Old Style | New Style |
|---|---|---|
| Set flag to allow domain hash. Create a unique domain hash (or numerical representation) of the domain name, which is then put into cookies. Look at controlling data collection settings to see how this is supposed to be implemented into the code. |
_uhash |
_setAllowHash(true or false) |
| Set new default cookie path. Controls the path in the request used to determine what cookies are (re)set and delivers to the requesting site. By default, Google Analytics sets the cookie path to /. If you would like to change this, send your preferred cookie path to the _setCookiePath function. |
_utcp
… |
_setCookiePath(newCookiePath)
…. |
| Set new default cookie expiration time. Set the campaign tracking cookie timeout in seconds. Google Analytics credits the most recent campaign if conversion happens within six months, but you customize the timeout by sending the desired number of seconds to the _setCookieTimeout function. |
_ucto
… |
_setCookieTimeout(newDefaultTimeout)
… |
| Set the new session timeout in seconds. The standard session timeout is 30 minutes, but you can customize it to what works for your business. Please use this function carefully since this very important setting is used to compute visits. |
_utimeout
… |
_setSessionTimeout(newTimeout)
… |
| Set user defined value. Set the visitor segmentation cookie to help classify the types of visitors coming to your site. For example: new customer vs. prospect, or cat owner vs. dog owner. |
__utmSetVar(newVal);
… |
_setVar(newVal)
… |
| Get the session ID. Return the session ID from the __utma cookie. |
__utmVisitorCode(); |
_visitCode() |
Customizations: Using a Local Server |
Back to Top |
| Function | Old Style | New Style |
|---|---|---|
| Set the new local GIF path. Set the file system path to the __utm.gif file. |
_ugifpath |
_setLocalGifPath(newLocalGifPath) |
| Set operation in both local and remote server mode. Sends data to both Google Analytics backend server and local server. Local server path is determined by _setLocalGifPath() value. Please note that you can track Google Analytis and Urchin software by calling this function in the tracking code. |
_userv = 2;
… |
_setLocalRemoteServerMode()
… |
| Set operation in local server mode. Sends data to a local server. Path to local server is determined by _setLocalGifPath() value. |
_userv = 0; |
_setLocalServerMode() |
| Set operation in remote server mode. Sends data to Google Analytics backend server. |
_userv = 1; |
_setRemoteServerMode() |
https://www.google.com/analytics/settings/check_status_profile_handler?id=1968019







