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 { serve } from "https://deno.land/[email protected]/http/server.ts"; | |
serve(async (req)=>{ | |
// 1) Coloque aqui exatamente o host e porta da sua API, sem typo: | |
const TARGET = "http://001.002.003.004:8080"; | |
// 2) Se você quer forçar TODO proxy a ir em /extrair-dados, | |
// não precisa nem olhar o req.url.pathname — basta: | |
const dest = `${TARGET}/extrair-dados`; | |
console.log("Proxying to:", dest); | |
// 3) Preserva headers hop-by-hop, content-type, etc. | |
const outHeaders = new Headers(); |
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
// Automatic FlutterFlow imports | |
import '/backend/schema/structs/index.dart'; | |
import '/backend/schema/enums/enums.dart'; | |
import '/actions/actions.dart' as action_blocks; | |
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 |
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 '/flutter_flow/flutter_flow_theme.dart'; | |
import '/flutter_flow/flutter_flow_util.dart'; | |
import '/custom_code/widgets/index.dart'; // Imports other custom widgets | |
import '/flutter_flow/custom_functions.dart'; // Imports custom functions | |
import 'package:flutter/material.dart'; | |
// Begin custom widget code | |
// DO NOT REMOVE OR MODIFY THE CODE ABOVE! | |
class MonthYearPicker extends StatefulWidget { |
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/backend.dart'; | |
import '/backend/schema/structs/index.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
// Automatic FlutterFlow imports | |
import '/backend/backend.dart'; | |
import '/backend/schema/structs/index.dart'; | |
import '/actions/actions.dart' as action_blocks; | |
import '/flutter_flow/flutter_flow_theme.dart'; | |
import '/flutter_flow/flutter_flow_util.dart'; | |
import '/custom_code/widgets/index.dart'; // Imports other custom widgets | |
import '/custom_code/actions/index.dart'; // Imports custom actions | |
import '/flutter_flow/custom_functions.dart'; // Imports custom functions | |
import 'package:flutter/material.dart'; |
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; |
NewerOlder