Skip to content

Instantly share code, notes, and snippets.

fredrik-rambris /
Created Sep 27, 2018
Test case for possible bug in JacksonXML
package com.rambris;
import com.ctc.wstx.stax.WstxInputFactory;
import com.ctc.wstx.stax.WstxOutputFactory;
import com.fasterxml.jackson.databind.SerializationFeature;
import com.fasterxml.jackson.dataformat.xml.XmlMapper;
fredrik-rambris / gist:54167cffe48d4287f237
Last active Aug 29, 2015
Script to keep Pidgin available
View gist:54167cffe48d4287f237
#!/usr/bin/env bash
# My Lync client and Pidgin fights over whether I'm inactive or not. I got mad and made this script
# to keep Pidgin status as "available"
while sleep 1 ; do
status="$( purple-remote getstatus )"
if ! [ "$status" = "$KEEP_STATUS" ] ; then
echo "Reset status to $KEEP_STATUS"
purple-remote setstatus?status=$KEEP_STATUS
fredrik-rambris / gist:27be96eb1b8b3edffd21
Created Nov 17, 2014
My verification gist
View gist:27be96eb1b8b3edffd21
### Keybase proof
I hereby claim:
* I am fredrik-rambris on github.
* I am fredrik_rambris ( on keybase.
* I have a public key whose fingerprint is 8D0E D16A 92D4 35D7 0238 1CFF 6354 7C4A B9E0 DD7E
To claim this, I am signing this object: