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
@echo off | |
set /p novapasta= "Nome para nova pasta: " | |
mkdir "%novapasta%" | |
set newpath="%novapasta%" | |
:again | |
if {%1}=={} goto :EOF | |
move %1 %newpath% | |
shift | |
goto again | |
Echo on |
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 getCity(GMapsResult) { | |
var localidade=""; | |
if (GMapsResult.hasOwnProperty("results")) { | |
for (var prop in GMapsResult.results) { | |
if ((GMapsResult.results.hasOwnProperty(prop)) && (localidade==="")) { | |
if (GMapsResult.results[prop].hasOwnProperty("address_components")) { | |
var address_components = GMapsResult.results[prop].address_components; | |
for (var prop2 in address_components) { | |
if ((address_components.hasOwnProperty(prop2)) && (localidade==="")) { | |
var address_components_details = address_components[prop2]; |
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
var arrayMethods = Object.getOwnPropertyNames( Array.prototype ); | |
arrayMethods.forEach( attachArrayMethodsToNodeList ); | |
function attachArrayMethodsToNodeList(methodName) | |
{ | |
if(methodName !== "length") { | |
NodeList.prototype[methodName] = Array.prototype[methodName]; | |
} | |
} |
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
Get-ItemProperty HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion, Publisher, InstallDate | Format-Table –AutoSize |