// jQuery
$(document).ready(function() {
// code
})
This file contains hidden or 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
/** | |
* @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 ) | |
{ |
Other people's projects:
- https://github.com/laracasts/URL-Shortener URL Shortener by Jeffrey Way
- https://github.com/basco-johnkevin/laravelsnippets Source code of http://laravelsnippets.com website
- https://github.com/jesseterry/FusionInvoice FusionInvoice is built for freelancers and small businesses who need a simple, yet powerful self-hosted web based invoicing system.
- https://github.com/ezynda3/burnmsg is a self-destructing encrypted message app. A demo is also running on https://burnmsg.com
- https://github.com/martindilling/auto-generating-gallery the demo is at http://gallerydemo.martindilling.com/
My projects (tutorials are on my blog at http://maxoffsky.com):
- https://github.com/CodepadME/laravel-tricks - Source of Laravel-tricks.com
This file contains hidden or 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 | |
/** | |
* Singularize a string. | |
* Converts a word to english singular form. | |
* | |
* Usage example: | |
* {singularize "people"} # person | |
*/ | |
function singularize ($params) | |
{ |
This file contains hidden or 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
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: |
This file contains hidden or 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 | |
/* | |
* DatabaseUtils.php - A class of simple database utilities. | |
* | |
* Performs CRUD operations using PDO (MySQL) prepared statements. | |
* | |
* Author: bencentra (https://gist.github.com/bencentra/92228e1f4139436c4153) | |
*/ |
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
This file contains hidden or 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 App\Console\Commands; | |
use Illuminate\Console\Command; | |
use File; | |
class MakeViewCommand extends Command | |
{ | |
/** |
This file contains hidden or 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 | |
/** | |
* Created by PhpStorm. | |
* User: Rodrigo Brandão | |
* Date: 21/03/2016 | |
* Time: 11:07 | |
*/ | |
class Extenso | |
{ | |
public static function removerFormatacaoNumero( $strNumero ) |