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
var regexRemoveAntesDosNumeros = new RegExp(/(\D*)(\d*)*(\,(\d|\ )*)/g); | |
this.value = this.value.replace(regexRemoveAntesDosNumeros, "$2$3$4").replace(/\s+/g,' '); // Remove possíveis espaços vazios em dobro | |
// test string = a, 595, 535, 563 abc, 523 abcacascas ,543123 | |
// test site https://regex101.com/ |
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
## if ((gcm choco.exe -ErrorAction SilentlyContinue) -eq $null) | |
# { | |
# iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1')) | |
# } | |
# Initial Config | |
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions | |
#Packages | |
cinst cmder -y |
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
-- <Tabela Feia de exemplo> | |
SELECT | |
'Caixa de canetas BIC' AS txt_produto, | |
'23765' AS txt_cod_prod, | |
CAST(1 as bit) AS bit_ativo | |
INTO #Tabela_Feia -- Tabela Temporária | |
INSERT INTO #Tabela_Feia (txt_produto, txt_cod_prod, bit_ativo) VALUES ('Elásticos', '12345', 0); | |
INSERT INTO #Tabela_Feia (txt_produto, txt_cod_prod, bit_ativo) VALUES ('Caderno', '23456', 1); | |
INSERT INTO #Tabela_Feia (txt_produto, txt_cod_prod, bit_ativo) VALUES ('Borracha', '34567', 0); |
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
for /d /r . %%d in (bin,obj) do @if exist "%%d" rd /s/q "%%d" |
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 | |
powercfg.exe -x -monitor-timeout-ac 0 | |
powercfg.exe -x -monitor-timeout-dc 0 | |
powercfg.exe -x -disk-timeout-ac 0 | |
powercfg.exe -x -disk-timeout-dc 0 | |
powercfg.exe -x -standby-timeout-ac 0 | |
powercfg.exe -x -standby-timeout-dc 0 | |
powercfg.exe -x -hibernate-timeout-ac 0 | |
powercfg.exe -x -hibernate-timeout-dc 0 |
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
cinst googlechrome | |
cinst git | |
cinst nodejs | |
cinst ccleaner | |
cinst procexp | |
cinst putty | |
cinst teamviewer | |
cinst sublimetext3 | |
cinst googledrive | |
cinst cmder |
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
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions |
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
Settings->Data Usage->Select Whatsapp-> And make sure Restrict background data is unchecked. | |
Or | |
Adictional options -> Power and Storage > Data Usage->Select Whatsapp-> And make sure Restrict background data is unchecked. |
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
abusaidm.html-snippets-0.1.0 | |
alefragnani.project-manager-0.21.1 | |
Angular.ng-template-0.1.7 | |
christian-kohler.path-intellisense-1.4.2 | |
CoenraadS.bracket-pair-colorizer-0.10.9 | |
dbaeumer.vscode-eslint-1.3.2 | |
donjayamanne.githistory-0.2.3 | |
EditorConfig.editorconfig-0.10.1 | |
eg2.tslint-1.0.9 | |
HookyQR.beautify-1.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
tsc main.ts --target ES5 && node main.js |
OlderNewer