Skip to content

Instantly share code, notes, and snippets.

@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 / 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 / .gitignore
Last active April 10, 2018 16:03
Java interfaces vs. abstract classes
*.class
target
@pdurbin
pdurbin / adfs.xml
Last active December 28, 2015 10:29
saml2p:Response with SAMLAssertionConsumer destination
<?xml version="1.0" encoding="UTF-8"?>
<samlp:Response ID="_53961898-e69d-4f31-885b-2da0fc6967ac"
Version="2.0"
IssueInstant="2013-11-15T15:45:56.308Z"
Destination="https://pdurbin.pagekite.me:80/oiosaml.java-demo-8501-debug/saml/SAMLAssertionConsumer"
Consent="urn:oasis:names:tc:SAML:2.0:consent:unspecified"
InResponseTo="_220cf4f3-d3c2-4937-b8ef-c7e86d2bdb7a"
xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
>
<Issuer xmlns="urn:oasis:names:tc:SAML:2.0:assertion">http://adfs.medlab.harvard.edu/adfs/services/trust</Issuer>
@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