This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Show/Hide desktop icons via command line alias | |
# Add this to .bash_profile | |
# http://osxdaily.com/2009/09/23/hide-all-desktop-icons-in-mac-os-x/ | |
alias hidedesk='defaults write com.apple.finder CreateDesktop -bool false; killall Finder;' | |
alias showdesk='defaults write com.apple.finder CreateDesktop -bool true; killall Finder;' | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: WP.com Open Graph Tags | |
* Description: Add Open Graph tags so that Facebook (and any other service that supports them) can crawl the site better and we provide a better sharing experience | |
* Author: Automattic | |
* License: GPLv2, baby! | |
* | |
* @link http://ogp.me/ | |
* @link http://developers.facebook.com/docs/opengraph/ | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/php -q | |
<?php | |
/** | |
* A simple PHP Cli script to append items from a | |
* Jira RSS feed to a todo.txt file. | |
* | |
* I use this to access my work Jira issue list and update | |
* my todo.txt which syncs via Dropbox to todo.txt Android app. | |
* | |
* @author Kevin D. Wolski |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body{ | |
background:url(http://lorempixel.com/1024/768/) no-repeat; | |
background-size:cover; | |
} | |
#container{ | |
width:90%; | |
margin:-10px auto; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set status override on nodes in XML Sitemap when they have a noindex meta tag set | |
# For sites using XML Sitemap and Meta Tag modules | |
UPDATE xmlsitemap JOIN metatag ON ( metatag.entity_id = xmlsitemap.id) | |
SET xmlsitemap.status_override = 1 | |
WHERE xmlsitemap.id = metatag.entity_id AND metatag.data LIKE '%noindex%' |