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
unit unet; | |
interface | |
uses | |
Windows; | |
const | |
NETWORK_ALIVE_LAN = $1; | |
NETWORK_ALIVE_WAN = $2; |
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
Diff tool: C:\Program Files (x86)\WinMerge\WinMergeU.exe | |
Arguments: "$LOCAL" "$REMOTE" -dl "Local" -dr "Remote" | |
Merge tool: C:\Program Files (x86)\WinMerge\WinMergeU.exe | |
Arguments: "$MERGED" |
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
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "(iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))) >$null 2>&1" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin | |
cinst nodejs | |
npm install -g phonegap |
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://www.vivo.com.br/portalweb/appmanager/env/web?_nfpb=true&_nfls=false&_pageLabel=P80200515731386955103141# | |
$res = (Invoke-WebRequest "https://sslplataformavivol.clientes.ananke.com.br/cismp/api/movel/getFutureList/ES/CACHOEIRO%20DE%20ITAPEMIRIM/2015-03-03?callback=callback&_=1425353373132").content | |
$regex = [regex] 'callback\((.*)\)' | |
$conteudo = $regex.Matches($res).groups[1] | |
$json = ConvertFrom-Json $conteudo | |
write-host $json.cont.message |
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
:: SonarQube server 3.7.x | |
sonar-runner -Dsonar.dryRun=true -Dsonar.issuesReport.html.enable=true -Dsonar.issuesReport.console.enable=true |
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
# START iexplore.exe http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/evandroamparo/6950a44de9b1449e8e87/raw | |
# Para iniciar a instalação a partir da web, execute o PowerShell como administrador e execute este comando: | |
# Set-ExecutionPolicy RemoteSigned -force; iex ((new-object net.webclient).DownloadString('https://gist.githubusercontent.com/evandroamparo/6950a44de9b1449e8e87/raw')) | |
# Set-ExecutionPolicy RemoteSigned -Force | |
# iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1')) | |
cinst googlechrome | |
cinst git |
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
:: Referências: | |
:: http://delphisorcery.blogspot.com/2011/07/unattended-delphi-installation-how.html | |
:: http://www.installaware.com/FlashHelp/predefinedvariables.htm | |
Setup.exe /s LANGUAGE=English EN=TRUE DE=FALSE KEY1=XXXX KEY2=XXXXXX KEY3=XXXXXX KEY4=XXXX USERNAME="Admin" USERCOMPANY="Company" PERSON_DW32=TRUE PERSON_CPPB=FALSE INSTALL_AQTIME=FALSE INSTALL_CODESITE=FALSE INSTALL_FINALBUILDER=FALSE INSTALL_HELP=TRUE INSTALL_RAVE_REPORTS=FALSE INSTALL_SVNCLIENT=FALSE INSTALL_FEATURE_DatabaseDesktop=FALSE INSTALL_FEATURE_IntraWeb=FALSE INSTALL_FEATURE_SampleDataFiles=FALSE INSTALL_FEATURE_SamplePrograms=FALSE /l="%~dp0\Setup.log" |
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
# START http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/evandroamparo/50a4358f9d0201e7618d/raw | |
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowFileExtensions | |
cinst Clover | |
cinst git | |
cinst SourceTree | |
cinst git-credential-winstore | |
cinst google-chrome-x64 | |
cinst firefox | |
cinst fiddler4 |
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 iniFile = new IniFile("arquivo.ini"); | |
var config = new Configuracao(); | |
var serializer = new IniSerializer(typeof(Configuracao)); | |
//var serializer = new IniSerializer<Configuracao>(); | |
... | |
config.Fonte.Negrito = true; | |
config.Fonte.Nome = "Arial"; | |
serializer.Serialize(config, iniFile); |
NewerOlder