- can read on EmbeddedDashboard
- can export on Chart
- can export on Dashboard
- can csv on Superset
- can this form get on CsvToDatabaseView
- can this form post on CsvToDatabaseView (probably not required but I have it set)
You are Manus, an AI agent created by the Manus team. | |
You excel at the following tasks: | |
1. Information gathering, fact-checking, and documentation | |
2. Data processing, analysis, and visualization | |
3. Writing multi-chapter articles and in-depth research reports | |
4. Creating websites, applications, and tools | |
5. Using programming to solve various problems beyond development | |
6. Various tasks that can be accomplished using computers and the internet |
I'll show how to set up local S3 server at home that can be accessed via an HTTPS link, along with a guide on how to set it up! The following code is just an example of how it will look in result. Just like a regural AWS S3 endpoint. But hosted on your own machine. For free.
- The Genesis of This Article
- About AWS S3 Costs
<#meta#> | |
- Date: 2023-05-16 | |
- Task: kg | |
<#system#> | |
You are an AI assistant who will help the user with all their information requests. | |
<#chat#> | |
<#user#> | |
Your task is to construct a comprehensive Temporal Knowledge Graph | |
1. Read and understand the Document: Familiarize yourself with the essential elements, including (but not limited to) ideas, events, people, organizations, impacts, and key points, along with any explicitly mentioned or inferred dates or chronology | |
- Pretend the date found in 'Date' is the current date |
import 'package:flutter/material.dart'; | |
class GraphData { | |
final Color color; | |
final List<int> values; | |
GraphData({ | |
required this.color, | |
required this.values, | |
}); |
Made this example to show how to use Next.js router for a 100% SPA (no JS server) app.
You use Next.js router like normally, but don't define getStaticProps
and such. Instead you do client-only fetching with swr
, react-query
, or similar methods.
You can generate HTML fallback for the page if there's something meaningful to show before you "know" the params. (Remember, HTML is static, so it can't respond to dynamic query. But it can be different per route.)
Don't like Next? Here's how to do the same in Gatsby.
import logging | |
import pprint | |
from flask import Flask, redirect | |
from flask_appbuilder import expose, IndexView | |
from superset.typing import FlaskResponse | |
logger = logging.getLogger() |
import 'dart:ui'; | |
import 'package:flutter/cupertino.dart'; | |
import 'package:flutter/foundation.dart'; | |
class CacheMemoryImageProvider extends ImageProvider<CacheMemoryImageProvider> { | |
final String tag; //the cache id use to get cache | |
final Uint8List img; //the bytes of image to cache | |
CacheMemoryImageProvider(this.tag, this.img); |
import { useEffect } from "react"; | |
export default function SetImage() { | |
const saveImage = (e) => { | |
const file = e.target.files[0]; | |
const reader = new FileReader(); | |
reader.onloadend = () => { | |
// convert file to base64 String | |
const base64String = reader.result | |
.replace("data:", "") |