Skip to content

Instantly share code, notes, and snippets.

@aioobe
aioobe / github-fullscreen.js
Created December 13, 2019 23:19
Greasemonkey GitHub Fullscreen
// ==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 April 29, 2016 13:36
Table describing Java access modifiers
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 August 3, 2015 16:23
Jackson / Jongo / MongoDB / JSR-310 reproducer
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;