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
http://books.sonatype.com/mvnex-book/reference/index.html |
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
# Migrate | |
sudo php artisan migrate --bench="aeatour/icarus" | |
# Rollback | |
sudo php artisan migrate:rollback --env='local' | |
# Publish | |
php artisan asset:publish --bench="aeatour/icarus" | |
# Autoload |
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 | |
/** | |
* Receives a date in the EN format (Y-m-d) and renturns in the BR format (d/m/Y). | |
* | |
* @param string $date - format 'Y-m-d'. | |
* @return string - format 'd/m/Y'. | |
*/ | |
function dateFromEnToBr($date) | |
{ | |
return date('d/m/Y', strtotime($date)); |
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
$('.editable').each(function(){ | |
this.contentEditable = 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
http://tldp.org/LDP/guides.html |
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
fuser -v 8080/tcp | |
kill -9 17459 |
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
http://fdietz.github.io/2015/04/13/day-1-how-to-build-your-own-team-chat-in-five-days.html |
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
http://www.tomjewett.com/dbdesign/dbdesign.php |
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
C:\Users\username>netstat -o -n -a | findstr 0.0:3000 | |
TCP 0.0.0.0:3000 0.0.0.0:0 LISTENING 3116 | |
C:\Users\username>taskkill /F /PID 3116 |
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
# prevalecer a versão do branch atual | |
$ git checkout --ours <path do arquivo> | |
# prevalecer a versão do outro branch | |
$ git checkout --theirs <path do arquivo> | |
# voltar pra versão inicial do conflito | |
$ git checkout -m <path do arquivo> |
OlderNewer