Posted April 27th, 2009 by Eric Webb
This is mostly for my purposes…
If you’re having trouble with Vista/Server 2008 not shutting down, try running:
fsutil resource setautoreset true C:\
and then restarting your computer. This resets the NTFS transaction logs on your C: drive which apparently can become corrupted. As a bonus, I think it sped up start-up as well…
Posted in general | No Comments »
Posted April 9th, 2009 by Eric Webb
Helpful article just posted:
http://msdn.microsoft.com/en-us/library/dd638968.aspx
Posted in sharepoint | No Comments »
Posted April 1st, 2009 by Eric Webb
While working on a Sharepoint css file, I was able to use a nift regex instead of copying and pasting all over the place.
The tag I had looked like this:
#MSOZoneCell_WebPartWPQ4 td h3 a
I wanted to add a tag on the end so that it looked like this:
#MSOZoneCell_WebPartWPQ4 td h3 a, #MSOZoneCell_WebPartWPQ5 td h3 a
I used this Regex in Sharepoint Designer to do so:
Find
#MSOZoneCell_WebPartWPQ4 {.*$}
Replace
#MSOZoneCell_WebPartWPQ4 \1, #MSOZoneCell_WebPartWPQ5 \1
The “\1″ is called a “Tagged Expression”. It refers to the part of the value that is tagged in the “Find” syntax. You tag something using brackets, so in this case “.*$” was tagged, which corresponded to this part of the result ” td h3 a”. I had about 10 of these, so this saved me a lot of time.
Posted in job, Regex, sharepoint | No Comments »
Posted March 18th, 2009 by Eric Webb
Found a fantastic logging framework for .Net:
http://www.theobjectguy.com/dotnetlog/
It’s very lightweight, has a ton of loggers already defined, and is easily extensibile. The feature that drew me to it was the ability to log to multiple places at once and to filter what type of entry gets logged to each location. For instance, I wanted to log everything to a text file but only log exceptions to the Windows Event Log. With this framework, it was no problem.
Posted in asp.net | No Comments »
Posted February 27th, 2009 by Eric Webb
I always wondered how to style a single webpart on the page.
http://www.heathersolomon.com/blog/articles/Controlling-Single-Web-Parts-with-CSS.aspx
Been dealing with CSS for a long time and never knew about attribute selectors. Only issue is you can’t be in Quirks mode, which does mess up the rendering of some elements in SharePoint.
Posted in sharepoint | No Comments »
Posted February 3rd, 2009 by Eric Webb
Just came across this today: http://www.blueprintcss.org
Looks like a good starting point for anyone developing a new website. I know from past experience that fighting with page layouts consumed a good chunk of time when I developed a website. So, anything that could save me time would be very useful.
Looks like it even works for Sharepoint!
Posted in general | No Comments »
Posted January 22nd, 2009 by Eric Webb
Came across an interesting issue that I thought I would pass along. For the longest time I couldn’t see any Free/Busy information when I used the Outlook client to connect to Exchange. When I used webmail, the information was there.
I finally figured out why: http://www.networkworld.com/community/node/17227.
After I added the key, the info is available. Unbelievable.
Posted in general | No Comments »