Skip to content

Instantly share code, notes, and snippets.

@ptaferner
ptaferner / AND_OR_NOT
Created Nov 27, 2015 — forked from oliverdoetsch/AND_OR_NOT
Blogger: Globally conditional data tags for all page types
View AND_OR_NOT
#AND
<b:if cond='data:blog.pageType == "index"'>
<b:if cond='data:blog.searchQuery'>
<!--search_page AND index_page-->
</b:if>
</b:if>
#OR
@ptaferner
ptaferner / .gitignore
Last active Aug 29, 2015 — forked from robflaherty/csv-to-json.php
Convert CSV to JSON
View .gitignore
*.csv
*.json
@ptaferner
ptaferner / 0_reuse_code.js
Last active Aug 29, 2015
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console