Skip to content

Instantly share code, notes, and snippets.

Jakob Henriksson metajungle

Block or report user

Report or block metajungle

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 Sort.java
package net.metajungle.sorting;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
/**
* Sorting algorithms
*
* @author b0kaj
@metajungle
metajungle / QuickSort.java
Last active Feb 21, 2016
Quick sort in Java using the left-most element as the pivot
View QuickSort.java
package net.metajungle.sorting;
import java.util.Arrays;
public class QuickSort {
/**
* Quick sort the given array in ascending order
*
* @param array
@metajungle
metajungle / ec2-augment.py
Created Jan 17, 2016
Augments response from Ansible EC2 dynamic inventory with additional non-tagged host groups
View ec2-augment.py
#!/usr/bin/env python
"""
Augments response from Ansible EC2 dynamic inventory with additional
non-tagged host groups
To run:
$ (virtualenv) python ec2-augment.py --list
Tested with Python 2.7.10
You can’t perform that action at this time.