Skip to content

Instantly share code, notes, and snippets.

git log --graph --abbrev-commit --decorate --oneline $(git merge-base origin/master HEAD)~1..
@benjholla
benjholla / Quine.java
Created January 27, 2016 02:25
A simple quine program implementation in Java
public class Quine {
public static void main(String[] args) {
char quote = 34;
String[] code = {
"public class Quine {",
" public static void main(String[] args) {",
" char quote = 34;",
" String[] code = {",
" };",
" for(int i=0; i<4; i++){",