Skip to content

Instantly share code, notes, and snippets.

View sheepla's full-sized avatar
🐑
メェ〜

sheepla sheepla

🐑
メェ〜
View GitHub Profile
@sheepla
sheepla / SKILL.md
Last active May 29, 2026 08:27
自分用: 日本語の技術記事をClaudeくんと協働執筆するためのSKILL
name tech-article-ja
description 日本語の技術記事をZenn等のカジュアルな技術ブログ向けに執筆支援するスキル。 設計(スコープ・構成の決定)→ 執筆(セクション単位の本文生成)→ 校正(AI smellの除去と文体チェック)の3段階を会話の中で順番に進める。 「記事を書きたい」「技術ブログのネタがある」「この記事の構成を考えて」「このセクションを書いて」「AI smellを消して」「校正して」のような依頼が来たときに使う。 設計だけ・執筆だけ・校正だけの部分的な依頼にも対応する。

Tech Article JA: 日本語技術記事の執筆支援スキル

@sheepla
sheepla / main.dart
Created April 29, 2026 16:35
A simple AbemaTV client for Flutter
// lib/main.dart
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter_inappwebview/flutter_inappwebview.dart';
import 'webview_config_stub.dart'
if (dart.library.io) 'webview_config_native.dart'
if (dart.library.html) 'webview_config_web.dart'
if (dart.library.js_interop) 'webview_config_web.dart';
@sheepla
sheepla / create-backend.sh
Last active December 29, 2025 11:18
Creating DDD-like vertical-slice architecture project for ASP.NET Core + EF Core backend and Vite + React + shadcn/ui frontend
#!/bin/sh
# Application specific configuration
SOLUTION_NAME="LibrarySystem"
FEATURES=("Users" "Books" "Lending" "Reserving")
API_PROJECT_NAME="${SOLUTION_NAME}.Presentaion.API"
DOMAIN_PROJECT_NAME="${SOLUTION_NAME}.Domain"
APPLICATION_PROJECT_NAME="${SOLUTION_NAME}.Application"
DATABASE_PROJECT_NAME="${SOLUTION_NAME}.Infrastructure.Database"
@sheepla
sheepla / ASP.NET_Core_Identity_SQLite_Migration_Result.txt
Last active August 16, 2025 12:17
Migration result for EFCore with ASP.NET Core Identity
SQLite version 3.50.4 2025-07-30 19:33:53
Enter ".help" for usage hints.
sqlite> .schema
CREATE TABLE IF NOT EXISTS "__EFMigrationsLock" (
"Id" INTEGER NOT NULL CONSTRAINT "PK___EFMigrationsLock" PRIMARY KEY,
"Timestamp" TEXT NOT NULL
);
CREATE TABLE IF NOT EXISTS "__EFMigrationsHistory" (
"MigrationId" TEXT NOT NULL CONSTRAINT "PK___EFMigrationsHistory" PRIMARY KEY,
"ProductVersion" TEXT NOT NULL
@sheepla
sheepla / Cargo.toml
Last active June 22, 2025 12:06
Generating OpenAPI doc with Utoipa + Scalar + Axum in Rust
[package]
name = "utoipa_scalar_example"
version = "0.1.0"
edition = "2024"
[dependencies]
axum = "0.7"
tokio = { version = "1", features = ["full"] }
utoipa = { version = "4", features = ["axum_extras"] }
utoipa-swagger-ui = "5"
@sheepla
sheepla / ContactForm.tsx
Last active June 15, 2025 13:03
MUI + React Hook Formを使ったお問い合わせフォームの実装
import { useState } from "react";
import { Controller, useForm } from "react-hook-form";
import {
Alert,
Button,
Checkbox,
CircularProgress,
FormControlLabel,
MenuItem,
Snackbar,
@sheepla
sheepla / Hello_World_in_Scala.md
Last active May 17, 2025 09:50
Scalaで世界に挨拶してみる

Scalaで世界に挨拶してみる

cousierのインストール

coursier はScalaやJavaのパッケージやツール(例:sbt、scala、scala-cli、jvm など)を素早くインストール・管理できるツール。

coursier/coursier - GitHub

# On Linux x86-64 (aka AMD64)
@sheepla
sheepla / dotnet-uninstall.sh
Last active April 6, 2025 07:25
.NET SDKs/Runtimes uninstall script for Linux, installed with dotnet-install.sh (Because the uninstall script does not yet support Linux)
#!/usr/bin/env bash
set -e
INSTALL_DIR="$HOME/.dotnet"
VERSION_PREFIX=""
RUNTIMES=()
DRY_RUN=false
AUTO_YES=false
LIST_MODE=false
@sheepla
sheepla / Cargo.toml
Last active March 24, 2025 12:12
Fetch and parse RSS/Atom feed in Rust
[package]
name = "rustyfeed"
version = "0.1.0"
edition = "2024"
[dependencies]
clap = { version = "4.5.32", features = ["derive"] }
reqwest = "0.12.15"
serde = { version = "1.0.219", features = ["derive"] }
syndication = "0.5.0"
@sheepla
sheepla / Dockerfile
Last active March 19, 2025 03:27
Dockerfile for SML#
# About:
# Dockerfile for SML# a Standard ML family programming language
# See:
# https://github.com/smlsharp/smlsharp
# Usage:
# docker build -t smlsharp .
# docker run --rm -it smlsharp:latest rlwrap smlsharp
#
FROM --platform=linux/x86-64 debian:buster