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
Start Slide Show with PicLens LiteCannot start Microsoft Office Outlook 2007, Unable to open the Outlook window
START>RUN>Outlook.exe /resetnavpan
Start Slide Show with PicLens LiteJavaScript Support and Array.indexOf in IE
if (!Array.indexOf) {
Array.prototype.indexOf = function (obj, start) {
for (var i = (start || 0); i < this.length; i++) {
if (this[i] == obj) {
return i;
}
}
}
}
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
Cali
Posted by admin in Lomo Photography on January 14, 2010
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/
Start Slide Show with PicLens LiteIntermediate 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
Digital Photography Printing Workflow
Posted by admin in Photography on December 7, 2009
- If you have not already installed the profile(s) on your system, you need to do so before proceeding.
- Open the image in Photoshop.
- Note: If you are presented with a profile mismatch dialog, select “Use the embedded profile”. Do not let Photoshop convert the file upon opening. Without knowing what color space to convert from, this is asking for trouble
- Assign your scanner or camera profile to the image (Image→Mode→Assign Profile). We’ve now told Photoshop how to interpret the image colors. If you do not have a profile for your input device, use the closest suitable working space (usually Adobe RGB or sRGB), if the image is not already in the correct color space.
- Convert the image to a suitable editing color space. If you don’t have other preferences, Adobe RGB is a reasonable choice. You do not want to edit the image in the device color space — it describes how your camera or scanner sees the world, which does not translate into a well behaved editing space.
- Note: If you do not have a scanner or camera profile, simply ignore the first three steps.
- Note: The above steps can be turned into an action or droplet for automatic/batch processing.
- Edit until you are happy. Save the file.
- Make a duplicate of the image. The original should be saved as a master copy, suitable for printing on any printer. We’ll now work on the duplicate, and tune it to optimize the colors you get on your printer.
- Now it is time to soft proof to see how the print will look. Choose the duplicate image, and select View→Proof Setup→Custom.

Photoshop CS2, CS3 and above

