Monday, December 27, 2010

Windows's Default Share c$

Because of Windows UAC, to allow c$ default share, you'll need to add the following key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

DWORD - LocalAccountTokenFilterPolicy and set the value to 1

Friday, December 24, 2010

Windows 2008 R2 random freezes

Microsoft has a hotfix for "a deadlock condition between the Lsass.exe process, the Redirected Drive Buffering Subsystem (Rdbss.sys) driver, and the Winsock kernel.

http://support.microsoft.com/kb/2265716

Wednesday, December 15, 2010

C# code formatting

http://www.manoli.net/csharpformat/format.aspx#html

For blogger.com, you'll need to use "Design" -> "Edit Html" -> Under <head>, paste
    <link href='http://www.manoli.net/csharpformat/csharp.css' rel='stylesheet' type='text/css'/>
See CSS paste below if you want to incorporate this
.csharpcode, .csharpcode pre
{
 font-size: small;
 color: black;
 font-family: Consolas, "Courier New", Courier, Monospace;
 background-color: #ffffff;
 /*white-space: pre;*/
}

.csharpcode pre { margin: 0em; }

.csharpcode .rem { color: #008000; }

.csharpcode .kwrd { color: #0000ff; }

.csharpcode .str { color: #006080; }

.csharpcode .op { color: #0000c0; }

.csharpcode .preproc { color: #cc6633; }

.csharpcode .asp { background-color: #ffff00; }

.csharpcode .html { color: #800000; }

.csharpcode .attr { color: #ff0000; }

.csharpcode .alt 
{
 background-color: #f4f4f4;
 width: 100%;
 margin: 0em;
}

.csharpcode .lnum { color: #606060; }

JQuery $.ajax call with custom error function

$.ajax({
        url: 'RequestSearchCertificate',
        type: "post",
        data: { registrationNumber: $('#ResultsRegistrationNumberValue').text(),
            changeNumber: $('#ResultsChangeNumberValue').text(),
            searchNumber: $('#ResultsSearchNumberValue').text()
        },
        success: function(response) {
            $('#GenerateCertificateResultDialog').html(response);
            $('#GenerateCertificateResultDialog').dialog("open");
        },
        error: function() {
            alert('error');
        }
    });

Tuesday, November 23, 2010

PDC 2010 videoes

PDC 2010 videoes are available for downloads using 
http://blogs.msdn.com/b/mark/archive/2010/11/03/pdc10-downloader.aspx  or
http://blogs.officezealot.com/maarten/archive/2010/11/04/29870.aspx

If you live in Australia, you might still have to schedule your downloads because your ISP cap your peak time downloads.  Using your favorite download manager, you can either use the following URL:
http://www.microsoftpdc.com/WhatsHappening/Downloadable-Sessions-Available-Now

If you want to manually generate a HTML page with high/low quality vidoes, click on the following RSS and copy and paste that into a word document.  Save that as an html file and if you host that in your local IIS, you can use old school URL grabbers to download just these quality vidoes.
http://coolthingoftheday.blogspot.com/2010/11/pdc-10-session-video-list.html

Fairfax - Transactions Division

Since I've gone through some interviews with Fairfax, it seems appropriate to understand what sites does the "Transactions Division" has:
RSVP, Stayz, APM, InvestSmart, MyType
(See http://digitalministry.com/AU/articles/1057/Digital+People+Lija+Jarvis/1)

Using BuiltWith.com, I've identified the technologies used:
RSVP - J2EE
Stayz - J2EE
APM - ASPX
Invest Smart - classic asp
MyType - J2EE

It seems that for an ASP.Net role, I will only be working on APM or wait for an upgrade for Invest Smart.

Coincidentally the "Fairfax CEO unveils new structure":

http://mumbrella.com.au/fairfax-reunites-digital-and-print-mastheads-36572
Fairfax Media’s major newspaper mastheads are to be reunited with their online versions in the same division as part of the company’s restructure announced this morning.

However, the share market initially reacted poorly to the company’s changes, which do not appear to be particularly far reaching in terms of product strategy. Fairfax’s share price fell to $1.36, close to its low for the year of $1.32.

CEO Brian McCarthy revealed a new organisational structure consisting of nine business units.
  • Metropolitan Media, which will include both print and online editions of the Sydney Morning Herald and The Age within the same unit. It will also include a national sales team
  • Australian Regional Publishing
  • Financial Review Group
  • Fairfax Radio Network
  • New Zealand Media
  • Agricultural Publishing
  • Printing
  • Digital Transactions
  • Trade Me