This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
play.shaded.ahc.org.asynchttpclient.threadPoolName=AsyncHttpClient | |
play.shaded.ahc.org.asynchttpclient.maxConnections=-1 | |
play.shaded.ahc.org.asynchttpclient.maxConnectionsPerHost=-1 | |
play.shaded.ahc.org.asynchttpclient.connectTimeout=5000 | |
play.shaded.ahc.org.asynchttpclient.pooledConnectionIdleTimeout=60000 | |
play.shaded.ahc.org.asynchttpclient.connectionPoolCleanerPeriod=1000 | |
play.shaded.ahc.org.asynchttpclient.readTimeout=60000 | |
play.shaded.ahc.org.asynchttpclient.requestTimeout=60000 | |
play.shaded.ahc.org.asynchttpclient.connectionTtl=-1 | |
play.shaded.ahc.org.asynchttpclient.followRedirect=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"ignition": { "version": "2.0.0" }, | |
"storage": { | |
"disks": [ | |
{ | |
"device": "/dev/sda", | |
"wipeTable": false, | |
"partitions": [{ | |
"label": "raid.1.1", | |
"number": 10, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Upstart script for a play application that binds to an unprivileged user. | |
# put this into a file like /etc/init/playframework | |
# you can then start/stop it using either initctl or start/stop/restart | |
# e.g. | |
# start playframework | |
# http://dominikdorn.com | |
description "Description of your app" | |
author "Dominik Dorn <dominik@studyguru.eu>" | |
version "1.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.dominikdorn.vaadin7ee</groupId> | |
<artifactId>javaee7demo</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<packaging>war</packaging> | |
<name>javaee7demo</name> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.dominikdorn.vaadin7ee.demo.example_one; | |
import com.vaadin.server.VaadinServlet; | |
/** | |
* Subclass of the VaadinServlet to fix issues with the Classloader | |
* not finding our UIs and Themes. | |
* | |
* @author Dominik Dorn <dominik -at- dominikdorn -dot- com> | |
* http://dominikdorn.com/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.ArrayList; | |
import java.util.Collection; | |
import java.util.Iterator; | |
import java.util.List; | |
public class CollectionHelper { | |
public static <T, U extends Collection<T>> List<U> splitCollectionBySize(final U collection, final int sizePerList) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" ?> | |
<entity-mappings | |
xmlns="http://java.sun.com/xml/ns/persistence/orm" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm | |
http://java.sun.com/xml/ns/persistence/orm_1_0.xsd" | |
version="1.0"> | |
</entity-mappings> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! runhugs | |
-- Testfaelle fuer Aufgabe 9 der LVA 185.161 Funktionale Programmierung im WS09/10 | |
-- an der Technischen Universitaet Wien | |
-- Aufgabenstellung: http://www.complang.tuwien.ac.at/knoop/fp185161_ws0910.html | |
-- Module ---------------------------------------------------------------------- | |
module Main where |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! runhugs | |
-- Testfaelle fuer Aufgabe 8 der LVA 185.161 Funktionale Programmierung im WS09/10 | |
-- an der Technischen Universitaet Wien | |
-- Aufgabenstellung: http://www.complang.tuwien.ac.at/knoop/fp185161_ws0910.html | |
-- Module ---------------------------------------------------------------------- | |
module Main where |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ | |
/** | |
* The PEAR DB driver for PHP's pgsql extension | |
* for interacting with PostgreSQL databases | |
* | |
* PHP versions 4 and 5 | |
* |