Skip to content

Instantly share code, notes, and snippets.

View saccadic's full-sized avatar
๐ŸŒŽ
Maybe on Earth. Maybe in the future.

Katsuyoshi Hotta saccadic

๐ŸŒŽ
Maybe on Earth. Maybe in the future.
  • Osaka
  • 05:12 (UTC +09:00)
View GitHub Profile
@ocornut
ocornut / imgui_node_graph_test.cpp
Last active October 6, 2025 00:09
Node graph editor basic demo for ImGui
// Creating a node graph editor for Dear ImGui
// Quick sample, not production code!
// This is quick demo I crafted in a few hours in 2015 showcasing how to use Dear ImGui to create custom stuff,
// which ended up feeding a thread full of better experiments.
// See https://github.com/ocornut/imgui/issues/306 for details
// Fast forward to 2023, see e.g. https://github.com/ocornut/imgui/wiki/Useful-Extensions#node-editors
// Changelog
// - v0.05 (2023-03): fixed for renamed api: AddBezierCurve()->AddBezierCubic().
@voluntas
voluntas / webrtc_sfu_dev.rst
Last active April 24, 2025 12:04
WebRTC SFU ใ‚ณใƒˆใƒใ‚ธใƒก

WebRTC SFU ใ‚ณใƒˆใƒใ‚ธใƒก

ๆ—ฅๆ™‚:2023-12-03
ไฝœ:voluntas
ใƒใƒผใ‚ธใƒงใƒณ:2023.1
url:https://voluntas.github.io

ใ“ใฎ่จ˜ไบ‹ใŒ่‰ฏใ„ใจๆ€ใฃใŸใ‚‰ใ“ใฎ่จ˜ไบ‹ใซ Star ใ‚’ใŠ้ก˜ใ„ใ—ใพใ™

@Hamayama
Hamayama / 1007_MinGW64_Install.md
Last active August 19, 2025 09:43
MSYS2/MinGW-w64 (64bit/32bit) ใ‚คใƒณใ‚นใƒˆใƒผใƒซๆ‰‹้ † ใƒกใƒข

MSYS2/MinGW-w64 (64bit/32bit) ใ‚คใƒณใ‚นใƒˆใƒผใƒซๆ‰‹้ † ใƒกใƒข

  • ่‡ชๅˆ†ใŒใ‚คใƒณใ‚นใƒˆใƒผใƒซใ—ใŸใจใ (2022ๅนด9ๆœˆ) ใฎๅ‚่€ƒ็”จใฎใƒกใƒขใงใ™ใ€‚
    (ๆƒ…ๅ ฑใŒๅคใใชใฃใฆใ„ใ‚‹ๅฏ่ƒฝๆ€งใŒใ‚ใ‚Šใพใ™)

  • **๏ผœ๏ผœ๏ผœ็พๅœจใงใฏ ใ‚ˆใ‚Šๆ–ฐใ—ใ„ MSYS2/MinGW-w64 UCRT64 (64bit) ใฎ้–‹็™บ็’ฐๅขƒใ‚‚ใ‚ใ‚Šใพใ™๏ผž๏ผž๏ผž
    MSYS2/MinGW-w64 UCRT64 (64bit) ้–‹็™บ็’ฐๅขƒใฎใ‚คใƒณใ‚นใƒˆใƒผใƒซใซใคใ„ใฆใฏใ€
    ไปฅไธ‹ใฎใƒšใƒผใ‚ธใฎๆ–นใ‚’ๅ‚็…งใใ ใ•ใ„ใ€‚
    https://gist.github.com/Hamayama/7810d2a1a59a872a2fbc271345151f77

