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
https://secure.gravatar.com/avatar/cd0c263b28fce0e1d89a0002cc75648b?size=400 |
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
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/default -dNOPAUSE -dQUIET -dBATCH -dDetectDuplicateImages -dCompressFonts=true -r150 -sOutputFile=output.pdf input.pdf |
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
1 ls /home/backup/Onboard.bak | |
2 /opt/mssql-tools/bin/sqlcmd -S localhost -U SA -Q "RESTORE DATABASE [onboard] FROM DISK = N'/home/backup/Onboard.bak' WITH FILE = 1, NOUNLOAD, REPLACE, STATUS = 5" | |
3 /opt/mssql-tools/bin/sqlcmd -S localhost -U SA -Q "RESTORE DATABASE [onboard] FROM DISK = N'/home/backup/Onboard.bak' WITH FILE = 1, NOUNLOAD, REPLACE, STATS = 5" | |
4 /opt/mssql-tools/bin/sqlcmd -S localhost -U SA -Q "RESTORE DATABASE [onboard] FROM DISK = N'/home/backup/Onboard.bak' WITH FILE = 1, NOUNLOAD, REPLACE, NORECOVERY, STATS = 5" | |
5 ls /home/backup/Onboard.bak | |
6 /opt/mssql-tools/bin/sqlcmd -S localhost -U SA -Q "RESTORE DATABASE [central] FROM DISK = N'/home/backup/Central.bak' WITH FILE = 1, NOUNLOAD, REPLACE, NORECOVERY, STATS = 5" | |
7 /opt/mssql-tools/bin/sqlcmd | |
8 /opt/mssql-tools/bin/sqlcmd -S localhost -U SA | |
9 /opt/mssql-tools/bin/sqlcmd -S localhost -U SA -Q "RESTORE DATABASE [onboard] FROM DISK = N'/home/backup/Onboard.bak' WITH FILE = 1, NOUNLOAD, REPLACE, |
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
#!/bin/sh | |
curl -s https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add - | |
sudo bash -c "curl -s https://packages.microsoft.com/config/ubuntu/18.04/prod.list > /etc/apt/sources.list.d/mssql-release.list" | |
sudo apt-get update | |
sudo ACCEPT_EULA=Y apt-get -y install msodbcsql17 mssql-tools | |
sudo apt-get -y install unixodbc-dev | |
sudo apt-get -y install gcc g++ make autoconf libc-dev pkg-config | |
sudo pecl7.X-sp install sqlsrv | |
sudo pecl7.X-sp install pdo_sqlsrv |
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
## Configuration for WACOM Intuos S | |
## example from https://github.com/linuxwacom/xf86-input-wacom/wiki/Tablet-Configuration-2%3A-Example-scripts | |
xsetwacom set "Wacom Intuos S Pen stylus" MapToOutput HDMI-1 |
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
; Matriz x Revenda | |
loja.matriz.status = 1 |
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
<!--TESTE DE ITENS NO CARRINHO--> | |
<div class="panel panel-default"> | |
<div class="panel-heading"><h4>Banners | Lonas - Lona Fosca | Metro² | 4x0 | 1 un.</h4></div> | |
<div class="panel-body"> | |
<form id="remove_0" action="/carrinho/remover" method="post" class="pull-right"> | |
<input type="hidden" name="id" value="0"> | |
<a class="cart_quantity_delete" href="javascript:void(0); return false;" onclick="$('#remove_0').submit();"><i class="fa fa-times-circle"></i></a> | |
</form> | |
<p> | |
Prazo de Produção: 2 dias úteis |
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
fc = jQuery('#form-contato'); | |
fc.attr('data-url'); | |
jQuery.ajax(fc.attr('data-url')) | |
.done(function(content){ | |
cf = jQuery('.awpcp-reply-to-ad-form', content); | |
cf.attr('action', fc.attr('data-url')); | |
fc.html(cf); | |
}); |
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
git diff --stat origin/master master |
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 | |
// Carregar as classes ZEND sem require_once | |
require_once 'Zend/Loader/Autoloader.php'; | |
$loader = Zend_Loader_Autoloader::getInstance(); | |
$loader->setFallbackAutoloader(true); | |
//Obtendo o adaptador | |
$dbAdapter = Zend_Db::factory('adaptador', | |
array('username' => 'usuario', |