A arquitetura recomendada ao final da migração será:
Objetivo: sair do Supabase e rodar um portal de notícias full stack em uma VPS da Hostinger usando Coolify, PostgreSQL, backend Dart Shelf e frontend NgDart 8.
Cenário do projeto:
eloquent.dart, compatível com PostgreSQL e MySQL.| // ==UserScript== | |
| // @name vectorizer.ai download patcher | |
| // @match https://vectorizer.ai/* | |
| // @version 1.0 | |
| // @description enables free downloads on vectorizer.ai, based on https://github.com/sanz-s/Vectorizer.ai-Unofficial-Downloader-2025/ | |
| // ==/UserScript== | |
| const main = () => { | |
| const SVG_NS = 'http://www.w3.org/2000/svg' | |
| const SVG_XML_DECLARATION = '<?xml version="1.0" encoding="UTF-8"?>\n' |
Esta é uma documentação completa para a biblioteca jose em Dart. A biblioteca implementa os padrões de Javascript Object Signing and Encryption (JOSE), fornecendo funcionalidades para JWS, JWE, JWK, JWT e JWA.
| CREATE OR REPLACE FUNCTION serial_year_func() | |
| RETURNS "pg_catalog"."trigger" AS $BODY$ | |
| DECLARE | |
| current_year INT; | |
| table_name TEXT; | |
| id_field_name TEXT; | |
| ano_field_name TEXT; | |
| last_id INT; | |
| _idIsNull boolean; | |
| _anoIsNull boolean; |
| // http://stackoverflow.com/questions/21961839/simulation-background-size-cover-in-canvas | |
| function drawImageProp(ctx, img, x, y, w, h, offsetX, offsetY) { | |
| if (arguments.length === 2) { | |
| x = y = 0; | |
| w = ctx.canvas.width; | |
| h = ctx.canvas.height; | |
| } | |
| // default offset is center | |
| offsetX = typeof offsetX === "number" ? offsetX : 0.5; |
First is to download php 7 to this website https://windows.php.net/download/
Make a directory and save it to this path C:/php
Go to https://www.apachelounge.com/download/ to download the Apache server
| import 'package:new_sali_core/new_sali_core.dart'; | |
| import 'package:puppeteer/puppeteer.dart'; | |
| import 'package:test/test.dart'; | |
| import 'dart:async'; | |
| import 'package:path/path.dart' as path; | |
| /// add to pubspec.yaml | |
| // dev_dependencies: | |
| // angel3_hot: any |
| // g++ test.cpp --std=c++11 -lpthread -O2 | |
| //#ifdef WIN32 <- stdafx breaks this ifdef... | |
| //#include "stdafx.h" | |
| //#endif | |
| #include <iostream> | |
| #include <atomic> | |
| #include <thread> | |
| #include <vector> |
| #include <limits.h> | |
| #include <stdint.h> | |
| #include <stdio.h> | |
| #include <sys/statvfs.h> | |
| #include <sys/types.h> | |
| struct fs_usage { | |
| uintmax_t fsu_blocksize; /* Size of a block. */ | |
| uintmax_t fsu_blocks; /* Total blocks. */ | |
| uintmax_t fsu_bfree; /* Free blocks available to superuser. */ |