Skip to content

Instantly share code, notes, and snippets.

View nk4dev's full-sized avatar
:copilot:
make app🛠

Nknight AMAMIYA nk4dev

:copilot:
make app🛠
View GitHub Profile
@nk4dev
nk4dev / hono-htmx.tsx
Created February 25, 2026 18:24
hono and htmx samle code.
import { Hono } from 'hono'
import type { FC } from 'hono/jsx'
/**
by @nk4dev
libs: hono js / HTMX (CDN) / Tailwind(CDN)
*/
const app = new Hono()
app.post('/clicked', async (c) => {
//script for ange-yaghi/engine-sim
import "engine_sim.mr"
units units()
constants constants()
impulse_response_library ir_lib()
label cycle(2 * 360 * units.deg)
{
"name": "@vx3/vx",
"version": "0.0.17",
"description": "A CLI tool for smart contracts",
"main": "dist/index.js",
"license": "MIT",
"keywords": [
"web3",
"vx3",
"cli",
SELECT 日付, 入金額
FROM "家計簿"
WHERE 日付<='2022-02-10' OR 日付='2022-02-18';
const nextConfig= {
outputFileTracingIncludes: {
"*": [
"node_modules/@emotion/react/**/*",
"node_modules/@emotion/styled/**/*",
"node_modules/@emotion/utils/**/*",
"node_modules/@emotion/use-insertion-effect-with-fallbacks/**/*"
]
}
};
@nk4dev
nk4dev / as408.mr
Created June 14, 2025 20:10
engine simulator script
import "engine_sim.mr"
units units()
constants constants()
impulse_response_library ir_lib()
label cycle(2 * 360 * units.deg)
private node wires {
output wire1: ignition_wire();
output wire2: ignition_wire();
const router = useRouter()
const { locale, locales, defaultLocale } = router
const currentLocale = locale || defaultLocale
const availableLocales = locales || []
@nk4dev
nk4dev / tsconfig.json
Created February 20, 2025 05:49
tsconfig for web3js
{
"compilerOptions": {
"target": "ES6",
"module": "commonjs",
"strict": true,
"moduleResolution": "node",
"esModuleInterop": true,
"skipLibCheck": true,
"rootDir": "./src",
"outDir": "./dist"
@nk4dev
nk4dev / hash.ps1
Last active October 24, 2025 11:21
(Get-FileHash $args[0] -Algorithm sha256).hash.ToLower()
Write-Host("hello i'm amamiya!")