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
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 |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Page Title</title> | |
<base href="https://example.com/page.html"> | |
<link rel="stylesheet" href="styles.css" type="text/css"> | |
<style type="text/css"> | |
</style> |
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
'use strict'; | |
const assert = require('node:assert'); | |
const fs = require('node:fs/promises'); | |
const DATA_HOME_URL = 'https://storage.googleapis.com/access-logs-summaries-nodejs/index.html'; | |
const DATA_FILE_PATH = 'data.json'; | |
const DATA_CSV_PATH = 'data.csv'; | |
const DATA_CSV_SEVEN_DAY_PATH = 'data-seven-day-avg.csv'; | |
const LINES = ['14', '16', '18', '19', '20']; | |
async function main() { |
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
exports.notification = (req, res, next) => { | |
const notificationPayload = { | |
notification: { | |
title: 'Blogial new post', | |
body: req.body.title, | |
icon: 'assets/icons/icon-512x512.png' | |
} | |
}; | |
Subscription.find() | |
.then(subscriptions => { |
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
var five = require("johnny-five"), | |
board, sensor; | |
board = new five.Board(); | |
board.on("ready", function() { | |
sensor = new five.Sensor({ pin: 0, freq: 250 }); | |
board.repl.inject({ | |
sensor: sensor | |
}); |
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
node_modules |