Skip to content

Instantly share code, notes, and snippets.

@julienhay
julienhay / mediamixin
Created September 23, 2014 08:33 — forked from remyzv/mediamixin
@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 ; }
}
<?php
App::uses('AppController', 'Controller');
App::uses('Folder', 'Utility');
App::uses('File', 'Utility');
App::uses('CakeTime', 'Utility');
class ExempleController extends AppController {
public function implementedEvents()
{
$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",