Skip to content

Instantly share code, notes, and snippets.

View mafulafunk's full-sized avatar

Martin Funk mafulafunk

  • Freelancer
  • Wiesbaden, Germany
View GitHub Profile
package ch_015;
import java.time.LocalDate;
import java.util.function.Function;
import java.util.function.Supplier;
public class SuppliFication {
public static void main(String[] args) {
Function<MySupplier, String> foo = MySupplier::get;
System.out.println(foo.get());

Keybase proof

I hereby claim:

  • I am mafulafunk on github.
  • I am funkattack (https://keybase.io/funkattack) on keybase.
  • I have a public key whose fingerprint is C431 F645 A11D BA07 999F BF29 1182 C715 8145 05F2

To claim this, I am signing this object:

@mafulafunk
mafulafunk / URLTest.java
Created January 17, 2012 09:45
URL get Content as InputStream, ignore any SSL security
package de.martinfunk;
import java.io.IOException;
import java.io.InputStream;
import java.net.Authenticator;
import java.net.PasswordAuthentication;
import java.net.URISyntaxException;
import java.net.URL;
import java.net.URLConnection;
import java.security.KeyManagementException;