@mieki256
mieki256 / graphicsrubberband2.py
Last active April 16, 2022 06:19
PySideใงCGใƒ„ใƒผใƒซ็”จใƒฉใƒใƒผใƒใƒณใƒ‰ใ‚’่ฉฆใ—ใซๆ›ธใ„ใฆใฟใ‚‹
#!python
# -*- mode: python; Encoding: utf-8; coding: utf-8 -*-
# Last updated: <2016/12/07 20:37:05 +0900>
u"""
PySideใ‚’ไฝฟใฃใฆใ€CGใƒ„ใƒผใƒซ็”จใ‚’ๅ‰ๆใจใ—ใŸRubberBandใ‚’ๅฎŸ่ฃ….
่Ÿปใฎ่กŒ้€ฒ(Marching ant)ใ‚’่กจ็คบใ€
ใ‹ใคใ€ๅขƒ็•Œ็ทšใฎใƒ‰ใƒฉใƒƒใ‚ฐใงใƒชใ‚ตใ‚คใ‚บใงใใ‚‹ไป•ๆง˜ใ‚’ๅ…ฅใ‚ŒใฆใฟใŸใ€‚
ๅ‹•ไฝœ็ขบ่ช็’ฐๅขƒ : Windows10 x64 + Python 2.7.12 + PySide 1.2.4
@thanasi
thanasi / jupyter_local_video.py
Last active February 15, 2022 08:48
Embed a local video file in a Jupyter Notebook
#########################################
# using cell magic
#########################################
%%HTML
<div align="middle">
<video width="80%" controls>
<source src="path/to/my.mp4" type="video/mp4">
</video></div>
#########################################
@simoncos
simoncos / miniconda_on_rpi.md
Last active October 7, 2024 11:50
Install Miniconda 3 on Raspberry Pi
@voluntas
voluntas / death_march.md
Last active September 26, 2025 07:43
ใƒ‡ใ‚นใƒžใƒผใƒใŒ่ตทใใ‚‹็†็”ฑ - ๏ผ“ใคใฎๆŒ‡ๆจ™

ใƒ‡ใ‚นใƒžใƒผใƒใŒ่ตทใใ‚‹็†็”ฑ - ๏ผ“ใคใฎๆŒ‡ๆจ™

่‘—่€…๏ผš ้’ใ„้ด‰๏ผˆใถใ‚‹ใใ‚๏ผ‰ใ•ใ‚“ย @bluecrow2

ใ“ใ‚Œใฏ็ตๅŸŽๆตฉใ•ใ‚“ใฎ้‹็”จใ•ใ‚Œใฆใ„ใŸ YukiWiki ใซๅฝ“ๆ™‚ Coffee ๆง˜ (้’ใ„้ด‰๏ผˆใถใ‚‹ใใ‚๏ผ‰ใ•ใ‚“๏ผ‰ใŒใ‹ใ‹ใ‚Œใฆใ„ใŸๆ–‡็ซ ใงใ™ใ€‚ ใŸใ  2018 ๅนด 3 ๆœˆ 7 ๆ—ฅใซ YukiWiki ใŒ้‹็”จๅœๆญขใ—ใŸใŸใ‚ๆถˆใˆใฆใ—ใพใ„ใพใ—ใŸใ€‚ใใฎ่จ˜ไบ‹ใฎใƒใƒƒใ‚ฏใ‚ขใƒƒใƒ—ใงใ™ใ€‚

ไปŠใฏ 404 ใงใ™ใŒใ€ใ‚‚ใจใ‚‚ใจใฎ่จ˜ไบ‹ใฎ URL ใฏ http://www.hyuki.com/yukiwiki/wiki.cgi?%A5%C7%A5%B9%A5%DE%A1%BC%A5%C1%A4%AC%B5%AF%A4%AD%A4%EB%CD%FD%CD%B3 ใซใชใ‚Šใพใ™ใ€‚

ๆ˜”ใ€่‡ชๅˆ†ใŒใจใฆใ‚‚ๆ„Ÿ้Š˜ใ‚’ๅ—ใ‘ใŸๆ–‡็ซ ใชใฎใงใ€ใ“ใฎใพใพ่ชญใ‚ใชใใชใ‚‹ใฎใฏใจใฆใ‚‚ใ‚‚ใฃใŸใ„ใชใ„ใจๆ€ใ„ใ€ใƒใƒƒใ‚ฏใ‚ขใƒƒใƒ—ใจใ—ใฆๅ…ฌ้–‹ใ—ใฆใ„ใพใ™ใ€‚

@DastanIqbal
DastanIqbal / EZRenderer.kt
Last active February 21, 2023 12:29
Simple example of Frame Buffer Object in OpenglES
package com.iaandroid.tutsopengles.fbo
import android.graphics.BitmapFactory
import android.opengl.GLSurfaceView
import com.iaandroid.tutsopengles.R
import javax.microedition.khronos.egl.EGLConfig
import javax.microedition.khronos.opengles.GL10
/**
* Created by dastan on 11/09/2018.
#include <BLEAdvertisedDevice.h>
#include <BLEDevice.h>
#include <BLEScan.h>
const int PIN = 2;
const int CUTOFF = -60;
void setup() {
pinMode(PIN, OUTPUT);
BLEDevice::init("");
@shnhrtkyk
shnhrtkyk / main.cpp
Created February 18, 2020 08:26
Pytorch C++ APIใฎใƒกใ‚คใƒณ
#include <torch/script.h> // One-stop header.
#include <iostream>
#include <memory>
#include <ATen/ATen.h>
#include "PytorchModel.h"
#include <opencv2/opencv.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/core/core.hpp>