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
$remover = "C:\Users\thiago.resende\AppData\Roaming\Microsoft\Teams" | |
Remove-Item -Recurse -Force $remover |
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
EXEC sp_addrolemember N'db_owner', N'usuario' |
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
SELECT | |
DP1.name AS DatabaseRoleName, | |
isnull (DP2.name, 'No members') AS DatabaseUserName | |
FROM | |
sys.database_role_members AS DRM | |
RIGHT OUTER JOIN sys.database_principals AS DP1 | |
ON DRM.role_principal_id = DP1.principal_id | |
LEFT OUTER JOIN sys.database_principals AS DP2 | |
ON DRM.member_principal_id = DP2.principal_id | |
WHERE |
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
<div id="weather"></div> | |
<script> | |
$(function() { | |
$('#weather').weather({ | |
locationLat: -19.9267427, | |
locationLon: -43.9601151 | |
}); | |
}); | |
</script> |
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
$(function() { | |
$('#weather').weather({ | |
geoLocation: true, | |
locationLat: -19.9267427, | |
locationLon: -43.9601151, | |
lang: 'pt', | |
unit: 'c', | |
format: 'today', | |
pathFolderLocales: 'path/locales' | |
}); |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>jQuery Weather BR - Demo</title> | |
<!-- jQuery Weather CSS --> |
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 | |
# Aqui incluímos a classe html2pdf. | |
include('html2pdf/html2pdf.class.php'); | |
/* Guardamos na variável $html o html que queremos converter. | |
* Linha 13 - Incluímos o nosso arquivo css (exemploPdf.css) | |
* Linha 15 - Temos uma div de id = logo que formatamos a mesma | |
* com uma altura, largura, uma borda azul e uma imagem | |
* de background. | |
* Linha 16 - Temos agora um span de id = texto que formatamos |
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
#logo | |
{ | |
border: 1px solid blue; | |
width: 213px; | |
height: 70px; | |
background: url(img/logo.gif) no-repeat; | |
} | |
#texto | |
{ |
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 | |
/** | |
* Plugin Name: Html2Pdf | |
*/ | |
include('html2pdf/html2pdf.class.php'); | |
register_activation_hook(__FILE__, array('HTML2PDF')); |
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
-- | |
-- Estrutura da tabela `pais` | |
-- | |
CREATE TABLE IF NOT EXISTS `pais` ( | |
`paisId` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, | |
`paisNome` varchar(50) NOT NULL, | |
`paisName` varchar(50) NOT NULL, | |
PRIMARY KEY (`paisId`) | |
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=253 ; |