Skip to content
<html>
<head>
</head>
<body>
I'm the chrome.
<div id="a big div that wraps admin, where's the problem?">
I'm the admin menu
<html>
<head>
</head>
<body>
I'm the chrome.
{{>content}}
</body>
</html>
<?php
class Kostache_Page extends Kostache_Base {
/**
* @return Kostache_Page
*/
public static function factory()
{
$m = new Mustache_Engine(
protected function _response_view()
{
/**
* We can determine the view for each request based on the route
* directory/controller/action
*/
$directory = $this->request->directory();
$controller = $this->request->controller();
$action = $this->request->action();
// The action has not gone through PSR-0 yet
<?php
namespace spec\SO\Entity;
use
PHPSpec2\ObjectBehavior,
SO\Entity\Money as M;
class Money extends ObjectBehavior {
<?php
class FooValidator implements Validator
{
public function __construct(Validator $validator)
{
$this->validator = $validator
$this->validator->rule('name', 'not_empty')
->rule('name', 'max_length', [':value', 35])
->rule('name', 'min_length', [':value', 5]);
template "/tmp/foo.rb"
source "foo.rb.erb"
cookbook "banana"
end
template "/tmp/foo.rb"
source "foo.rb.erb"
cookbook "banana"
end
#!/usr/bin/env bash
# call like this on the target server:
# CHEFREPO='git://github.com/paulsschwarz/vagrant-cookbooks.git' CHEF_ENV='production' bash <( curl -L https://raw.github.com/gist/2974764 )
set -e
export RUBYGEMS_VERSION="1.8.24"
export CHEF_DIR="${HOME}/chef"
sudo rm -rf $CHEF_DIR
mkdir -p "$CHEF_DIR"
<?php
/**
* Dates Gateway
*/
class DescribeTripGateway extends \PHPSpec\Context {
public function beforeAll()
{
Something went wrong with that request. Please try again.