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
var config = require('../../config'), | |
common = require('../common'), | |
menu = require('../components/menu'), | |
ptor = browser, | |
user = config.users.admin; | |
browser.driver.manage().window().setSize(1300, 900); | |
browser.get(config.url('/')); | |
describe("Unauthenticated", function() { |
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
.assertions { | |
list-style-type: none; | |
margin: 0; | |
padding: 0; | |
border-top: 1px solid #000; | |
background-color: #fff; | |
position: fixed; | |
bottom: 0; | |
left: 0; | |
width: 100%; |
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
function hexToHsl($hex) { | |
$hex = array($hex[0].$hex[1], $hex[2].$hex[3], $hex[4].$hex[5]); | |
$rgb = array_map(function($part) { | |
return hexdec($part) / 255; | |
}, $hex); | |
$max = max($rgb); | |
$min = min($rgb); | |
$l = ($max + $min) / 2; |
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 Octi extends Human implements Troll, Fisherman | |
{ | |
private $cellPhone; | |
private $fishingStick; | |
private $trollStack; | |
protected $brain; | |
protected $actsAs = array( | |
'project_manager' => array() |
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
<iframe src="iframeception.php?<?= rand(0,1000) ?>" width="99%" height="99%"></iframe> |
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 | |
/** | |
* Webstars Application | |
* | |
* This file tests the capabilities of the web server to insure that a Zend Framework CMS will run smoothly | |
* | |
* @category WS | |
* @package WS | |
* @copyright 2005-2010 WebstarsLTD (http://www.webstarsltd.com/) | |
*/ |