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 | |
| # Nome: CompareSubdirSizesProgress.sh | |
| # Defina o diretório padrão ou aceite via argumentos de linha de comando | |
| DIR1=${1:-"/Users/dms/Library/CloudStorage/Dropbox"} | |
| DIR2=${2:-"/Volumes/hd4tb/BKP_do_MAC/Dropbox"} | |
| # Função para calcular o tamanho dos subdiretórios |
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 | |
| # Configurações do Home Assistant | |
| url_base="http://192.168.50.201:8123/api/states" | |
| token="lzRSxMt1dtk" | |
| # Nome do servidor | |
| srv_name="pve" | |
| # Constants for device info |
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
| // Automatic FlutterFlow imports | |
| import '/backend/schema/structs/index.dart'; | |
| import '/backend/supabase/supabase.dart'; | |
| import '/flutter_flow/flutter_flow_theme.dart'; | |
| import '/flutter_flow/flutter_flow_util.dart'; | |
| import '/custom_code/actions/index.dart'; // Imports other custom actions | |
| import '/flutter_flow/custom_functions.dart'; // Imports custom functions | |
| import 'package:flutter/material.dart'; | |
| // Begin custom action code | |
| // DO NOT REMOVE OR MODIFY THE CODE ABOVE! |
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
| import 'package:supabase_flutter/supabase_flutter.dart'; | |
| /** | |
| deleta arquivo no supabase | |
| */ | |
| Future<bool> deletaArquivoSupabase(String bucketName, String fileName) async { | |
| print("Action: deletaArquivoSupabase"); | |
| bool resultado = false; |
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 | |
| # Nome do container Docker | |
| CONTAINER_NAME="your_container_name_here" | |
| # Obtém a rede que o container Docker está utilizando | |
| NETWORK_NAME=$(docker inspect $CONTAINER_NAME --format '{{range .NetworkSettings.Networks}}{{.NetworkID}}{{end}}') | |
| # Exporta a rede como uma variável de ambiente | |
| export DOCKER_CONTAINER_NETWORK=$NETWORK_NAME |
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
| { | |
| "auths": { | |
| "https://index.docker.io/v1/": { | |
| "auth": "adsdadaadddadds" | |
| } | |
| }, | |
| "HttpHeaders": { | |
| "User-Agent": "Docker-Client/18.09.4 (linux)" | |
| }, |
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
| { | |
| "dns": ["127.0.0.53", "10.234.11.61"], | |
| "data-root": "/mnt/dados/docker", | |
| "proxies": { | |
| "http-proxy": "", | |
| "https-proxy": "", | |
| "no-proxy": "" | |
| } | |
| } |
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
| # create the volume for Portainer database | |
| docker volume create portainer_data | |
| # Start Portainer server | |
| docker run -d \ | |
| -p 8000:8000 \ | |
| -p 9443:9443 \ | |
| -p 9001:9000 \ |
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
| { | |
| "auths": { | |
| "https://index.docker.io/v1/": { | |
| "auth": "ZG1asddasdasdasdsad" | |
| } | |
| }, | |
| "HttpHeaders": { | |
| "User-Agent": "Docker-Client/18.09.4 (linux)" | |
| }, |
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
| docker run \ | |
| -v /root:/srv \ | |
| -u $(id -u):$(id -g) \ | |
| -p 9080:80 \ | |
| filebrowser/filebrowser |