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
//JS | |
let logo = ` | |
///#%%%%%%%%%///, | |
/////////%%%%///////// %%%%%& (%%% &%%. #&%%%%&. | |
//////////////////////// (&% &%& %%%%%& %%%%%& %%. %%% | |
,((((((((((((((((((( &%%%%%%%& %%# *%%%% &%& %%%%%%%%%, | |
(((((((((((((( %%( &%% %%# &%& %%/ | |
,((((((((/ #%%%%%%%%. %%# &%& (%%%%%%%& | |
(((( - Engineering Team - | |
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
/** | |
* Tabela produtos | |
* colunas: | |
* id int primary | |
* titulo varchar | |
* colunaA varchar | |
* colunaB varchar | |
* colunaC varchar | |
* | |
* Tabela labels_config |
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
//Servico | |
app.factory('AuthService', function() { | |
return { | |
autenticar: AutenticarUsuario | |
}; | |
//Autentica Usuário | |
function AutenticarUsuario(usuarios) { | |
return $http.post("/usuarioLogadoPermissoes", usuarios); | |
} |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Text.RegularExpressions; | |
using System.Data; | |
namespace ConsoleApplicationteste | |
{ |
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
using System; | |
using System.Collections.Generic; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Text.RegularExpressions; | |
namespace ConsoleApplicationteste | |
{ | |
class Formula |
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
class Engine { | |
public function run() { | |
$batchSize = 100; | |
foreach($this->file->fetchAll() as $lineNumber => $line) { | |
if($this->validator->validate($line,$lineNumber)) { | |
$this->rowSuccess($line, $lineNumber); | |
} else { |
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 | |
namespace App\NaoUseIstoNunca; | |
class NaoUsar | |
{ | |
public static function metodoBizarro($aParam){ | |
$aParamsObrigatorios = ['param1','param2','param3','param4']; | |
foreach($aParamsObrigatorios as $param){ | |
if(!array_key_exists($param, $aParam)){ | |
throw new \Exception("Parâmetro obrigatório: $param não identificado. Utilização errada da função: metodoBizarro(aParam[param1, param2, param3, param4]) na classe NaoUsar."); |
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 | |
$valor = $_GET['id'] ?? $_POST['id'] ?? 1; | |
?> |
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 | |
$valor = $_GET['id'] ?? 1; | |
?> |
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 | |
$valor = (isset($_GET['id']))? $_GET['id'] : 1; | |
?> |
NewerOlder