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
Step 1 — Installing the Dependencies | |
sudo apt update | |
sudo apt install ca-certificates curl openssh-server postfix | |
Step 2 — Installing GitLab | |
cd /tmp | |
curl -LO https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | |
sudo bash /tmp/script.deb.sh |
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
app.request.get('http://www.whileushop.com/lama/json.php',function (data) { | |
console.log(data); | |
}); |
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 | |
// CONECTE-SE AO DB | |
$servername = "localhost"; | |
$username = "username"; | |
$password = "password"; | |
$dbname = "myDB"; | |
// RECEBA O POST | |
$campo_1 = $_POST['campo1']; |
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
$(function () { | |
$('#teste').DataTable({ | |
processing: true, | |
serverSide: false, | |
"columnDefs": [ | |
{"targets": 3, "render": function (data, type, row) { | |
var botao = "<div class='btn-group dropup'>\ |
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
<table id="teste" class="display" width="100%"> | |
<thead> | |
<tr> | |
<th>CAMPO 1</th> | |
<th>CAMPO 2</th> | |
<th>CAMPO 3</th> | |
<th>CAMPO 4</th> | |
</tr> | |
</thead> | |
<tfoot> |
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
cd C:\Users\Jonathan\cotacaobeta | |
cordova build --release android | |
cd c:\Program Files\Java\jdk1.8.0_171\bin | |
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore "c:\certificados\keys\cotacao_agn.keystone" "C:\Users\Jonathan\cotacaobeta\platforms\android\build\outputs\apk\release\android-release-unsigned.apk" "agn_cotacao" | |
cd c:\certificados\zipalign\ |
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
$(function () { | |
$('#tbl_veiculos').DataTable({ | |
processing: true, | |
serverSide: true, | |
ajax: '/api/XXXXXX/XXXXXX-json', | |
columns:[ | |
{data :'XXXXXX', name:'XXXXXX'}, | |
], | |
"columnDefs": [ |
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
/* | |
Install repository GIT | |
composer require barryvdh/laravel-ide-helper | |
Inserir no array de provides | |
local: Config\app.php | |
Inserir | |
Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class, |
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
{ | |
"files.autoSave": "afterDelay", | |
"files.autoSaveDelay": 2500, | |
"php.suggest.basic": true, | |
"php.validate.enable": true, | |
"editor.tabSize": 2, | |
"editor.tabCompletion": true, | |
"workbench.panel.location": "bottom", | |
"editor.minimap.enabled": false, | |
"editor.renderWhitespace": "none", |
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 | |
if(isset($_POST ['nome']) && !empty($_POST ['nome'])){ | |
$nome = addslashes(strip_tags($_POST['nome'])); | |
$email = addslashes(strip_tags($_POST['email'])); | |
$para = '[email protected]'; | |
$assunto = 'Dados Página'; | |
$corpo = "Nome: ".$nome."\r\n"."E-mail: ".$email; |