Skip to content

Instantly share code, notes, and snippets.

View geissebn's full-sized avatar

Benjamin Geißelmeier geissebn

  • E. Breuninger GmbH & Co.
  • Stuttgart, Germany
View GitHub Profile
#include <Esp.h>
void setup() {
pinMode(LED_BUILTIN, OUTPUT);
}
void loop() {
digitalWrite(LED_BUILTIN, HIGH);
delay(500);
digitalWrite(LED_BUILTIN, LOW);
import java.io.File;
import java.io.IOException;
import org.apache.pdfbox.pdmodel.PDDocument;
import org.apache.pdfbox.pdmodel.common.PDPageLabelRange;
import org.apache.pdfbox.pdmodel.common.PDPageLabels;
public class RomanPageLabels {
public static void main(String[] args) throws IOException {
@geissebn
geissebn / ModifyPDFMetadata.java
Last active September 21, 2015 16:25
demo code for the jadice knowledge base article at https://levigo.de/info/x/kYHHAQ
import java.util.Calendar;
import org.apache.activemq.ActiveMQConnectionFactory;
import org.apache.jempbox.xmp.XMPMetadata;
import org.apache.jempbox.xmp.XMPSchemaBasic;
import org.apache.jempbox.xmp.XMPSchemaDublinCore;
import org.apache.jempbox.xmp.XMPSchemaPDF;
import org.w3c.dom.Document;
import com.levigo.jadice.server.Job;
@geissebn
geissebn / SendMailDemo.java
Last active August 29, 2015 14:02
demo code for the jadice knowledge base article at https://levigo.de/info/display/JKB/Senden+einer+E-Mail
/*
Copyright (c) 2015, levigo holding gmbh.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
/*
Copyright (c) 2014, levigo holding gmbh.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,