Skip to content

Instantly share code, notes, and snippets.

View tiraeth's full-sized avatar

Marcin Chwedziak tiraeth

View GitHub Profile
<?php
namespace Your\Namespace\Mate;
use Darwin\HealthScore\Specimen;
class DarwinSpecimen extends \ArrayObject implements Specimen
{
// @TODO: Implement stubs
}
mach_savel:
enabled: true
services:
-
snufkin: Mach\SavelBundle\Snufkin\GoogleSnufkin
enabled: true
client_id: X
client_secret: X
scope: [email]
callback: /connect/Google/confirm
@tiraeth
tiraeth / gist:1306602
Created October 22, 2011 23:08
Java implementation of Peak detection
import java.util.ArrayList;
import java.util.List;
import java.util.HashMap;
import java.util.Map;
public abstract class CustomUtils {
/**
* Detects peaks (calculates local minima and maxima) in the