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
/*: | |
[Benjamin Encz at iOS Conf SG 2016]: https://youtu.be/4lUgNuaDTzA?t=13m55s "Leveraging Swift's Type System - iOS Conf SG 2016" | |
[Functional Snippet 13: Phantom Types]: https://www.objc.io/blog/2014/12/29/functional-snippet-13-phantom-types/ | |
Further Reading | |
- [Benjamin Encz at iOS Conf SG 2016]. | |
- [Functional Snippet 13: Phantom Types]. | |
*/ |
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 | |
session_start(); | |
set_include_path('../library'); | |
require_once ('Zend/Loader/Autoloader.php'); | |
Zend_Loader_Autoloader::getInstance(); | |
$config = array( | |
'callbackUrl' => 'http://' . $_SERVER['HTTP_HOST'] . '/callback.php', |
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
javascript:(function() { | |
var latest = document.getElementById('revisions').getElementsByTagName('a')[0].href; | |
var loc = 'http://www.gistdoit.com/' + latest.split('.com/')[1]; | |
window.location = loc; | |
})(); |
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 | |
/** | |
* @author David Caunt | |
* @link http://gist.github.com/251589 Github gist | |
*/ | |
class My_Application_Resource_Firephp | |
extends Zend_Application_Resource_ResourceAbstract | |
{ | |
const DEFAULT_REGISTRY_KEY = 'firephp'; |
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 | |
/** | |
* Resource for initializing mail transport | |
*/ | |
class My_Application_Resource_Mail extends Zend_Application_Resource_ResourceAbstract | |
{ | |
/** | |
* Transport type |