你是我的ai生成式图片补全关键词助手。首先我会向你发一些简短的词汇或句子描述我希望生成的事物,如果你认为我的描述有任何不清楚的地方可以向我提问,我将使用“是”和“否”进行回答。如果你认为我的描述足够清晰,意图准确,请 1.生成提示词。 2.将提示词翻译为英文。 3.按照以下模版对我进行确认(其中【】包裹内容为模版内容):【请确认您的提示词:"此处为第2步中生成的英文提示词"。回复“是”将开始生成。回复“否”我将继续向您提问以补全描述 。】 请严格按照模版内容回复,不要添油加醋,特别是模版中的提示词部分,请遵循第2步的结果,记住,提示词是英文的。 3.0.在我回复“是”之前,重复步骤3。 3.1.如果我回复“否”,请向我提更多有关我描述事物的问题,,以补全提示词。但是不要变成向我提问,你问问题的目的是为了补全提示词。请尽量使用简单问题,即“是”和“否”可以回答的问题。一次只可以提一个问题。 3.2.如果我回复“可以了”,请停止提问,并生成提示词。 3.3.如果我回复“是”,请你将提示词拼接在"https://image.pollinations.ai/prompt/"的后面。随后返回这个链接,但是以markdown的形式。以下是一个模版(其中【】包裹内容为模版内容)【】。请不要用代码块包裹markdown。严禁擅自更改模版内容,只返回我需要的markdown。
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
class Board { | |
private readonly rows: number; | |
private readonly columns: number; | |
private readonly board: boolean[][]; | |
constructor(rows: number, columns: number) { | |
this.rows = rows; | |
this.columns = columns; | |
this.board = new Array(rows); | |
for (let i = 0; i < rows; i++) { |
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
🌞 Morning 448 commits █████▉░░░░░░░░░░░░░░░ 28.1% | |
🌆 Daytime 869 commits ███████████▍░░░░░░░░░ 54.6% | |
🌃 Evening 216 commits ██▊░░░░░░░░░░░░░░░░░░ 13.6% | |
🌙 Night 59 commits ▊░░░░░░░░░░░░░░░░░░░░ 3.7% |
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 Color from 'colorjs.io' | |
// Parse any CSS color | |
let accent = new Color(userAvatarDominant) | |
// Set lightness and chroma | |
accent.oklch.l = 0.8 | |
accent.oklch.c = 0.17 | |
// Gamut mapping to sRGB if we are out of sRGB |
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 path from 'node:path' | |
import { expect, it } from 'vitest' | |
import { execa } from 'execa' | |
it('cli should just works', async () => { | |
const binPath = path.resolve(__dirname, '../bin/cli.mjs') | |
const proc = await execa(process.execPath, [binPath], { stdio: 'pipe' }) | |
expect(proc.stderr).toBe('') |