Category Archives: Code
Telerik RadChart vs MSChart (Microsoft)
We had a very large project that required some pretty intense charting of data…coming from an Oil and Gas company. So, you can only imagine the amount of data we had to massage and chart in some way, shape, or … Continue reading
Undo-DiggBar and others…
Nathan Smith over at Sonspring just reminded me of a great script to keep your site out of iframes and other mechanisms some sites use to pawn your content off as their own. <script type=”text/javascript”> /* <![CDATA[ */ if (window.location … Continue reading
960 Grid System
A wonderfully crafted and beautifully designed system to help any and all designers when it comes to Grid Designs/Layouts. Thanks for the awesome resource Nathan!!
Reset or Reseed SQL Server IDENTITY Column
I am sure this is well known by most of you, but I am a noob! and want to help other noobs out there that are like me. I needed to Create a new Cube today, and in the process … Continue reading
SQL: First and Last Day of Year
These lines of code will get you the First and Last day of the current year. SQL: SELECT DATEADD(yy, DATEDIFF(yy,0,getdate()), 0),’First Day of the Year’ UNION SELECT DATEADD(dd,-1,DATEADD(yy,0,DATEADD(yy,DATEDIFF(yy,0,getdate())+1,0))),’Last Day of the Year’ Results: 2008-01-01 00:00:00.000 First Day of the Year … Continue reading