Skip to content

Instantly share code, notes, and snippets.

View philipsoutham's full-sized avatar
🚀
I will be slow to respond.

Philip Southam philipsoutham

🚀
I will be slow to respond.
View GitHub Profile
@stefb69
stefb69 / LDAPAuth.pm
Last active February 28, 2017 15:57
Simple and per location customizable LDAP Authentication for nginx, using embedded perl and ngx_http_auth_request_module
#!/usr/bin/perl
package LDAPAuth;
use nginx;
use Authen::Simple::LDAP;
use MIME::Base64;
sub handler {
my $r = shift;
@lolzballs
lolzballs / HelloWorld.java
Created March 22, 2015 00:21
Hello World Enterprise Edition
import java.io.FileDescriptor;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.io.PrintStream;
public class HelloWorld{
private static HelloWorld instance;
public static void main(String[] args){
instantiateHelloWorldMainClassAndRun();