adeslade adeslade

View service.json
1 2 3 4 5 6 7 8 9 10
{
"name": "Foo",
"apiVersion": "2012-10-14",
"baseUrl": "http://api.adeslade.co.uk",
"description": "Foo is an API that allows you to Baz Bar",
"operations": {
"GetUsers": {
"httpMethod": "GET",
"uri": "/users",
"summary": "Gets a list of users",
View punycode.py
1 2 3 4 5 6 7 8 9 10
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2011 by Ben Noordhuis <info@bnoordhuis.nl>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
View index.php
1 2 3 4 5 6 7 8 9 10
<?php
define('CONS_KEY', 'Application consumer key');
define('CONS_SECRET', 'Application consumer secret');
 
require_once __DIR__.'/silex.phar';
 
$app = new Silex\Application();
 
// register the session extension
$app->register(new Silex\Extension\SessionExtension());
View constructor_test.php
1 2 3 4 5 6 7 8 9 10
<?php
ini_set('display_errors', 1);
 
class A
{
function A()
{
echo "A constructor called\n";
}
}
View DateFuTest.php
1 2 3 4 5 6 7 8 9
<?php
 
/*
phpunit DateFuTest.php
*/
 
error_reporting(E_ALL);
 
require 'PHPUnit/Autoload.php';
Something went wrong with that request. Please try again.