This file contains hidden or 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
Problem 1 | |
- Installation request for gushphp/gush dev-master -> satisfiable by gushphp/gush[dev-master]. | |
- gushphp/gush dev-master requires gushphp/gush-github-adapter ~1.0 -> no matching package found. | |
Problem 2 | |
- Installation request for gushphp/gush-github-adapter dev-master -> satisfiable by gushphp/gush-github-adapter[dev-master]. | |
- gushphp/gush-github-adapter dev-master requires gushphp/gush ~1.3 -> no matching package found. |
This file contains hidden or 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 | |
//Module.php | |
namespace CheeseAgent\Core; | |
use \Silex\ServiceProviderInterface; | |
use \Silex\Application; | |
use \Symfony\Component\HttpFoundation\Response; | |
use \Symfony\Component\HttpFoundation\Request; | |
use \Symfony\Component\HttpKernel\KernelEvents; | |
use \CheeseAgent\Core\Value\Gender; |
This file contains hidden or 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
class KohanaORMUserRepository implements UserRepositoryInterface{ | |
private $orm; | |
public function __construct(){ | |
$this->orm = ORM::Factory('user'); | |
} | |
public function findOneByEmail($email){ | |
$ormUser = $this->orm->where('email','=',$email)->find(); | |
if($ormUser){ | |
$user = new User($ormUser->id,$ormUser->username,$ormUser->passwordHash,$ormUser->email); | |
return $user; |
This file contains hidden or 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 Template { | |
private $data; | |
private $fileName; | |
public function __construct($filename) { | |
$this->setFileName($filename); | |
} |
This file contains hidden or 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
/* | |
* jQuery JavaScript Library v1.6.2 | |
* http://jquery.com/ | |
* | |
* Copyright 2011, John Resig | |
* Dual licensed under the MIT or GPL Version 2 licenses. | |
* http://jquery.org/license | |
* | |
* Includes Sizzle.js | |
* http://sizzlejs.com/ |
This file contains hidden or 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
//Controller/Action | |
$menu = array( | |
'brands'=>array( | |
'brand1'=>array( | |
'category1'=>array( | |
'item1'=>'name' | |
) | |
) | |
) | |
) |
This file contains hidden or 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
class Form extends Kohana_Form{ | |
public static function input($name, $value = NULL, array $attributes = NULL) | |
{ | |
if ( ! isset($attributes['id'])) | |
{ | |
// Default type is text | |
$attributes['id'] = $name; |
This file contains hidden or 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
<?= Form::open('brand/create') ?> | |
<legend><?= __('Login') ?></legend> | |
<?php if (isset($create_brand)): ?> | |
<div class="alert alert-error"> | |
<?= Form::button('close', 'x', array('type' => 'button', 'class' => 'close', 'data-dismiss' => 'alert')); ?> | |
<?= $login_error ?> | |
</div> | |
<?php endif; ?> | |
<div class="control-group"> |
This file contains hidden or 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
<div class="navbar navbar-inverse navbar-fixed-top"> | |
<div class="navbar-inner"> | |
<div class="container"> | |
<button data-target=".nav-collapse" data-toggle="collapse" class="btn btn-navbar" type="button"> | |
<span class="icon-bar"></span> | |
<span class="icon-bar"></span> | |
<span class="icon-bar"></span> | |
</button> | |
<a href="./index.html" class="brand">Bootstrap</a> | |
<div class="nav-collapse collapse"> |
This file contains hidden or 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
var frontier_outpost ={ "height":64, | |
"layers":[ | |
{ | |
"data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 159, 167, 176, 176, 146, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 22, 23, 33, 21, 22, 23, 20, 21, 0, 0, 0, 0, 0, 16, 16, 144, 176, 162, 154, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, 26, 35, 33, 32, 26, 27, 24, 25, 26, 0, 0, 0, 0, 16, 152, 164, 176, 150, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 31, 28, 29, 30, 35, 28, 32, 30, 31, 28, 29, 30, 0, 0, 0, |