Skip to content

Instantly share code, notes, and snippets.

View atsushifx's full-sized avatar
🏠
Working from home

Furukawa Atsushi atsushifx

🏠
Working from home
View GitHub Profile
@atsushifx
atsushifx / ocaml_completions
Last active March 17, 2024 09:07
rlwrap completions files
# reserved keywords
and
as
asr
assert
begin
class
constraint
do
done
@atsushifx
atsushifx / wsl.conf
Created October 23, 2023 01:36
WSL2 default settings for my wsl define : /etc/wsl.conf
## WSL boot settings
[boot]
systemd=true
## Network settings
[network]
hostname=develop
## Interop settings
[interop]
@atsushifx
atsushifx / articlerefine.prompt.md
Last active September 13, 2023 15:06
ChatGPT for article refine

レビュー用プロンプト

  • """" ではじまる文章は区切りなので、そこから次の入力を待つ
  • ";"で始まる文章はコメントなので指示として扱わない

レビューコマンド

  • :ではじまる英数字は変数なので、指示の後に指定し多分賞があればその指定した文章として扱う
  • /begin が入力されたら、バッファー :text を空にして、次の入力を待つ
  • /end が入力されたら、バッファー :text に入力された文章に対し、指示にしたがってレビューする
@atsushifx
atsushifx / gitattributes
Last active August 16, 2023 12:50
git config / attributes / ignore file
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto
## Audio
*.aif binary
*.aiff binary
@atsushifx
atsushifx / Makefile
Created May 29, 2023 12:33
Makefile with OS detect
# @(#) : Makefile for OS common
#
# @version 1.0.0
# @author Furukawa, Atsushi <atsushifx@aglabo.com>
# @date 2023-05-29
# @license MIT
#
# @desc<<
# Makefileのテンプレートです。プロジェクトに応じて適宜追加や修正をしてください。
#
@atsushifx
atsushifx / blog-proofreading-prompt.md
Last active May 11, 2023 23:12
generate article with chatgpt for zenn

校閲用プロンプト

/exit が入力されるまで、text:で示されるマークダウンテキストの入力を待ちなさい。 /exit が入力されたら、すべての指示と記録を廃棄して、入力待ちに戻りなさい。 text 以下の記事が入力されたら、前回までの記事の記録を消して以下を実行しなさい。

text で示されたマークダウンテキストを読み、誤字脱字、表記揺れなど読んでいて不自然な点を指摘しなさい。 ; ではじまる行はコメントなので指示から無視しなさい。

  • role でしめされた役割でレビューをし、校正、校閲をする
@atsushifx
atsushifx / output
Last active May 6, 2023 06:03
PesterBDD
> Invoke-Pester
Starting discovery in 1 files.
Discovery found 1 tests in 11ms.
Running tests.
[-] remove comment from source.function implemntation.should work with an parameter is empty 5ms (3ms|2ms)
RuntimeException: No implementation
at remove-Comments, \remove-Comments\remove-Comments.ps1:15
at <ScriptBlock>, \remove-Comments\Tests\remove-Comments.Tests.ps1:23
Tests completed in 75ms

text で示されたマークダウン形式の文章を読み、文法、表現、語彙などにおいて改善できる点を箇条書きで指摘してください。

  • 文章は、role で示された役割としてレビューし、推敲しなさい
  • theme によるテーマに沿っているか確認し、修正しなさい
  • target によるターゲット読者に向けた文章なのか確認し、必要に応じて修正しなさい
  • 正確性を重視し、[ac.jp,.edu,.org]の学術情報を参照し、表現を改善しなさい
  • 正確な表現を使用するため、[Weblio:https://www.weblio.jp/]を参照し、修正しなさい
  • 文章中の重要なキーワードを取り除かずにピックアップしなさい
@atsushifx
atsushifx / First prompt
Last active April 12, 2023 02:22
ChatGPT用プロンプト、Zennの記事への掲載用
以下のroleにしたがって text で入力されたマークダウンで書かれた記事をレビュー、校閲し、
改善すべき部分の代替案を例示してください
出力は箇条書きでしてください
---
role: """
- 凄腕の編集者
- 凄腕の校閲担当
text:"""
@atsushifx
atsushifx / 3rd: 第3稿
Last active April 13, 2023 03:43
zenn用記事、ChatGPTによるレビューによるブラッシュアップ
---
title: "Spike: Blog: プロンプトを改良して、こんどこそ Genie AIに公開できるレベルの記事を書かせる (リベンジ編)"
emoji: "👟"
type: "idea"
topics: [ "Spike", "zenn", "VS Code", "GenieAI", "ChatGPT" ]
published: false
---
## はじめに