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
@mixin media($point) { | |
@if $point == mobile { | |
@media screen and (max-width : em(768)) { @content ; } | |
} | |
@else if $point == tablet { | |
@media screen and (max-width : em(992)) and (min-width: em(768)) { @content ; } | |
} | |
@else if $point == laptop { | |
@media screen and (max-width : em(1200)) and (min-width: em(992)) { @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
<?php | |
App::uses('AppController', 'Controller'); | |
App::uses('Folder', 'Utility'); | |
App::uses('File', 'Utility'); | |
App::uses('CakeTime', 'Utility'); | |
class ExempleController extends AppController { | |
public function implementedEvents() | |
{ |
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
$config = { | |
"application" => "DOMAIN.TLD", | |
"repository" => "git@GITHOST:USERNAME/REPOSITORYNAME.git", | |
"remoteusername" => "REMOTEUSERNAME", | |
"cake_folder" => "/PATH/TO/CAKE", | |
"cake_version" => "cakephp1.3", | |
"plugin_dir" => "plugins", | |
"servers" => { | |
"prod" => { | |
"server" => "APPLICATION.TLD", |