Skip to content

Instantly share code, notes, and snippets.

View owaincuvelier's full-sized avatar

Owain Cuvelier owaincuvelier

View GitHub Profile

Keybase proof

I hereby claim:

  • I am owaincuvelier on github.
  • I am cuv (https://keybase.io/cuv) on keybase.
  • I have a public key whose fingerprint is C0B7 FD6B 47E5 6BD4 664F 7F68 8D4F 89D6 407D E688

To claim this, I am signing this object:

@owaincuvelier
owaincuvelier / moment.php
Created May 28, 2012 09:18
A piece of code which simply helped me to display two sets of information side by side.
<?php
/**
* Prints json decoded version of XML Object or a SimpleXML Object.
*
* @param $jsondecode If is left will print json_decoded version
* @author Owain Cuvelier owain@humanmade.co.uk
*/
function ohm_handle_lastfm_data( $jsondecode = false ) {