Skip to content

Instantly share code, notes, and snippets.

View mangstadt's full-sized avatar
💾
My code is compiling

Michael Angstadt mangstadt

💾
My code is compiling
View GitHub Profile
private Object decodeJsonValue(JsonParser.ValueContext ctx) {
if (ctx.STRING() != null) {
return ctx.STRING().getText();
}
if (ctx.NUMBER() != null) {
return Integer.valueOf(ctx.NUMBER().getText());
}
if (ctx.object() != null) {
return decodeJsonObject(ctx.object());
}
#
# deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot i386 LIVE/INSTALL Binary 20160427-22:47]/ jessie contrib main non-free
# deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot i386 LIVE/INSTALL Binary 20160427-22:47]/ jessie contrib main non-free
# Line commented out by installer because it failed to verify:
#deb http://security.debian.org/ jessie/updates main contrib non-free
# Line commented out by installer because it failed to verify:
#deb-src http://security.debian.org/ jessie/updates main contrib non-free
Starting bl-welcome for michael at Wed May 25 10:45:08 EDT 2016
 ------------------------------[ page 1 of 19 ]------------------------------
_ _ _____ _ _ ___
| | | | ____| | | | / _ \
| |_| | _| | | | | | | | |
| _ | |___| |___| |__| |_| |
|_| |_|_____|_____|_____\___/
comment:
layout: header, changes, diff
coverage:
ignore:
- src/main/java/biweekly/util/org/.*
- src/main/java/biweekly/util/com/.*
status:
patch: false
precision: 0
Output of the "lshw" command, run with root priviledges.
Question URL: http://unix.stackexchange.com/q/273867/85106
netbook
description: Desktop Computer
product: (To be filled by O.E.M.)
vendor: To Be Filled By O.E.M.
version: To be filled by O.E.M.
serial: To be filled by O.E.M.
#Global logging level
.level=OFF
#Package logging level
oakbot.level=FINE
#Handlers
handlers=java.util.logging.FileHandler
#java.util.logging.ConsoleHandler.level=ALL
//figure out where it's not safe to split the string
boolean inMarkdown[];
{
boolean inBold = false, inItalic = false, inCode = false, inTag = false, inLink = false;
String specialChars = "`*[]"; //note: I don't escape () or _ in DescriptionNodeVisitor, so I'm not going to treat these characters as escapable
inMarkdown = new boolean[message.length()];
for (int i = 0; i < message.length(); i++) {
char cur = message.charAt(i);
char next = (i == message.length() - 1) ? 0 : message.charAt(i + 1);
// Taken from http://stackoverflow.com/a/4777636/410342, and made immutable
public class Pair<L,R> {
private final L l;
private final R r;
public Pair(L l, R r){
this.l = l;
this.r = r;
}
public L getL(){ return l; }
public R getR(){ return r; }