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
Use Dashboards; | |
DROP TABLE IF EXISTS Mon_Trafic_Trunk_SFR2; | |
CREATE TABLE IF NOT EXISTS Mon_Trafic_Trunk_SFR2 ( | |
col1 text, | |
col2 text, | |
col3 text, | |
col4 text, | |
col5 text, |
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
DELIMITER $$ | |
CREATE FUNCTION SPLIT_STR( | |
x VARCHAR(255), | |
delim VARCHAR(12), | |
pos INT | |
) | |
RETURNS VARCHAR(255) DETERMINISTIC | |
BEGIN | |
RETURN REPLACE(SUBSTRING(SUBSTRING_INDEX(x, delim, pos), | |
LENGTH(SUBSTRING_INDEX(x, delim, pos -1)) + 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
#include <MsgBoxConstants.au3> | |
AutoMac() | |
Func AutoMac() | |
MsgBox($MB_SYSTEMMODAL, "Automação", "Selecione o edit onde receberá o preenchimento automático", 10) | |
For $aeee = 74 to 90 |
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
#include <MsgBoxConstants.au3> | |
AutoMac() | |
Func AutoMac() | |
MsgBox($MB_SYSTEMMODAL, "Automação", "Selecione o edit onde receberá o preenchimento automático", 10) | |
For $var = 1 to 2 | |
Send("Tabuada de multiplicação de " & $var) | |
Send("{Enter}") | |
For $var2 = 1 to 10 |
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
@ECHO OFF | |
cls | |
::conta a quantidade de linhas | |
type file.txt | find /v /c "" < file.txt>nlinhas | |
set/p n=<nlinhas | |
@ECHO QUANTIDADE DE LINHAS: %n% | |
DEL nlinhas | |
@ECHO. | |
for /l %%i in (1,1,%n%) do ( |
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 | |
concat(substr(u.first_name,1,1),substr(u.last_name,1,1)) AS tec, | |
tk.status AS st, | |
max(greatest(e.createdtime, e.modifiedtime, c.dt) )AS modifiedtime, | |
tk.ticketid AS ticketid, | |
tk.title AS title | |
from | |
vtiger_troubletickets tk | |
join vtiger_crmentity e | |
on e.crmid = tk.ticketid |
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 DEFINER=`root`@`localhost` PROCEDURE `resultcb`() | |
LANGUAGE SQL | |
NOT DETERMINISTIC | |
CONTAINS SQL | |
SQL SECURITY DEFINER | |
COMMENT '' | |
BLOCK1: BEGIN | |
DECLARE v_id INT; | |
DECLARE v_ani VARCHAR(15); | |
DECLARE v_skill VARCHAR(6); |
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
package TesteArrayList; | |
public class Pessoa implements Comparable<Object>{ | |
private String nome; | |
private int idade; | |
public String nome(){ | |
return this.nome; | |
} | |
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
#include <MsgBoxConstants.au3> | |
AutoMac() | |
Func AutoMac() | |
MsgBox($MB_SYSTEMMODAL, "Automação", "Selecione o edit onde receberá o preenchimento automático", 10) | |
For $var = 40 to 100 | |
Sleep(21) | |
If $var < 10 Then |
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
E:\backup\robocopy.exe \\192.168.1.15\c$\Inetpub\ E:\backup\arquivos\Polar1\ /MIR /R:0 /W:0 /V /LOG:e:\backup\logs\Polar1.log |