Skip to content

Instantly share code, notes, and snippets.

@pdurbin
pdurbin / index.html
Last active August 29, 2015 14:08
remark.js template
<!DOCTYPE html>
<html>
<head>
<title>Title</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<style type="text/css">
@import url(http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz);
@import url(http://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic);
@import url(http://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700,400italic);
@pdurbin
pdurbin / add-find-learn.png
Last active August 29, 2015 14:08
2014-10-30 Code Review for Dataverse User Account, Authentication and Shibboleth
add-find-learn.png
@pdurbin
pdurbin / README.md
Last active August 29, 2015 14:09
Solr JOIN
@pdurbin
pdurbin / apitest-deploy.png
Last active August 29, 2015 14:21
Build Tools at IQSS
apitest-deploy.png
@pdurbin
pdurbin / branches.png
Last active August 29, 2015 14:22
Using GitHub at IQSS
branches.png
@pdurbin
pdurbin / arch-logo.png
Last active August 29, 2015 14:22
2015-06-09 Towards a Common Deposit API (the Dataverse example)
arch-logo.png
@pdurbin
pdurbin / README.md
Last active October 15, 2015 18:25
Shiny installed via RPM

Shiny installed via RPM

After running vagrant up you should be able to visit http://localhost:3838/sample-apps/hello/ and see "Shiny installed via RPM" at the top and a histogram with black bins similar to the "screenshot.png" found in this directory.

The setup is done by setup.sh and operates on files within the Vagrant VM in "/shiny-setup". See Vagrantfile in this directory for details.

This proof of concept uses the following software versions:

  • CentOS 6.5
@pdurbin
pdurbin / drupal-book-module-export.php
Created January 25, 2013 16:28
drush script to export content from a Drupal book module: http://drupal.org/documentation/modules/book
<?php
$outdir = '/home/pdurbin/drupal/exported';
$old_base_url = 'http://www.example.com';
$limit_post_count_for_testing = 0;
$post_limit = 20;
$formats["4"] = 'txtl';
#$nid = 7; // About