Skip to content

Instantly share code, notes, and snippets.

View book000's full-sized avatar
👀
record User(String nickName, String screenName, Location country){}

Tomachi book000

👀
record User(String nickName, String screenName, Location country){}
View GitHub Profile
@yano3nora
yano3nora / prisma.md
Last active March 30, 2024 09:16
[js: Prisma] Next-generation Node.js and TypeScript ORM. #js

Overview

prisma.io
Prisma Client API reference - prisma.io
prisma/prisma - github.com

  • TypeScript ベース x GraphQL ライクな schema 駆動の ORM ツール
    • schema 定義から TypeScript 向けの型定義を自動生成してくれる
  • GraphQL サーバ内の ORM に使ったり、Next.js などの JS フレームワークから DB クライアントとして使ったり
  • Seeding, Migration なども有しており JAMStack 開発の RDB まわりは一通りこいつに任せていい
@Phroneris
Phroneris / howGithubMarkdownDetailsWork.md
Last active March 30, 2024 05:50
GitHubのMarkdownで折りたたみ記法の中身を整形させる方法

どうやら</summary>後の空行以降から整形される。

記述

違いは</summary>後の空行だけ。

<details>
<summary>これは中身が整形されない</summary>
1. 野菜**A**の皮を剥く。
2. 乱切りにする。
@ZipFile
ZipFile / Pixiv App API.yaml
Last active April 28, 2023 01:31
Unofficial API specification extracted from Pixiv Android App
swagger: '2.0'
info:
title: "Pixiv App API"
description: "Unofficial API specification extracted from Pixiv Android App v5.0.17"
version: "1.0"
host: app-api.pixiv.net
schemes:
- https
@lunark
lunark / GenderEstimate.bas
Last active October 14, 2023 04:04
VBAマクロ向け関数。GenderEstimate。漢字の名前とふりがなから、性別を推定する関数
Public Function GenderEstimate(ByVal strMK As String, Optional strMF As String = "") As String
GenderEstimate = ""
strMK = Replace(Replace(Replace(strMK, " ", ""), " ", ""), "「", "")
strMF = Replace(Replace(StrConv(strMF, vbHiragana), " ", ""), " ", "")
'デバッグ用。こいつをブレークポイントに持ってきて挙動を確認する
'If strMK Like "理世" Then
' Debug.Print strMK
'End If