Skip to content

Instantly share code, notes, and snippets.

View marcules's full-sized avatar

marc marcules

  • München, Germany
View GitHub Profile
@marcules
marcules / statelessBuilderFactoryBean.java
Last active November 16, 2016 10:20
Java Builder-Pattern in CDI Context
@Stateless
public class FreshcellsExporterBean {
private static final Log LOG = LogFactory.getLog(FreshcellsExporterBean.class);
@Inject
private FactsGateway facts;
@Inject
private StoreGateway store;
public ExportWrapperBuilder getExportWrapperBuilder(ChannelDescription factsChannel, ChannelDescription storeChannel,
@marcules
marcules / danbooru-converter.py
Created November 9, 2014 02:31
Hydrus Scraping Scripts
# -*- coding: utf-8 -*-
import HydrusTagArchive
import codecs
import string
CSV_FILE = 'danbooru.csv'
DB_FILE = 'danbooru-namespace.db'
h = HydrusTagArchive.HydrusTagArchive( DB_FILE )
@marcules
marcules / keybase.md
Last active August 29, 2015 14:08
Changed main key

Keybase proof

I hereby claim:

To claim this, I am signing this object: