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
# This file manages Puppet module dependencies. | |
# | |
# It works a lot like Bundler. We provide some core modules by | |
# default. This ensures at least the ability to construct a basic | |
# environment. | |
# Shortcut for a module from GitHub's boxen organization | |
def github(name, *args) | |
options ||= if args.last.is_a? Hash | |
args.last |
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 | |
namespace CubicMushroom; | |
use Psr\Log\LoggerInterface; | |
/** | |
* Class LoggerTrait | |
* | |
* @package LIMTool\PaymentsBundle |
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 | |
class Unwrapper implements RevealerInterface | |
{ | |
// ... | |
/** | |
* @param mixed $argument | |
* | |
* @return mixed |
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 | |
function wp9899234_parse_query() { | |
if ( is_admin() || is_single() || '<post_slug>' !== get_post_type() ) { | |
return; | |
} | |
// Work out taxonomy page | |
// $tax_permalink = ...? |
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
Response Headers... | |
HTTP/1.1 200 OK | |
Date: Mon, 02 Sep 2013 13:05:18 GMT | |
Server: Apache/2.2.24 (Unix) mod_ssl/2.2.24 OpenSSL/1.0.0-fips mod_bwlimited/1.4 | |
X-Powered-By: PHP/5.3.24 | |
Set-Cookie: CAKEPHP=da7201fcaa62baba2f7c1b21684b05df; expires=Mon, 02-Sep-2013 17:05:18 GMT; path=/; HttpOnly | |
Content-Length: 2458 | |
Connection: close | |
Content-Type: text/html; charset=UTF-8 |