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
@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";
@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 February 26, 2025 01:17
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 February 10, 2025 07:58
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 がある今、学ぼうと思えば好きなだけ学べる時代がきています。

@ash-r1
ash-r1 / userscript.js
Last active June 28, 2023 05:26
Bing AIの入力フォームでIME変換中のEnterでは送られないようにする
// ==UserScript==
// @name ChatGPT Enter Fix (GPT4)
// @name:ja ChatGPT Enter Fix (GPT4)
// @namespace http://tampermonkey.net/
// @description This Chrome/Safari extension addresses the issue where ChatGPT sends text even when the Enter key is pressed during Japanese conversion.
// @description:ja ChatGPTにおいて日本語IMEで変換中にEnterを押した時に送信されてしまうの問題を阻止します。 Safariにも対応。
// @version 2.1
// @author satosh1suzuk1, d-engine
// @match https://chat.openai.com
// @match https://chat.openai.com/*
@gpsnmeajp
gpsnmeajp / hello_nostr.dart
Last active July 29, 2023 18:49
DartでNostrのTLを眺めるやつ
// flutter pub add nostr
import 'dart:convert';
import 'dart:io';
import 'package:nostr/nostr.dart';
//自分の公開鍵(16進数。https://damus.io/key/ で変換できる)
const yourPubKeyHex =
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
diff -r 1/linux-z7213/.gitignore 2/linux-z7213/.gitignore
100a101,106
>
> # for yocto recipes-kernel build
> arch/arm/boot/vmlinux
> oe-logs
> oe-workdir
> source
diff -r 1/linux-z7213/arch/arm/include/asm/uaccess.h 2/linux-z7213/arch/arm/include/asm/uaccess.h
162c162