Skip to content

Instantly share code, notes, and snippets.

Process: Affinity Designer [6791]
Path: /Applications/Affinity Designer.app/Contents/MacOS/Affinity Designer
Identifier: com.seriflabs.affinitydesigner
Version: 1.6.1 (1.6.7)
App Item ID: 824171161
App External ID: 826083165
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Affinity Designer [6791]
User ID: 501
import java.util.Scanner;
import java.util.ArrayList;
import java.util.Collections;
import java.io.IOException;
import java.io.BufferedWriter;
import java.io.FileWriter;
import javax.swing.JOptionPane;
public class ColumnSort {
@enmanuelr
enmanuelr / keybase.md
Last active September 19, 2017 13:53

Keybase proof

I hereby claim:

  • I am enmanuelr on github.
  • I am saotome (https://keybase.io/saotome) on keybase.
  • I have a public key ASCW5xJOKe1XXKBLanwN4tsvQPcv27gB3C5Rgx5LPO93QAo

To claim this, I am signing this object:

@enmanuelr
enmanuelr / panacea.conf
Last active December 29, 2015 20:09
Attempt at creating an upstart service
# Panacea - panacea job file
description "Panacea Server"
console log
# When to start the service
#start on runlevel [2345]
start on (local-filesystems and net-device-up IFACE!=lo)
# When to stop the service
@enmanuelr
enmanuelr / gist:5320986
Created April 5, 2013 17:14
Trying to serve static content with golang
package main
import (
"net/http"
)
func main() {
http.Handle("/static/", http.FileServer(http.Dir("/some/dir/with/static/content")))
http.ListenAndServe(":8081", nil)
}
@enmanuelr
enmanuelr / Test.java
Created December 13, 2011 17:30
java group matching sucks
import java.util.regex.Pattern;
import java.util.regex.Matcher;
public class Test {
public static void main(String[] args) {
if (args.length < 2) {
System.out.println("Usage: [command] [string] [regex]");
return;
}