Skip to content

Instantly share code, notes, and snippets.

@maryo
maryo / FunctionMocker.php
Last active December 14, 2015 17:49
Simple function mocker for PHP 5.3
<?php
class FunctionMocker
{
/** @var FunctionMocker[] */
private static $instances = array();
/** @var string */
private $namespace;
/** @var string */
@maryo
maryo / nginx.conf
Created February 9, 2013 16:31
Nginx dart configuration
worker_processes 1;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
@maryo
maryo / PSPad.ini
Created November 19, 2012 22:31
TypeScript syntax highlight definition for PSPad (experimental)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; CUSTOM COLORS (OPTIONAL) - APPEND IT TO YOUR PSPad.ini ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[TypeScript]
Filter=TypeScript (*.ts)|*.ts
HLTabWidth=4
IndentChar=
UnIndentChar=
Comment=009696961FFFFFFF000
Identifier=1FFFFFFF1FFFFFFF000