curl -fsSL get.docker.com | bash
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
robocopy \\<SOURCE_SERVER_IP>\<SHARED_FOLDER_PATH> <DESTINATION_FOLDER_PATH> /E /Z /ZB /R:5 /W:5 /TBD /NP /MT:16 /compress |
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
cp /etc/apt/sources.list /etc/apt/sources.list.bak | |
sudo sed -i -re 's/([a-z]{2}.)?archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list | |
sudo apt-get update |
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
$ChromeVersion = 101 | |
$requestId = ([String][Guid]::NewGuid()).ToUpper() | |
$sessionId = ([String][Guid]::NewGuid()).ToUpper() | |
$xml = @" | |
<?xml version="1.0" encoding="UTF-8"?> | |
<request protocol="3.0" updater="Omaha" updaterversion="1.3.36.111" shell_version="1.3.36.111" | |
ismachine="1" sessionid="{$sessionId}" | |
installsource="update3web-ondemand" requestid="{$requestId}" |
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
create table scheduled_tasks ( | |
task_name text not null, | |
task_instance text not null, | |
task_data bytea, | |
execution_time timestamp with time zone not null, | |
picked BOOLEAN not null, | |
picked_by text, | |
last_success timestamp with time zone, | |
last_failure timestamp with time zone, | |
consecutive_failures INT, |
Considerando que o seguinte serviço foi criado:
apiVersion: v1
kind: Service
metadata:
name: postgres-outside-cluster
namespace: default
spec:
type: NodePort
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
#!/bin/bash | |
repository_url=$1 # Maven repository URL | |
username=$2 # Nome de usuário para autenticação no repositório | |
password=$3 # Senha para autenticação no repositório | |
# Configurar o arquivo settings.xml com as credenciais | |
cat >settings.xml <<EOF | |
<settings> | |
<servers> |
NewerOlder