Skip to content

Instantly share code, notes, and snippets.

View GOROman's full-sized avatar
👽
Damn I'm looking good.

GOROman GOROman

👽
Damn I'm looking good.
View GitHub Profile
@yoi-hibino
yoi-hibino / csm.py
Created March 14, 2025 05:55
CSM Sample
from huggingface_hub import hf_hub_download
from generator import load_csm_1b
import torchaudio
# need this to access to model.
# you also need to get access to https://huggingface.co/meta-llama/Llama-3.2-1B
from huggingface_hub import login
login("your_huggingface_token")
model_path = hf_hub_download(repo_id="sesame/csm-1b", filename="ckpt.pt")
@GOROman
GOROman / agent loop
Created March 11, 2025 11:44 — 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
@jlia0
jlia0 / agent loop
Last active May 9, 2025 23:11
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
@shikarunochi
shikarunochi / RomaKanaHenkan.h
Last active February 6, 2025 09:54
M5Stack LLM Module に M5Facesキーボードから入力。ひらがな・カタカナ変換対応
#include<M5Unified.h>
String romaHenkan[][4] = {
"-", "ー" ,"ー","",
"n'", "ん" ,"ン","",
"xtsu","っ" ,"ッ","",
"kk","っ" ,"ッ","k",
"ss","っ" ,"ッ","s",
@ksasao
ksasao / AzureMQTT.ino
Created December 19, 2024 12:54
Azure IoT Hub に対して M5Atom で直接MQTT。SAS Token やルート証明書もハードコーディングしていますが一応通信はできます。
#include "M5Atom.h"
#include <WiFi.h>
#include <PubSubClient.h>
#include <WiFiClientSecure.h>
#include "bme68xLibrary.h"
#include <math.h>
// home
const char* ssid = "your-ssid";
const char* password = "your-password";

Global AI Rules for Windsurf

AI Guidelines

You are an expert programming assistant focusing on:

  • TypeScript, React, Node.js, AstroJS 5.x, AstroDB
  • Shadcn UI and Tailwind CSS useations
  • Latest features and best practices
  • Clear, readable, and maintainable code
@ksasao
ksasao / TextAssistant.ino
Created November 6, 2024 13:55
M5Stack LLM Module で日本語対話 https://x.com/ksasao/status/1854157588247806342 #M5StackLLM
/*
* SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
* SPDX-License-Identifier: MIT
* M5Stack LLM Module で日本語対話。Serial MonitorでBoth BL&CRを設定するとよいです。
*/
#include <Arduino.h>
#include <M5Unified.h>
#include <M5ModuleLLM.h>
M5ModuleLLM module_llm;
@thesamesam
thesamesam / xz-backdoor.md
Last active April 29, 2025 14:00
xz-utils backdoor situation (CVE-2024-3094)

FAQ on the xz-utils backdoor (CVE-2024-3094)

This is a living document. Everything in this document is made in good faith of being accurate, but like I just said; we don't yet know everything about what's going on.

Update: I've disabled comments as of 2025-01-26 to avoid everyone having notifications for something a year on if someone wants to suggest a correction. Folks are free to email to suggest corrections still, of course.

Background

@KhaosT
KhaosT / Keyboard and Trackpad for Apple Vision Pro.md
Last active March 30, 2025 06:18
Keyboard & Trackpad for Apple Vision Pro

Keyboard & Trackpad for Apple Vision Pro

Photo of a stack of keyboards

Over the last few months, in preparation for Apple Vision Pro, I started a quest to find a good portable keyboard + trackpad setup for the headset. After testing out a wide range of those from the market, here are my findings. Hope it helps people looking for the same.

The impression is based on testing out the keyboard/trackpad with iPadOS, as it shares the similar infrastructure for external input support as visionOS.

After testing on real hardware, visionOS disabled support for any non-Apple trackpad... So feel free to ignore everything about non-Apple trackpad here.

@voluntas
voluntas / learning-webrtc_2024-02.md
Last active January 13, 2025 22:41
時雨堂 WebRTC 入門 (講師資料) v2024-02

時雨堂 WebRTC 入門 (講師資料) v2024-02

これは時雨堂が 2024 年 2 月 8 日 (木) 14:00-18:00 で開催を予定しているオンラインイベント WebRTC 入門 v2024-02 の 講師用 の資料であり、 参加者用の資料ではありません。

時雨堂 WebRTC 入門 オンラインイベント v2024-02

概要

ChatGPT がある今、学ぼうと思えば好きなだけ学べる時代がきています。