This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.metajungle.sorting; | |
import java.util.Arrays; | |
public class QuickSort { | |
/** | |
* Quick sort the given array in ascending order | |
* | |
* @param array |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.metajungle.sorting; | |
import java.util.ArrayList; | |
import java.util.Collections; | |
import java.util.List; | |
/** | |
* Sorting algorithms | |
* | |
* @author b0kaj |