Skip to content

Instantly share code, notes, and snippets.

#include <time.h>
#ifdef _MSC_VER
/**
* implementation of clock_gettime(CLOCK_MONOTONIC, tv) from unistd.h for Windows
*/
#define WIN32_LEAN_AND_MEAN
#include <Windows.h>
@jbrooksuk
jbrooksuk / bugfy.pushover.php
Created August 14, 2012 09:53
Bugify External Hook URL - Pushover
<?php
/**
* Bugify External Hook URL with Pushover.
* @author James Brooks <jbrooksuk@me.com>
*/
if(!isset($_POST['payload'])) die('Error.');
// You don't need to change this bit.