$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
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
/** | |
* @return array action filters | |
*/ | |
public function filters() | |
{ | |
return array( | |
'accessControl', // perform access control for CRUD operations | |
'postOnly + delete', // we only allow deletion via POST request | |
array('ext.bootstrap.filters.BootstrapFilter - delete'), | |
); |
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
/** | |
* @return array action filters | |
*/ | |
public function filters() | |
{ | |
return array( | |
'accessControl', // perform access control for CRUD operations | |
'postOnly + delete', // we only allow deletion via POST request | |
array('ext.bootstrap.filters.BootstrapFilter - delete'), | |
); |
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
/* | |
* typehead.js-bootstrap3.less | |
* @version 0.2.3 | |
* https://github.com/hyspace/typeahead.js-bootstrap3.less | |
* | |
* Licensed under the MIT license: | |
* http://www.opensource.org/licenses/MIT | |
*/ | |
.has-warning .twitter-typeahead .tt-input, | |
.has-warning .twitter-typeahead .tt-hint { |
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
<div class="d-none d-sm-block"> hidden-xs | |
<div class="d-none d-md-block"> visible-md and up (hidden-sm and down) | |
<div class="d-none d-lg-block"> visible-lg and up (hidden-md and down) | |
<div class="d-none d-xl-block"> visible-xl </div> | |
</div> | |
</div> | |
</div> | |
<div class="d-sm-none"> eXtra Small <576px </div> | |
<div class="d-none d-sm-block d-md-none d-lg-none d-xl-none"> SMall ≥576px </div> |
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 | |
/** | |
* A helper file for Laravel 5, to provide autocomplete information to your IDE | |
* Generated for Laravel 5.5.13 on 2017-09-28. | |
* | |
* @author Barry vd. Heuvel <barryvdh@gmail.com> | |
* @see https://github.com/barryvdh/laravel-ide-helper | |
*/ | |
namespace { | |
exit("This file should not be included, only analyzed by your IDE"); |
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
// .... | |
// | |
// Usage Example: | |
// | |
// var_dump($this->isValidDateTimeString('2018-13-10', 'Y-m-d')); # false | |
// var_dump($this->isValidDateTimeString('2018-12-10', 'Y-m-d')); # true | |
// var_dump($this->isValidDateTimeString('10/13/2018')); # false | |
// var_dump($this->isValidDateTimeString('10/12/2018')); # true | |
/** |
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
namespace App\Helpers; | |
class Clear | |
{ | |
/** | |
* Remove os caracteres acentuados da string | |
* @param string $string | |
* @return string | |
*/ | |
public static function removerAcentuados(string $string) : string |
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
{ | |
"$schema": "http://json.schemastore.org/vsls", | |
"gitignore":"exclude", | |
"excludeFiles":[ | |
".env", | |
".vscode", | |
"!node_modules" | |
], | |
"hideFiles": [ | |
"build", |
$ curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
$ sudo install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/
$ rm rm microsoft.gpg
$ sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'
OlderNewer