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 | |
$str = "Τάχιστη αλώπηξ βαφής ψημένη γη, δρασκελίζει υπέρ νωθρού κυνός"; | |
$str = mb_strtolower($str, 'UTF-8'); | |
echo $str; // Prints τάχιστη αλώπηξ βαφής ψημένη γη, δρασκελίζει υπέρ νωθρού κυνός |
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
<!DOCTYPE HTML> | |
<html lang="en-US"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Carregando GIST's por ajax</title> | |
<style type="text/css"> | |
body { | |
font-family: Helvetica, sans-serif; | |
font-size: 13px; |
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 | |
interface Congratulations | |
{ | |
public function congrats(); | |
} | |
class OpenStack implements Congratulations | |
{ | |
static $instance; |
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 | |
/** | |
* Description | |
* | |
* @author Seu nome <email@escape.ppg.br> | |
*/ | |
class NomeDaClasse extends EscapeWork | |
{ | |
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 | |
/** | |
* Controlador da página ... | |
* | |
* @author ... <email@escape.ppg.br> | |
*/ | |
if( !defined('ESCAPEWORK') ) { | |
exit(); |
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 SkuValueController extends BaseController | |
{ | |
public function update( SkuRepositoryInterface $sku, $id ) | |
{ | |
} | |
} |
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::bind('product', function($value, $route) | |
{ | |
var_dump( $value ); die; | |
}); | |
Route::get('produtos/{product}/skus', array('as' => 'produtos.skus.index', 'uses' => 'ProductSkuController@index')); |
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 Slug | |
{ | |
/** | |
* Create a URI friendly slug from a string. | |
* | |
* @param string $uri | |
* @return string | |
*/ | |
public static function make($uri) |
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 Commerce\Client\Facades; | |
class ClientAuth | |
{ | |
/** | |
* @var Illuminate\Auth\Guard | |
*/ | |
static $guard; |
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
# Arquivo de configuração do Compass para o EscapeWork (a partir de versão 1.3, que contém o sass) | |
# Versões anteriores vão precisar criar e cofigurar os diretórios do sass e css | |
# Author: Luís Dalmolin <luis@escape.ppg.br> | |
# Require any additional compass plugins here. | |
# Set this to the root of your project when deployed: | |
http_path = "" | |
css_dir = "assets/css" | |
sass_dir = "assets/css/scss" |