20080114

If James Keller was a DJ

Referring to this post. He would DJ like our boy DJ Swamp!

20080104

Convert XML to HTML using NUnit

[Test]

public void Convert_xml_to_html()

{

string xml = @"<configuration>

...

<system.diagnostics>

<trace autoflush='true' />

<sources>

<source name='System.ServiceModel'

switchValue='Information, ActivityTracing'

propagateActivity='true'>

<listeners>

<add name='FuckingAwesomeWCFLogger'

type='System.Diagnostics.XmlWriterTraceListener'

initializeData='FuckingAwesomeWCF.log' />

</listeners>

</source>

</sources>

</system.diagnostics>

...

</configuration>";

Console.Out.WriteLine(xml.Replace("<", "&lt;").Replace(">", "&gt;").Replace("'", "&quot;").Replace("/", "&#47;").Replace("=", "&#61;"));

}

Logging on WCF Web Services

Tired of wondering what error you have on your failing wcf service?

Add this to your web.cofig
<configuration>
...
<system.diagnostics>
<trace autoflush="true" />
<sources>
<source name="System.ServiceModel"
switchValue="Information, ActivityTracing"
propagateActivity="true">
<listeners>
<add name="FuckingAwesomeWCFLogger"
type="System.Diagnostics.XmlWriterTraceListener"
initializeData="FuckingAwesomeWCF.log" />
</listeners>
</source>
</sources>
</system.diagnostics>
...
</configuration>

20080102

DJ'ing = f'in Awesome!

I don't know about you, but DJ'in is soo awesome. Just makes you touch your music. Also another entertainment peice, another amunition for getting layed with the ladies (human - thanks Justice), and another reason why I'm always broke.

Well just wanted to give you peeps a DJ setup check with ezed!


Fig. 1.1 - My DJ steez and my white girl!

Fig. 1.2 - CDJ 1000MK3 & Rane Empath Steez

Fig 1.3 - Sqratch Steez - Tech 1200 M3D, Scratch Live, & Vestax PMC-07 Pro with Pro-X Fade

I said touch... hehehe.....