Skip to content

Instantly share code, notes, and snippets.

View t-nissie's full-sized avatar

Takeshi Nishimatsu t-nissie

View GitHub Profile
@t-nissie
t-nissie / !deepmdkit.md
Created August 25, 2025 21:40
DeePMD-kit with CPU without GPU on Ubuntu 24.04.3 LTS

DeePMD-kiy Memo

On going!

$ sudo apt install mpich libmpich-dev
$ sudo apt install mpich libxc-dev
$ sudo apt install mpich libfftw3-dev
$ sudo apt install python3.12-venv

$ tar xf qe-7.4.1-ReleasePack.tar.gz

@t-nissie
t-nissie / !Mercari.md
Last active December 2, 2025 22:16
メルカリの暗号資産(ビットコイン、イーサリアム、XRP)の月間取引報告書CSVファイルから確定申告のために年中購入または年中売却の数量と金額を計算するRubyスクリプト(とそれをCrystalで書き直したもの)

mercari.rb and mercari.cr

メルカリの暗号資産(ビットコインBTC、イーサリアムETH、XRP)の月間取引報告書CSVファイルから 確定申告のために年間の損益計算をするためのRubyスクリプトmercari.rbと それをCrystal言語に移植したmercari.cr

ライセンスは GPLv3 で、完全無保証です。税務署に怒られてもしりません。

参考文献: https://help.jp.mercari.com/guide/articles/1513/ メルカル ビットコイン取引 取引報告書・損益計算方法

@t-nissie
t-nissie / !3dp.md
Last active January 14, 2025 19:56
Memo: My 3D Printers

Memo on 3D Printers

I make some 3D Printers with 3D printers.

My 3D Printers

Kingroon KP3D Pro

  • Nozzle: 1.2 mm

Osiad Black

@t-nissie
t-nissie / !mrubybind.md
Last active February 23, 2025 04:40
C++のクラスやメソッドを半自動的にmrubyに変換(bind)してくれるmrubybindを調査
@t-nissie
t-nissie / !mruby.md
Last active September 15, 2025 08:22
mrubyをC言語のシミュレーションのプログラムに組み込んでDSLとして利用する

mrubyをC言語のシミュレーションのプログラムに組み込んでDSLとして利用する

シミュレーション、CAD、画像処理、ゲーム、エディタなどのアプリで Tcl, Scheme, Lua, Python, LISPなどが domain-specific language (DSL) として採用されていて、 パラメーターサーチ、 繰り返し処理、

@t-nissie
t-nissie / !Munimula.md
Last active June 27, 2025 20:49
CoreXY printer.cfg for EasyThreeD ET4000+ board

Munimula CoreXY 3D Printer

@t-nissie
t-nissie / osiad_black_et4000v2_NEMA14_printer.cfg
Last active August 30, 2025 09:17
printer.cfg for ET4000 V2
# printer.cfg for EasyTheeD ET-4000 V2
# * CoreXY
# * Proximity sensor
# * Sherpa Micro with NEMA14 motor
# * multi-printers under one Klipper host
#
# I wrote Klipper firmware into ET-4000 V2 with ATmega1284P through
# my Linux PC, a "USB Tiny ISP" and a 6-pin cable.
# See https://gist.github.com/t-nissie/a9c81376cf0898c0ec0b453d5a385d33
##
@t-nissie
t-nissie / osiad_white_printer.cfg
Last active April 27, 2025 09:58
printer.cfg for ET4000+ and CoreXY
# CoreXY printer.cfg for EasyThreeD ET4000+ board
# I use ET4000+ main board for my CoreXY printer project.
# ET4000+ is MKS Robin Lite compatible.
# Motor ampere can be controlled via pwm pins: PB0, PA7 and PA6.
# Original file is https://github.com/makerbase-mks/Klipper-for-MKS-Boards/blob/main/MKS%20Robin%20Lite%20V1.1/generic-mks-robin-lite-v1.cfg
# The firmware binary is also in the same GitHub directory.
# To use this config, the firmware should be compiled for the
# STM32F103RCT6. When running "make menuconfig", enable "extra low-level
# configuration setup", select the 28KiB bootloader, and serial (on
@t-nissie
t-nissie / 00LinuxArduinoIDE.md
Last active April 14, 2024 21:15
Arduino IDE 2.3.2 on Linux

Arduino IDE 2.3.2 on Linux

This memo describes how to upload Arduino sketches to Arduino UNO R3 (Atmel ATMega328P) and R4 Minima (Runesas RA4M1) from Arduino IDE 2.3.2 on GNU/Linux.

Instalation

Download and unzip arduino-ide_2.3.2_Linux_64bit.zip.

@t-nissie
t-nissie / 00USBtiny.md
Last active August 30, 2025 09:26
Write a program on AVR with USBtiny and a 6-pin cable from Linux

Write a program on AVR with USBtiny and a 6-pin cable from Linux

USBtiny or "USB Tiny ISP" is a writer/reader for in-system programming (ISP) or in-circuit serial programming (ICSP) for AVR. Although there is no drivers for Windows 10 nor 11, we can still use USBtiny with Linux.

USBtiny My USB Tiny ISP. It was around 10 USD.