- Docker:
- Symfony:
- Flex: http://fabien.potencier.org/symfony4-compose-applications.html
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
sudo apt install gedit | |
cd /tmp/ | |
wget https://download.jetbrains.com/webide/PhpStorm-2021.2.3.tar.gz | |
tar -zxvf PhpStorm-2021.2.3.tar.gz | |
mkdir ~/Apps | |
mv PhpStorm-212.5457.49/ ~/Apps/ |
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
(ns curso-alura.aula6) | |
(def pedido { | |
:mochila { | |
:quantidade 2 | |
:preco 100 | |
}, | |
:camiseta { | |
:quantidade 3 | |
:preco 50 |
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
package com.company | |
class Krypto { | |
fun decrypt (textoOriginal: String, numeroCasas: Int = 10): String { | |
return apply(textoOriginal, (numeroCasas * -1)); | |
} | |
fun encrypt (textoOriginal: String, numeroCasas: Int = 10): String { | |
return apply(textoOriginal, numeroCasas); |
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
CREATE DEFINER=`root`@`localhost` EVENT `produtoConferirEstoqueInterno` ON SCHEDULE EVERY 1 DAY STARTS '2018-04-20 23:50:00' ON COMPLETION NOT PRESERVE ENABLE DO BEGIN | |
select DATE_FORMAT(DATE_SUB(NOW(), INTERVAL 6 MONTH), '%Y%m') into @mesSaldo; | |
select DATE_FORMAT(DATE_SUB(NOW(), INTERVAL 6 MONTH), '%m/%Y') into @mesSaldoVisivel; | |
select DATE_FORMAT(DATE_SUB(NOW(), INTERVAL 5 MONTH), '%Y%m') into @mesMovimentacaoInicio; | |
select DATE_FORMAT(NOW(), '%Y%m') into @mesMovimentacaoFim; | |
select 12361 into @idUsuario; | |
select 1448 into @assunto_id; | |
## Insert log de recalculo estoque | |
INSERT INTO webpdv.estoque_log_recalculo_gerencial |
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\Student; | |
class BoletoPayment implements Payment | |
{ | |
// todo | |
} |
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
module.exports = { | |
config: { | |
[...] | |
shell: 'C:\\Windows\\System32\\bash.exe', | |
[...] | |
}, | |
}; |
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
sudo ln -s /mnt/c /c |
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
sudo apt-get update | |
sudo apt-get install git |
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
echo "export DOCKER_HOST=tcp://127.0.0.1:2375" >> ~/.bashrc |
NewerOlder