docker-compose -f docker-compose.apache.yml up
docker-compose -f docker-compose.nginx+apache.yml up
docker-compose -f docker-compose.nginx+php-fpm.yml up
<?php | |
namespace App\Console\Commands; | |
use Illuminate\Console\Command; | |
use File; | |
class MakeViewCommand extends Command | |
{ | |
/** |
docker-compose -f docker-compose.apache.yml up
docker-compose -f docker-compose.nginx+apache.yml up
docker-compose -f docker-compose.nginx+php-fpm.yml up
<?php | |
/* | |
* DatabaseUtils.php - A class of simple database utilities. | |
* | |
* Performs CRUD operations using PDO (MySQL) prepared statements. | |
* | |
* Author: bencentra (https://gist.github.com/bencentra/92228e1f4139436c4153) | |
*/ |
Unicode table - List of most common Unicode characters * | |
* This summary list contains about 2000 characters for most common ocidental/latin languages and most printable symbols but not chinese, japanese, arab, archaic and some unprintable. | |
Contains character codes in HEX (hexadecimal), decimal number, name/description and corresponding printable symbol. | |
What is Unicode? | |
Unicode is a standard created to define letters of all languages and characters such as punctuation and technical symbols. Today, UNICODE (UTF-8) is the most used character set encoding (used by almost 70% of websites, in 2013). The second most used character set is ISO-8859-1 (about 20% of websites), but this old encoding format is being replaced by Unicode. | |
How to identify the Unicode number for a character? | |
Type or paste a character: |
<?php | |
/** | |
* Singularize a string. | |
* Converts a word to english singular form. | |
* | |
* Usage example: | |
* {singularize "people"} # person | |
*/ | |
function singularize ($params) | |
{ |
Other people's projects:
My projects (tutorials are on my blog at http://maxoffsky.com):
/** | |
* @Method responsável por fazer o insert utilizando PDO | |
* @method: insert | |
* @param array $dados | |
* @param string $tabela | |
* @return boolean | |
*/ | |
public function insert( Array $dados, $tabela = NULL ) | |
{ |
<?php namespace Tournasdim\Getgravatar; | |
use Illuminate\Support\ServiceProvider; | |
class GravatarServiceProvider extends ServiceProvider { | |
/** | |
* Indicates if loading of the provider is deferred. | |
* | |
* @var bool |