by Colin Graham
29. February 2012 01:03
One of the guys found this useful tool for testing links and sharing from facebook.
http://developers.facebook.com/tools/debug
47424cef-44bb-442e-9351-0e4deaeea136|0|.0
Tags:
Facebook
by Colin Graham
8. February 2012 23:34
Great article on how to write SEO friendly URL in terms of duplicate content for the homepage.
http://swortham.blogspot.com/2008/12/redirecting-default-page-defaultaspx-to.html
thanks Steve
587d6ce7-d57b-4c9e-92db-1f6862f9bbc0|0|.0
Tags:
SEO
by Jeremy Brown
3. February 2012 01:43
Useful MIME types for Microsoft Office documents:
You upload a file to your CMS via your rich text box but you get a 404 error.
The solution to this is Internet Information Services (IIS)
Out of the box, IIS6 only accepts requests for known MIME types. Since Office 2007 was released after Windows Server 2003 and IIS6, IIS6 knows nothing about the new MIME types. So you need to manually add them:
Open Computer Management. (Right-click My Computer… Manage…)
Right-click Internet Information Services (IIS) Management… Properties…
Click MIME Types…
Click New… and add the following:
| .docx |
application/vnd.openxmlformats-officedocument.wordprocessingml.document |
| .xlsx |
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet |
| .pptx |
application/vnd.openxmlformats-officedocument.presentationml.presentation |
61bad2f2-7c3a-4945-9430-20a150e62a3b|0|.0
Tags:
Hosting
by Jeremy Brown
2. February 2012 22:10
Total database size script
SELECT
[SpaceUsed(KB)] = SUM(alloc.used_pages)*8
FROM sys.objects obj
JOIN sys.indexes idx on obj.object_id = idx.object_id
JOIN sys.partitions prt on obj.object_id = prt.object_id
JOIN sys.allocation_units alloc on alloc.container_id = prt.partition_id
WHERE
obj.type = 'U' AND idx.index_id IN (0, 1)
18c2ff33-0adb-449f-8039-fe08c2b2e8d4|0|.0
Tags:
by Colin Graham
2. February 2012 02:08
One painful experience we have had this week has been in converting some data from one of our databases into a .csv. This sounds simple doesn't it ?? however there were very specific requirements as the .csv had to be imported into a second system.
We were using the stringbuiler.append method but found that the only way this would work was via the Stringbuilder.appendline method.
anyway hope this can help someone else out there.
C