Skip to content

Instantly share code, notes, and snippets.

Tammo van Lessen vanto

Block or report user

Report or block vanto

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View SAAJ-71.patch
Index: src/java/com/sun/xml/messaging/saaj/soap/SOAPPartImpl.java
===================================================================
--- src/java/com/sun/xml/messaging/saaj/soap/SOAPPartImpl.java (revision 450)
+++ src/java/com/sun/xml/messaging/saaj/soap/SOAPPartImpl.java (working copy)
@@ -285,7 +285,7 @@
log.severe("SAAJ0545.soap.cannot.set.src.for.part");
throw new SOAPExceptionImpl(
- "Error setting the source for SOAPPart: " + ex.getMessage());
+ "Error setting the source for SOAPPart: " + ex.getLocalizedMessage(), ex);
View setup-statsd.sh
# update apt's package list
sudo apt-get update
# install git
sudo apt-get install g++ curl libssl-dev apache2-utils
sudo apt-get install git-core
# install node
sudo apt-get install nodejs
# install the Node package manager (npm) for later use
sudo apt-get install npm
sudo npm install express
@vanto
vanto / README.md
Last active Feb 6, 2019
OEmbed Liquid Tag for Jekyll
View README.md

OEmbed Liquid Tag for Jekyll

This is a simple liquid tag that helps to easily embed images, videos or slides from OEmbed enabled providers. It uses Magnus Holm's great oembed gem which connects to the OEmbed endpoint of the link's provider and retrieves the HTML code to embed the content properly (i.e. an in-place YouTube player, Image tag for Flickr, in-place slideshare viewer etc.). By default it supports the following OEmbed providers (but can fallback to Embed.ly or OoEmbed for other providers):

  • Youtube
  • Flickr
  • Viddler
  • Qik
  • Revision3
  • Hulu
  • Vimeo
You can’t perform that action at this time.