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
namespace SeleniumTest | |
{ | |
[TestFixture(typeof(FirefoxDriver))] | |
[TestFixture(typeof(InternetExplorerDriver))] | |
public class BlogTest<TWebDriver> where TWebDriver : IWebDriver, new() | |
{ | |
private IWebDriver _driver; | |
[Test] | |
public void SearchResults_ShouldHaveCorrectPageTitle() |
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
#!/usr/bin/env python | |
# Lastfm loved tracks/playlist to Google Music playlist, either with songs from your library or from all access | |
# Order of songs in lastfm is preserved. | |
# First export the lastfm data in a json file, and then import it into Google Music | |
# You can edit the intermediate json file if you wish. | |
# | |
# Based on this script. | |
# https://gist.github.com/Timmmm/6572592 | |
# |
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
Sub CreateFolders() | |
Dim olNS As NameSpace | |
Dim olFolder As Folder | |
Dim OlNewFolder As Folder | |
Dim olNewFolders As Folders | |
Dim olItems As Items | |
Dim olItem As MailItem | |
Dim strName As String | |
Dim i As Long | |
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
# Usage: powershell MSSQLExportSchema.ps1 "SERVERNAME" "DATABASE" "C:\<YourOutputPath>" | |
# Start Script | |
#Set-ExecutionPolicy RemoteSigned | |
# Set-ExecutionPolicy -ExecutionPolicy:Unrestricted -Scope:LocalMachine | |
function GenerateDBScript([string]$serverName, [string]$dbname, [string]$scriptpath) | |
{ | |
[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SMO") | Out-Null |
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 or replace PROCEDURE P_EXPORT_DDL | |
( | |
pOWNER IN ALL_OBJECTS.OWNER%TYPE DEFAULT 'SYS', | |
pOBJECT_TYPE IN ALL_OBJECTS.OBJECT_TYPE%TYPE DEFAULT 'PROCEDURE', | |
pOBJECT_NAME IN ALL_OBJECTS.OBJECT_NAME%TYPE DEFAULT 'P_EXPORT_DDL' | |
) AS | |
data CLOB; | |
fname varchar2(256); | |
vDiretorio ALL_DIRECTORIES.DIRECTORY_NAME%TYPE; | |
vOBJECT_TYPE ALL_OBJECTS.OBJECT_TYPE%TYPE; |
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 or replace TRIGGER MGCLI.T_CLI_EST_PRODUTOS | |
FOR INSERT OR UPDATE ON MGADM.EST_PRODUTOS | |
COMPOUND TRIGGER | |
TYPE TYP_CLI_RC_PRODUTOS IS RECORD( | |
PRO_TAB_IN_CODIGO MGADM.EST_PRODUTOS.PRO_TAB_IN_CODIGO%TYPE, | |
PRO_PAD_IN_CODIGO MGADM.EST_PRODUTOS.PRO_PAD_IN_CODIGO%TYPE, | |
PRO_IN_CODIGO MGADM.EST_PRODUTOS.PRO_IN_CODIGO%TYPE, | |
PRO_ST_DESCRICAO MGADM.EST_PRODUTOS.PRO_ST_DESCRICAO%TYPE | |
); |
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 or replace TRIGGER MGCLI."T_CLI_EST_RECEBNFE_MANIF" | |
BEFORE UPDATE OF RCNF_ST_STATUSMANIFESTACAO, RCNF_ST_STATUSIMPORTA | |
ON MGADM.EST_RECEBIMENTONFE | |
REFERENCING OLD AS OLD NEW AS NEW | |
FOR EACH ROW | |
BEGIN | |
/** | |
Status Arquivo NF-e | |
Indica o status da importação do arquivo NF-e |
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
select | |
case | |
when p.mie_re_qtdebaixatotal <> p.mer_re_quantidade then | |
'SOMA_BX_ITENS_VS_BX_TOTAL_ITEM' | |
when nvl(p.mvs_re_quantidade,0)<> p.mie_re_quantdisp then | |
'SALDO_CTRL_VS_SALDO_GERAL' | |
when p.mie_re_qtdebaixatotal <> p.mer_re_quantidade | |
or(p.mvs_re_quantidade)<> p.mie_re_quantdisp then | |
'AMBOS' | |
else |
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 or replace TRIGGER T_CLI_EST_MOVTOLOTES_SPACE | |
BEFORE INSERT OR UPDATE OF MVL_ST_LOTEFORNE ON MGADM.EST_LOTESMOVIMENTO | |
REFERENCING OLD AS OLD NEW AS NEW | |
FOR EACH ROW | |
BEGIN | |
BEGIN | |
/** | |
Quem: AGS ([email protected]) | |
Quando: 27/05/2019 | |
Motivo: Evitar de permitir inserir Lote com espaço em branco no inicio ou fim do Lote |
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
Verifying my Blockstack ID is secured with the address 1K66tYTj9PmuNPXaEb2xaKvwfaBuKTTTsn https://explorer.blockstack.org/address/1K66tYTj9PmuNPXaEb2xaKvwfaBuKTTTsn |
OlderNewer