Skip to content

Instantly share code, notes, and snippets.

View tai2's full-sized avatar
🐢

Taiju Muto tai2

🐢
View GitHub Profile

日本の自治体の中で、リチウムイオン電池を回収してくれない自治体は存在するか


リチウムイオン電池の回収について、日本の自治体ごとの対応を調査します。

以下の点を確認したいので、詳しく教えてください。 • 特定の自治体(例:東京都、大阪市など)の情報が知りたいですか? • それとも全国的な傾向(回収しない自治体の例など)を知りたいですか? • 具体的な回収方法(例:回収ボックス、指定日に回収など)も必要ですか?

リチウムイオン電池の回収について、日本の自治体ごとの対応を調査します。
以下の点を確認したいので、詳しく教えてください。
• 特定の自治体(例:東京都、大阪市など)の情報が知りたいですか?
• それとも全国的な傾向(回収しない自治体の例など)を知りたいですか?
• 具体的な回収方法(例:回収ボックス、指定日に回収など)も必要ですか?
日本の自治体におけるリチウムイオン電池回収の現状
全国的な傾向
@tai2
tai2 / posts.md
Last active March 13, 2025 23:41
ブログネタ

ブログネタ

自分で書く

  • ソフトウェアを外注する際の注意点(失敗しない発注方法)
  • 雨が降るとインターネットが重くなる?
  • 開発の見積事例
  • チケットの書き方
  • /tmp詳解 how to
  • スタートアップにおける技術スタックの選択について
@tai2
tai2 / earth-mars.pde
Last active March 1, 2025 02:11
Explain the relation between Earth and Mars
float earth_angle = 1;
float mars_angle = 0;
float earth_velocity = -0.005;
PVector sun;
float mars_circle_extent = 150;
float planet_extent = 10;
void setup() {
size(1000, 1000);
sun = new PVector(width * 0.5, height * 0.5);
On the Movements of the Earth
size(400, 400);
line(120, 80, 340, 300);
----
火星の奇跡
地球から見上げる
なにかの星座のまわりを回る
* 10/12
@tai2
tai2 / a.js
Created February 19, 2025 01:59
device and simulator information
import { utilities } from "appium-ios-device";
import { getSimulator } from "appium-ios-simulator";
const main = async () => {
const udid_list = await utilities.getConnectedDevices();
console.log(udid_list);
for (const udid of udid_list) {
const deviceInfo = await utilities.getDeviceInfo(udid);
console.log(deviceInfo);
$ sysctl hw | grep cache
hw.perflevel0.l1icachesize: 196608
hw.perflevel0.l1dcachesize: 131072
hw.perflevel0.l2cachesize: 16777216
hw.perflevel1.l1icachesize: 131072
hw.perflevel1.l1dcachesize: 65536
hw.perflevel1.l2cachesize: 4194304
hw.cacheconfig: 8 1 4 0 0 0 0 0 0 0
hw.cachesize: 3481141248 65536 4194304 0 0 0 0 0 0 0
@tai2
tai2 / upload.js
Created August 19, 2024 14:18
Upload file to giga便
const uuid = require("uuid");
const crypto = require("crypto");
const fs = require("fs");
const buffer = require('buffer');
const upload = async () => {
const id = crypto.randomBytes(16).toString("hex");
console.log('id', id)
const blob = new Blob(['hello there']);
import subprocess
from concurrent.futures import ThreadPoolExecutor, as_completed
def invoke_command():
subprocess.run(["sleep", "5"])
print("done")
def main():
@tai2
tai2 / a.ts
Created January 3, 2024 07:02
import {
DOMParser,
Element,
} from "https://deno.land/x/deno_dom/deno-dom-wasm.ts";
const doc = new DOMParser().parseFromString(
`
<h1>Hello World!</h1>
<p>Hello from <a href="https://deno.land/">Deno!</a></p>
`,