After sharing my struggles with trying to format .NET code on my blog, my co-worker and friend jeff pointed me to this excellent must-have tool for bloggers who post code.
It's a Syntax Highlighter/formatter implemented in javascript so you don't have to mess with the complexity of posting code to your blog anymore. Just wrap your code in a <textarea name="code" class="c#"> and wow! It supports about 12 different languages including, but not limited to C#, VB.Net, SQL, XML.
See examples on my site here on my blog, or see every language sample here on the Syntax Highlighter web site.
3.27.2007
Handy Javascript Syntax Highlighter for Blog Posting
Labels:
blog,
javascript,
syntax,
utilities
3.01.2007
SQL Server 2000 Does What?!?!?!
After hardening a Production SQL Server Cluster, and reviewing the Secuirty Logs to make sure all was well, among many other strange things I saw SQL Server trying to do, I ran across this gem:
Event Type: Failure Audit
Event Source: Security
Event Category: Object Access
Event ID: 560
Date: 2/16/2007
Time: 11:44:36 AM
User: DOMAIN\SQLServiceAccountName
Computer: COMPUTERNAME
Description:
Object Open:
Object Server: Security
Object Type: File
Object Name: C:\AUTOEXEC.BAT
Handle ID: -
Operation ID: {0,533511}
Process ID: 872
Image File Name:
Primary User Name: MACHINE$
Primary Domain: DOMAIN
Primary Logon ID: (0x0,0x3E7)
Client User Name: SQLServiceAccountName
Client Domain: DOMAIN
Client Logon ID: (0x0,0x822BB)
Accesses: READ_CONTROL
SYNCHRONIZE
ReadData (or ListDirectory)
ReadEA
ReadAttributes
Privileges: -
Restricted Sid Count: 0
Access Mask: 0x120089
Pretty cool, eh?
Subscribe to:
Posts (Atom)

