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
@GOROman
GOROman / HaaS.mermaid
Last active March 8, 2025 05:50
Human as a Service
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@GOROman
GOROman / webserver.c
Created March 3, 2025 22:16
超高機能 Web Server
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <arpa/inet.h>
#include <sys/socket.h>
#define PORT 8080
#define BUFFER_SIZE 1024
@GOROman
GOROman / hello_world.py
Created March 3, 2025 09:44
PythonのHello Worldプログラム
print("Hello, World!")
@GOROman
GOROman / hello_world.c
Last active March 3, 2025 09:45
PythonのHello Worldプログラム
#include <stdio.h>
int main() {
printf("Hello, World!\n");
return 0;
}
@GOROman
GOROman / Gaitame.ino
Last active April 28, 2025 04:29
#がいためIMU を Arduino で動かす SPRESENSE向けマルチIMU Add-onボード [CXD5602PWBIMU1J]
// Spresense Multi-IMU[CXD5602PWBIMU1J] Sample for Arduino IDE
//
// #がいためIMU
// by @GOROman
#include <stdio.h>
#include <sys/ioctl.h>
#include <time.h>
#include <inttypes.h>
#include <fcntl.h>
@GOROman
GOROman / gaitame.c
Last active March 22, 2025 08:11
#がいためIMU テスト
/****************************************************************************
* Included Files
****************************************************************************/
#include <nuttx/config.h>
#include <sys/ioctl.h>
#include <time.h>
@GOROman
GOROman / SuperIMU2.cpp
Created March 1, 2025 08:29
#がいためIMU テスト2 Powered by Cline
#if 0 // Cline Prompt
@cxd5602pwbimu_main.c を変更し、6軸IMUから加速度バイアス、角速度バイアス、クォータ二オンによる姿勢と速度と慣性空間における位置を算出する拡張カルマンフィルタのCのコードを生成してください。予測更新、観測更新、カルマンゲインの更新、誤差共分散の推定と省略せず完全なコードをお願いします。姿勢に関してはクォータニオンをオイラー角に変換して出力するのも含めてください。
#endif
/****************************************************************************
* examples/cxd5602pwbimu/cxd5602pwbimu_main.c
*
* Copyright 2025 Sony Semiconductor Solutions Corporation
@GOROman
GOROman / SuperIMU.cpp
Last active March 2, 2025 11:01
#がいためIMU
/****************************************************************************
* examples/cxd5602pwbimu/cxd5602pwbimu_main.c
*
* Copyright 2025 Sony Semiconductor Solutions Corporation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
@GOROman
GOROman / cxd5602pwbimu_sample_main.c
Created February 28, 2025 06:21
Clide: CXD5602PWBIMU サンプル 自動生成
/****************************************************************************
* examples/cxd5602pwbimu_sample/cxd5602pwbimu_sample_main.c
*
* Copyright 2025 Sony Semiconductor Solutions Corporation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright