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
#!/usr/bin/env ruby | |
# coding: utf-8 | |
# 目的 (Purpose): メルカリで暗号資産取引をしている人の確定申告 (Japanese tax return) | |
# 使い方 (Usage): LANG=ja_JP.UTF-8 ruby mercari.rb report_2024?.csv report_20241?.csv | |
# 計算書: 実行すると標準出力される年中購入または年中売却の数量と金額を国税庁の総平均法用002.xlsx計算書にコピペ | |
# 表計算: CSVファイルも同時に出力されるのでエクセルなどで開くと表の最下行でも年中の数量と金額がわかる | |
# 出力CSVファイル: btc_buy.csv, btc_sel.csv, eth_buy.csv, eth_sel.csv, xrp_buy.csv, xrp_sel.csv | |
# 実行例: | |
# $ LANG=ja_JP.UTF-8 ruby mercari.rb report_2024?.csv report_20241?.csv | |
# btc_buy.csv has 7 transactions. Total: 0.000411220 JPY: 4237 |
先日、無謀にも mrubyファミリ (組み込み向け軽量Ruby) Advent Calendar 2024 向けに mrubyをC言語のシミュレーションのプログラムに組み込んでDSLとして利用する という記事を書いてしまいました。 このgist文章はそのC++言語版かもしれません。
C++のクラスは小難しい構造体にすぎないので、
Munimula CoreXY 3D Printer
# 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 | |
## |
# 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 |
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.