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:flutter/material.dart'; | |
| import 'package:flutter_test/flutter_test.dart'; | |
| import 'package:hooks_riverpod/hooks_riverpod.dart'; | |
| import 'package:todo_riverpod/entity/todo.dart'; | |
| import 'package:todo_riverpod/provider/todo_providers.dart'; | |
| import 'package:todo_riverpod/repository/todo_repository.dart'; | |
| class _TodoRepositoryImplDummy implements TodoRepository { | |
| List<Todo> inMemoryTodoList = []; |
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:flutter/material.dart'; | |
| import 'package:hooks_riverpod/hooks_riverpod.dart'; | |
| import 'package:todo_riverpod/view/simple_todo.dart'; | |
| void main() { | |
| runApp( | |
| ProviderScope( | |
| child: MaterialApp( | |
| home: SimpleTodo(), | |
| ), |
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 { getRequestContext } from "@cloudflare/next-on-pages"; | |
| export const runtime = "edge"; | |
| interface ExtendedCloudflareEnv { | |
| DB: D1Database; | |
| AI?: { | |
| run: (model: string, options: any) => Promise<any>; | |
| }; | |
| } |
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
| cat << EOF > run_agent.py | |
| import argparse | |
| import asyncio | |
| from browser_use import Agent | |
| from langchain_openai import ChatOpenAI | |
| def parse_args(): | |
| parser = argparse.ArgumentParser(description="Run AI agent with a custom task.") | |
| parser.add_argument("--task", type=str, required=True, help="Task for the AI agent.") | |
| return parser.parse_args() |
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
| cat << EOF > run_agent.py | |
| import argparse | |
| import asyncio | |
| from browser_use import Agent | |
| from langchain_openai import ChatOpenAI | |
| def parse_args(): | |
| parser = argparse.ArgumentParser(description="Run AI agent with a custom task.") | |
| parser.add_argument("--task", type=str, required=True, help="Task for the AI agent.") | |
| return parser.parse_args() |
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
| /** | |
| * LINE → GitHub Issue → Google Sheets Logger (signature-less robust版) | |
| * ※ Google Apps Script Webアプリでは HTTP ヘッダーを直接取得できないため、 | |
| * LINE 署名検証は割愛しています(Webhook URL を秘匿できる環境前提)。 | |
| * @license MIT | |
| */ | |
| /* ---------- 設定 ---------- */ | |
| const CONF = { | |
| LINE_ACCESS_TOKEN: PropertiesService.getScriptProperties().getProperty('LINE_ACCESS_TOKEN'), |
OlderNewer