Saturday, April 11, 2015

Grunt and npm notes

SASS notes

Icon Fonts are Awesome

​First saw this demo page:  Icon Fonts are Awesome.

And then read the article about it.

Then tried it out using Icomoon's tool/app (after seeing how to use Icomoon icons with SASS).

How to write cleaner CSS and smarter SASS

How to write cleaner CSS and smarter SASS
Anthony DiSpezio explains how to leverage mixins and extends at the same time, to write smarter Sass and cleaner CSS.

Saturday, March 14, 2015

Cannot update Windows with error C80003F9

Clearing the SoftwareDistribution folder fixed it.  Steps here.
Essentially:  stop the Windows Update service, then rename the SoftwareDistribution folder under %windir%, and then restart the Windows Update service.

Tuesday, February 10, 2015

Notes on querying metadata in SharePoint 2013


CAML Query with Managed Metadata (quote):
Just use the field as you would any lookup, basing your query on the display value, not the ID. SharePoint will support any types of queries you can on a text field, such as equals, contains or begins with. So you can even enter just a couple of characters and receive search results! Something like this works great:
<where>
<contains>
<fieldref name="ManagedMetadata">
<value type="TaxonomyFieldType">My Value</value>
</fieldref>
</contains>
</where>

Managed MetaData “ampersand” values
Essentially, this works:
<Eq>
<FieldRef Name='MyTaxonomyField' />
<Value Type='TaxonomyFieldType'>Science \uFF06 Technology</Value>
</Eq>