Photoshop 6, 7, and CS
- Select the profile to use from the drop-down list in the Proof Setup dialog box.
- Check the Preview box and turn on Black Point Compensation to accurately scale the black level in your image to the printer’s black.
- Do not select Preserve Color Numbers. This shows how your image would look if you did not do a color space conversion — just the opposite of what you want.
- Experiment with rendering intent. You can quickly switch between rendering intents in the Soft Proof dialog – just have the Preview option checked. Relative Colorimetric often gives the best results. Perceptual or Saturation can be better if your image contains many out-of-gamut colors. Absolute Colorimetric rendering is often used for mid-stage print proofing; if you are familiar with this, you don’t need this document.
- For most images Relative Colorimetric rendering produces superior results. For others, Perceptual will be far better. These cases include images with significant shadow details where a slight lightening of the print is acceptable to open up the shadows. Also images with areas of highly saturated color can benefit from Perceptual rendering. If you see color banding is the soft proof with Rel. Color. selected, try Perceptual. With experience you will get a feel for which images best pair with each rendering intent.
- Our profiles built after July 2004 feature a Saturation intent that is tuned to provide maximum useable saturation in the prints. If an image will benefit from increased saturation, give the Saturation intent a try. Most profiles either reserve the Saturation intent for PowerPoint-type graphics use or simply map it to the Perceptual intent. Our new profiles are designed to give photographers another technique to get the best prints possible.
- Note: If you have setups that you use frequently, they can be saved using the “Save” button in the Proof Setup dialog. This makes the setting available directly from the View→Proof Setup menu.
- If you wish to save a proof setup as the default, hold down the Alt/Option key. The “Save” button changes into “→Default”. Push the button to save the selected proof setup as Photoshop’s default.
- Simulation options:
- These attempt to show the reduced contrast range the printed page will have vs. what your monitor can show. Without them you will have an over-optimistic view of the final contrast.
- It is easiest to perform any major color and tonal adjustments without Simulate Paper Color/Paper White or Black Ink checked.
- The Black Ink simulation should be checked to see if the shadow detail in your source image will hold up in print. This is particularly important for images with significant shadow detail. If your shadow details disappear, selective dodging can bring them back.
- Simulate Paper Color/Paper White attempts to show the effects of the difference between your monitor’s white level and the (usually) less bright paper. This simulation is less accurate than the Ink Black, but is helpful for ensuring critical highlight details hold up.
- When you check the Simulate Paper Color/White box, the look of the image will likely change dramatically. This is an artifact of Photoshop trying to make the light emitted from your monitor match the look of light reflected from the printed page. The simulation works best if all white user interface elements (toolbars, palettes, etc.) are hidden. Use Photoshop’s Full Screen mode for the most accurate view, and glance away as you switch the simulation on.
- If you do not see significant changes when soft proofing, this is OK. This means your image contains colors that mainly lie within the printer’s gamut. If the images do not match well enough, the following steps can help.
- Set the highlight and shadow points in the Levels dialog box. In Photoshop, hold down Alt/Option while adjusting the level sliders. This will show any shadow or highlight clipping that occurs. The ideal setting is usually the point right before clipping occurs.
- What’s going on? The problem is that your monitor screen is capable of showing a much wider contrast range (usually 300-500x between black and white) than is the printed page. By adjusting the Soft Proof image you can visually compensate for some of the discrepancy. An intelligent levels adjustment, or slight boost to saturation is usually all it takes to give your prints the needed pop.
- Any color casts or lack of saturation can usually be fixed by minor curves tweaks. See the references for links to editing techniques.
- If you can’t seem to get one or more colors right, the problem may be that your monitor is not capable of displaying the colors correctly. To check for this, soft proof using your monitor profile, and turn on the gamut warning (View→Gamut Warning). This is a useful technique in other cases, and is a good check when your prints do not match your monitor.
- If you are not familiar with how your printer responds, or do not trust the profile, it is a good idea to check for out-of-gamut colors (View→Gamut Warning). Using a selected color range, you can (in order of preference) reduce the lightness, tweak the hue, or very slightly reduce the saturation to bring the problem colors within gamut. Note that all your edits are being performed in the file’s editing color space rather than in the printer color space. This makes edits more predictable and controllable.
- At this point, you may want to convert the image to the output color profile (Edit→Convert to Profile for Photoshop CS3 and CS2 or Image→Mode→Convert to Profile for previous versions). This is particularly true if you are sending the image to be printed on a device such as a Fuji Frontier or other digital lab printer. These machines do not read embedded profiles, so without the conversion, all your hard work will be wasted.
- Our preference is to archive both versions of the image — the original and the converted and profiled duplicate. To print the image on a different printer, start with the original rather than performing endless series of profile conversions that will slowly degrade the image.
Printing with ICC Profiles:
- If you are printing directly from Photoshop, you want to ensure that your printer is set up exactly as it was when you printed the profiling target. In most cases, this means turning off all printer color management and automatic image enhancements. You are letting the profile and Photoshop’s conversion do the color work rather than relying on some image-dependent algorithm.
- If you are using a CMYK printer, the details of CMYK separations are beyond the scope of this brief list. In most cases, this is not terribly difficult — get a good reference book.
- It is essential to avoid applying the profile twice. This typically happens when printing to desktop printers with drivers that are all too happy to try their hand at color management. Use the Print With Preview dialog in Photoshop 7.0 and later to gain access to all the color options. Be sure to check the “More Options” button to see the color settings. (These are available in the Print dialog in Photoshop 6.)
- If you are sending the image out to be printed, either talk with the print operator first or give written instructions. You usually want to provide a file that has been converted to the printer profile. Tell the operator not to monkey with your image or apply any automatic enhancements. For more Fuji Frontier and Noritsu specific information, refer to our profile usage instructions.
- A rough evaluation of your profile can be made by comparing an
electronic version of a GretagMacbeth™ ColorChecker® to the real thing. Other electronic formats, including CIE LAB, Adobe RGB, and Pro Photo RGB are available here.
- A rough evaluation of your profile can be made by comparing an
Print Matching
If you have concerns about the print matching your display, first ensure that the monitor is accurately calibrated and profiled. As mentioned above, the entire color managed workflow hinges on your monitor’s color accuracy. Check that your monitor profile is actually being used by Photoshop:
- Open the RGB Working Space list in Photoshop’s Color Settings dialog box.
- Scroll up until you come to the line “Monitor RGB — xxxx”
- If xxxx is not the name of your monitor profile, something is amiss. Either your profile is not installed as the system default, or the profile itself is bad. Try regenerating the profile.
- Important: Press Cancel to exit the Color Settings dialog box without inadvertently doing something dumb such as selecting your monitor profile as your default working space.
Our profiles are tuned by default to viewing under D50 illumination. This is not the same as standard incandescent, fluorescent, or sun light. We can create profiles for these conditions, but D50 is the publishing industry standard. For critical color matching, view the prints in a D50 light booth. The light emitted from your monitor will never be a perfect match for light reflecting from a print surface, but our printer profiles combined with your accurately profiled monitor should get you very close indeed.
via: http://www.drycreekphoto.com/Learn/profiles.htm
Dowload Using Printer Profiles Workflow PDF
Start Slide Show with PicLens LiteOpen a Delimited Text file using OPENROWSET and OPENDATASOURCE
SELECT *
FROM OPENROWSET
(‘MSDASQL’,
‘Driver={Microsoft Text Driver (*.txt; *.csv)};
DefaultDir=C:\Users\Kevin\Downloads\zcugoem;Extended properties=”ColNameHeader=True;Format=Delimited;”’,
‘SELECT * FROM ZCUGOEM.TXT’);
or
SELECT *
FROM OPENDATASOURCE(‘Microsoft.Jet.OLEDB.4.0′,
‘Data Source=E:\SQL\;Extended Properties=”Text;HDR=No;FMT=Delimited”‘)…[ZCUGOEM#TXT]
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/
Microsoft Access Data Types
The following table shows the Microsoft Access data types, data types used to create tables, and ODBC SQL data types.
| Microsoft Access data type | Data type (CREATETABLE) | ODBC SQL data type |
|---|---|---|
| BIGBINARY[1] | LONGBINARY | SQL_LONGVARBINARY |
| BINARY | BINARY | SQL_BINARY |
| BIT | BIT | SQL_BIT |
| COUNTER | COUNTER | SQL_INTEGER |
| CURRENCY | CURRENCY | SQL_NUMERIC |
| DATE/TIME | DATETIME | SQL_TIMESTAMP |
| GUID | GUID | SQL_GUID |
| LONG BINARY | LONGBINARY | SQL_LONGVARBINARY |
| LONG TEXT | LONGTEXT | SQL_LONGVARCHAR[2] SQL_WLONGVARCHAR[3] |
| MEMO | LONGTEXT | SQL_LONGVARCHAR[2] SQL_WLONGVARCHAR[3] |
| NUMBER (FieldSize= SINGLE) | SINGLE | SQL_REAL |
| NUMBER (FieldSize= DOUBLE) | DOUBLE | SQL_DOUBLE |
| NUMBER (FieldSize= BYTE) | UNSIGNED BYTE | SQL_TINYINT |
| NUMBER (FieldSize= INTEGER) | SHORT | SQL_SMALLINT |
| NUMBER (FieldSize= LONG INTEGER) | LONG | SQL_INTEGER |
| NUMERIC | NUMERIC | SQL_NUMERIC |
| OLE | LONGBINARY | SQL_LONGVARBINARY |
| TEXT | VARCHAR | SQL_VARCHAR[1] SQL_WVARCHAR[2] |
| VARBINARY | VARBINARY | SQL_VARBINARY |
via: http://msdn.microsoft.com/en-us/library/ms714540%28VS.85%29.aspx
via: http://www.sunfinedata.com/tips/create-an-ms-access-database-by-asp-vbscript/
Start Slide Show with PicLens LiteChange or Alter multiple database table schema
Sometime as a database developer, we might come across changing the schema for the whole database
This is one way to do it; by generating multiple queries in the query editor:
SELECT ‘EXEC(‘’sp_changeobjectowner @objname = ””oldDBO.’ + name +’ ”” , @newowner = dbo”) ‘
FROM sys.tables
WHERE schema_id = SCHEMA_ID(‘oldDBO’);
Also below is the drop multiple tables by query from the sys.objects.
In this change where is by order date:
SELECT * INTO #tables from sys.objects where create_date > ‘2009-10-27 21:47:20.993′
while (SELECT count(1) FROM #tables) > 0
begin
declare @sql varchar(max)
declare @tbl varchar(255)
SELECT top 1 @tbl = name FROM #tables
SET @sql = ‘drop table ‘ + @tbl
exec(@sql)
DELETE FROM #tables where name = @tbl
end
DROP TABLE #tables;
Start Slide Show with PicLens Lite









Recent Comments