Skip to content

Instantly share code, notes, and snippets.

Fredrik Rambris fredrik-rambris

Block or report user

Report or block fredrik-rambris

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
@fredrik-rambris
fredrik-rambris / App.java
Created Sep 27, 2018
Test case for possible bug in JacksonXML
View App.java
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;
import javax.xml.stream.XMLInputFactory;
import javax.xml.stream.XMLOutputFactory;
import javax.xml.stream.XMLStreamException;
@fredrik-rambris
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"
KEEP_STATUS="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
fredrik-rambris / gist:27be96eb1b8b3edffd21
Created Nov 17, 2014
My keybase.io verification gist
View gist:27be96eb1b8b3edffd21
### Keybase proof
I hereby claim:
* I am fredrik-rambris on github.
* I am fredrik_rambris (https://keybase.io/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:
You can’t perform that action at this time.