Skip to content

Instantly share code, notes, and snippets.

@k16shikano
k16shikano / SKILL.md
Last active June 22, 2026 04:39
japanese-tech-writing/SKILL
name japanese-tech-writing
description 日本語の技術文書・書籍原稿の文章規範。整形(一文一行、引用ブロック、脚注、コラム記法)、段落と論証の構成(パラグラフライティング)、論証の厳密さ(ツッコミどころの除去)、読み手の負荷の管理、視点と語り、演出の抑制、LLM っぽい空句の禁止、冗長の排除を定める。日本語で技術書の章、草稿、記事、解説文を書くとき、または推敲・リライトするときに使用する。

日本語技術文書の文章規範

日本語で技術的な原稿(書籍の章、記事、解説文)を書く・推敲するときは、以下の規範に従う。

整形

@Treeki
Treeki / TurnipPrices.cpp
Last active April 23, 2026 19:05
AC:NH turnip price calculator
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
// munged from https://github.com/simontime/Resead
namespace sead
{
class Random
{
@torounit
torounit / functions.php
Created November 15, 2018 18:39
Gutenberg で選択出来るフォントサイズを変更。
<?php
add_action( 'after_setup_theme', function() {
add_theme_support('editor-font-sizes', [
[
'name' => 'Small',
'size' => 12,
'slug' => 'small'
],
[
@miya0001
miya0001 / wp-update.sh
Last active January 4, 2017 10:18
wp-cli
#!/usr/bin/env bash
set -eu
wp @all core verify-checksums
wp @all vackup create
wp @all core update
wp @all core language update
wp @all plugin update --all
@johnregan3
johnregan3 / wp-amp-tutorial-menu.php
Last active December 31, 2019 03:01
Creating a Menu using amp-sidebar in WordPress
<?php
/**
* Render the Primary Nav Menu
*
* Uses amp-sidebar to handle
* slideout animation.
*
* Be sure to include the amp-sidebar component script.
* Also, rememeber that the amp-sidebar element must be
* a direct child of the <body>.
@fumikito
fumikito / get_template_part.php
Created December 21, 2015 03:59
Alternative of WordPress' get_template_part which can accept arguments.
<?php
/**
* A template loader which accepts arguments.
*
* @param string $slug
* @param string|array $name
* @param array $args Arguments to pass.
* @param bool $echo If false, return string.
* @param string $glue Default is '-'. You can specify '/' which means directory separator.
*
@mitsuruog
mitsuruog / index.md
Last active June 11, 2026 16:37
express実践入門

express実践入門


自己紹介

小川充

  • mitsuruog
@megane9988
megane9988 / gist:330e3ebcebb48bdd9ea5
Last active June 19, 2018 05:44
amazonlinux + nginx + php + mysql + WordPress + Git

amazonlinux + nginx + php + mysql + WordPress + Git

ec2 インスタンス取得

  • t2.micro
  • Security Group は ssh と http を any で通るようにする
    • 可能ならssh は固定IPだけで通るようにする
  • 鍵は、すでにあればそれでも、新たに制作してもOK
@lsfalimis
lsfalimis / disable-OS-X-animation
Created May 4, 2014 01:32
disable OS X animation (10.9.2)
#Finder
#disable snap to grid animation
defaults write com.apple.finder AnimateSnapToGrid -bool false
#disable some animations
defaults write com.apple.finder DisableAllAnimations -bool true
#disable opening files zoom animation
defaults write com.apple.finder ZoomRects -bool false
@gaspanik
gaspanik / gulpjs.markdown
Last active January 2, 2016 18:19
gulpjsの始め方。