Skip to content

Instantly share code, notes, and snippets.

Avatar

Andreas Lundblad aioobe

View GitHub Profile
@aioobe
aioobe / github-fullscreen.js
Created Dec 13, 2019
Greasemonkey GitHub Fullscreen
View github-fullscreen.js
// ==UserScript==
// @name GitHub Fullscreen
// @match https://github.com/*
// ==/UserScript==
document.querySelectorAll(".container-lg")
.forEach(e => e.classList.remove("container-lg"));
@aioobe
aioobe / java-access-modifiers.svg
Created Apr 29, 2016
Table describing Java access modifiers
View java-access-modifiers.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View Main.java
public class Main {
public static void main(String[] args) {
Person andreas = new Person("Andreas");
Werewolf w = new Werewolf(andreas);
w.brain.think();
}
}
class Person {
String name;
@aioobe
aioobe / JacksonJSR310Reproducer.java
Created Aug 3, 2015
Jackson / Jongo / MongoDB / JSR-310 reproducer
View JacksonJSR310Reproducer.java
package jacksonrepro;
import java.net.UnknownHostException;
import java.time.Instant;
import java.util.Arrays;
import org.jongo.Jongo;
import org.jongo.Mapper;
import org.jongo.MongoCollection;
import org.jongo.marshall.jackson.JacksonMapper.Builder;
You can’t perform that action at this time.