Skip to content

Instantly share code, notes, and snippets.

@hrsano645
hrsano645 / agent loop
Created March 12, 2025 01:03 — forked from jlia0/agent loop
Manus tools and prompts
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
@hrsano645
hrsano645 / 2023-07-07.md
Last active August 8, 2023 05:20
fujishi-gender_kaigi_2022-2023

‎‎​

@hrsano645
hrsano645 / shizuhack2023.md
Last active June 4, 2023 09:45
shizuhack2023
marp
true

#Shizuhack 2023

2023-06-02 ~ 2023-06-04


@hrsano645
hrsano645 / 7zcmd.md
Last active May 1, 2023 07:58
7zコマンドでファイル解凍をする方法

7zで解凍するコマンド

条件としては、拡張子は関係ない、適当なディレクトリ名の中で解凍される

7z x -o<解凍先ディレクトリ> <解凍対象ファイル>

import asyncio
from pyppeteer import launch
from pathlib import Path
# ref:https://qiita.com/horikeso/items/69528c2b21ede15a56ee
download_path = Path("./download")
async def main():
import asyncio
from pyppeteer import launch
from pathlib import Path
import time
# ref:https://qiita.com/horikeso/items/69528c2b21ede15a56ee
download_path = "./download"
function createWebhook(){
// プロパティを設定してから必要な情報を取り出す
// 参考:https://qiita.com/0Delta/items/7d8303eebbff4062069e
var scriptProp = PropertiesService.getScriptProperties().getProperties();
var trelloKey = scriptProp.TRELLO_API_KEY;
var trelloToken = scriptProp.TRELLO_TOKEN;
// Trello WebhookへCallback URLを登録する手順
// 1. 登録用のURL生成のために、GASのWEBアプリケーションの公開を以下のように変更してURLを生成する
@hrsano645
hrsano645 / dyndns_route53.py
Created May 15, 2018 05:44 — forked from mariocesar/dyndns_route53.py
Update a Route53 Record if your public IP changes. Like DynDNS
"""
Requeriments:
$ sudo pip install boto dnspython
Edit ~/.boto to use your AWS credentials
"""
import time
import sys
#define BLYNK_USE_DIRECT_CONNECT
#define BLYNK_PRINT Serial
#include <BlynkSimpleSerialBLE.h>
#include <Adafruit_BLE.h>
#include <Adafruit_BluefruitLE_SPI.h>
#include <SPI.h>
#include <OneWire.h>
#include <DallasTemperature.h>
import subprocess
import datetime
from pprint import pprint
ROUTER = ""
NW = ""
RUN_COUNT = 2
speedtest_command = "speedtest-cli --server 15047".split(" ")