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
# Procura por pastas no Exchange Online e retorna o caminho completo (full path) e seu tamanho | |
# | |
# Uso: | |
# exchange-GetMailboxFolder-FullPath.ps1 -Find Texto | |
# | |
# Instala automaticamente se não encontrado o módulo ExchangeOnlineManagement | |
# Solicita credenciais para conectar ao Exchange Online se não conectado | |
# | |
Param ( |
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
#!/bin/bash | |
# Export a AWS DNS Route53 Zone to file | |
# Install and configure AWS CLI first | |
# Usage: exportRoute53Zone.sh zonename | |
zonename=$1 | |
hostedzoneid=$(aws route53 list-hosted-zones | jq -r ".HostedZones[] | select(.Name == \"$zonename.\") | .Id" | cut -d'/' -f3) | |
aws route53 list-resource-record-sets --hosted-zone-id $hostedzoneid |
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
#!/bin/bash | |
## Try to use following solution. | |
## ------------------------------------ | |
USER=$(whoami) | |
echo $USER | |
echo 'step 1' | |
cd /Users/$USER/Library/Application\ Support/Steam/Steam.AppBundle/Steam/Contents/MacOS/public; ls *.res | while read line ; do file=$(echo $line | tr '[:upper:]' '[:lower:]'); mv $line $file; done |
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
codigo | nome | descricao | |
---|---|---|---|
100 | HTTP_CONTINUE | Continue | |
101 | HTTP_SWITCHING_PROTOCOLS | Switching Protocols | |
200 | HTTP_OK | OK | |
201 | HTTP_CREATED | Created | |
202 | HTTP_ACCEPTED | Accepted | |
203 | HTTP_NON_AUTHORITATIVE | Non-Authoritative Information | |
204 | HTTP_NO_CONTENT | No Content | |
205 | HTTP_RESET_CONTENT | Reset Content | |
206 | HTTP_PARTIAL_CONTENT | Partial Content |
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
$portrange = 1226..1260 | |
$net = "10.0.0" | |
$range = 2..2 | |
$timeout_ms = 5 | |
foreach ($r in $range) | |
{ | |
Get-Date | |
$ip = "{0}.{1}" -F $net,$r |