Skip to content

Instantly share code, notes, and snippets.

davekelly /
Last active Oct 26, 2016 — forked from silviaegt/
Bibliographic metadata sunburst


An attempt to visualize bibliographic (Dewey) metadata with D3 based on Kerry Rodden's Sunburst


Keybase proof

I hereby claim:

  • I am davekelly on github.
  • I am davekelly ( on keybase.
  • I have a public key ASBPbBvtc0vKV14XahM8mmiDIwlBZP30bTyACX8V-2Zl0Qo

To claim this, I am signing this object:

davekelly / 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
View index.html
<!DOCTYPE html>
<script type="text/javascript" src=""></script>
<style type="text/css">
svg {
background: #eee;
davekelly / WordPress URL Update SQL
Created Aug 19, 2013
Update all urls in a WordPress database. Used when migrating a site from one server to another (for example, test to production)
View WordPress URL Update SQL
UPDATE wp_options SET option_value = replace(option_value, '', '') WHERE option_name = 'home' OR option_name = 'siteurl';
UPDATE wp_posts SET guid = replace(guid, '','');
UPDATE wp_posts SET post_content = replace(post_content, '', '');
davekelly / gist:3918937
Created Oct 19, 2012
Add snippet to Magento site
View gist:3918937
* /app/design/frontend/default/your_theme/template/page/intercom-io.phtml
// Settings for the app.
if( $this->helper('customer')->isLoggedIn() ): ?>
<?php $customer = Mage::helper('customer')->getCustomer()->getData(); ?>
<script id="IntercomSettingsScriptTag">
davekelly / gist:2769687
Created May 22, 2012
Add a custom field to a Custom Taxonomy (WordPress)
View gist:2769687
* Used to attach a gallery shortcode to a custom taxonomy (but has more general uses)
* Uses code from:
* @link
// in functions.php / custom post setup file...
davekelly / gist:2354729
Created Apr 10, 2012
Settings for Nettuts+ Fetch SublimeText Plugin
View gist:2354729
// Config settings for commonly used files & packages
"jquery": ""
"bootstrap": "",
You can’t perform that action at this time.