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
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
.foot-ribbon, .foot-content { | |
padding: 15px 30px; | |
.seperator { | |
&:before { | |
content: " "; |
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
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
$max-notifications: 10; | |
&:nth-child(n+#{$max-notifications + 1}) { | |
margin-top: -#{120px * ($max-notifications + 2)}; | |
z-index: 100 - #{$max-notifications + 1}; | |
left: -210px; |
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
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
@mixin zig-zag($color) { | |
background-image: | |
linear-gradient(135deg, $color 0%, $color 50%, rgba($color, 0) 50%, rgba($color, 0) 100%), | |
linear-gradient(-135deg, $color 0%, $color 50%, rgba($color, 0) 50%, rgba($color, 0) 100%), | |
linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, transparent 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
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
// Import | |
$red: #cc0000; | |
// Defaults |
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
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
@import "bourbon/bourbon"; | |
$bars: ( | |
#3366CC #45afe2, | |
#DC3912 #FF3300, | |
); |
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
public function getServiceConfig() | |
{ | |
return array( | |
'factories' => array( | |
'Application\Service\PlayerService' => function ($sm) { | |
$model = new Service\PlayerService($sm); | |
return $model; | |
} | |
) | |
); |
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 Application\Validator; | |
use Zend\Validator\AbstractValidator; | |
use Zend\Validator\Exception; | |
use Doctrine\Common\Persistence\ObjectRepository; | |
use Zend\Stdlib\ArrayUtils; | |
/** |
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
/** | |
* Removes duplicate entries in a multi-dimensional array | |
* @param array $a the array you want to process | |
* @param string $i the index you would like to run against | |
* @return array the processed array | |
*/ | |
public function md_array_unique($a, $i) { | |
$unset = array(); | |
for($x = 0; $x < sizeof($a); $x++){ | |
for($y = 1; $y < (sizeof($a) - $x); $y++){ |
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 Application\Service; | |
use Zend\Crypt\Password\Bcrypt; | |
use Application\Entity; | |
class UserService | |
{ | |
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 Application\Form; | |
use Zend\Form\Form; | |
use Zend\Validator; | |
use Zend\InputFilter\InputFilterProviderInterface; | |
class YourForm extends Form implements InputFilterProviderInterface | |
{ |