An attempt to visualize bibliographic (Dewey) metadata with D3 based on Kerry Rodden's Sunburst
I hereby claim:
- I am davekelly on github.
- I am davekelly (https://keybase.io/davekelly) on keybase.
- I have a public key ASBPbBvtc0vKV14XahM8mmiDIwlBZP30bTyACX8V-2Zl0Qo
To claim this, I am signing this object:
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This example choropleth encodes road deaths in the Republic of Ireland in 2010. The data is taken from the Irish Road Safety Authority. Irish geoJSON data based on https://gist.github.com/2183412. Colours by Colorbrewer.
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Map</title> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js"></script> | |
<style type="text/css"> | |
svg { | |
background: #eee; | |
} | |
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
UPDATE wp_options SET option_value = replace(option_value, 'http://www.old-url.com', 'http://new-url.com') WHERE option_name = 'home' OR option_name = 'siteurl'; | |
UPDATE wp_posts SET guid = replace(guid, 'http://www.old-url.com','http://new-url.com'); | |
UPDATE wp_posts SET post_content = replace(post_content, 'http://www.old-url.com', 'http://new-url.com'); |
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 | |
/* | |
* /app/design/frontend/default/your_theme/template/page/intercom-io.phtml | |
*/ | |
// Settings for the intercom.io app. | |
if( $this->helper('customer')->isLoggedIn() ): ?> | |
<?php $customer = Mage::helper('customer')->getCustomer()->getData(); ?> | |
<script id="IntercomSettingsScriptTag"> |
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 | |
/** | |
* Used to attach a gallery shortcode to a custom taxonomy (but has more general uses) | |
* | |
* Uses code from: | |
* @link http://sabramedia.com/blog/how-to-add-custom-fields-to-custom-taxonomies | |
*/ | |
// in functions.php / custom post setup file... |
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
// http://net.tutsplus.com/articles/news/introducing-nettuts-fetch/ | |
// Config settings for commonly used files & packages | |
{ | |
"files": | |
{ | |
"jquery": "http://code.jquery.com/jquery.min.js" | |
}, | |
"packages": | |
{ | |
"bootstrap": "https://github.com/twitter/bootstrap/zipball/master", |