Skip to content

Instantly share code, notes, and snippets.

View clement-bramy's full-sized avatar

Clement clement-bramy

  • Sydney, Australia
View GitHub Profile
@clement-bramy
clement-bramy / .tmux.config
Created July 13, 2025 23:21
basic tmux.config
# change prefix to ctrl-a
set -g prefix C-a
unbind C-b
bind C-a send-prefix
# activates mouse + selection mode in vi mode
set -g mouse on
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
setw -g mode-keys vi
@clement-bramy
clement-bramy / Main.java
Created May 3, 2015 09:03
How to extract SOAP message's body's content as a new XML document.
package com.semvoz.jdk8.jdom;
import org.jdom2.Document;
import org.jdom2.Element;
import org.jdom2.JDOMException;
import org.jdom2.Namespace;
import org.jdom2.filter.Filters;
import org.jdom2.input.SAXBuilder;
import org.jdom2.output.Format;
import org.jdom2.output.XMLOutputter;