Skip to content

Instantly share code, notes, and snippets.

View tsukumijima's full-sized avatar
📺
TTS & DTV

tsukumi tsukumijima

📺
TTS & DTV
View GitHub Profile
# 自然な日本語文章を生成するためのライティングガイドライン
AIの機械的な文を避け、読み手にとって自然でわかりやすい日本語へ整えるための実践ガイドです。冗長さを抑えつつ、判断の根拠や置き換え例を増やし、すぐに使える形にまとめました。
## トーン(中立・提案・配慮)
- 中立: 「〜の可能性があります」「〜場合があります」など断定を避けて丁寧に。
- 提案: 「〜をご検討ください」「〜してみてください」など行動の選択肢を示す。
- 配慮: 「読み手によっては」「人によっては」など多様な読者を想定する。
- ポイント: 指摘は断罪せず、理由と代替案を添えて短く示す。
/**
* LINE → GitHub Issue → Google Sheets Logger (signature-less robust版)
* ※ Google Apps Script Webアプリでは HTTP ヘッダーを直接取得できないため、
* LINE 署名検証は割愛しています(Webhook URL を秘匿できる環境前提)。
* @license MIT
*/
/* ---------- 設定 ---------- */
const CONF = {
LINE_ACCESS_TOKEN: PropertiesService.getScriptProperties().getProperty('LINE_ACCESS_TOKEN'),
#!/usr/bin/env bash
# set -e: exit on command failure
# set -u: error on using undefined variables
# set -o pipefail: fail a pipeline if any command within it fails
set -euo pipefail
# ---------------------------------------------------------------------------
# CLI script that updates or reads a value from a JSON file using jq.
# By default, it targets /Applications/Cursor.app/Contents/Resources/app/product.json,
@ngxson
ngxson / FAQ.md
Last active August 5, 2025 17:29
convert ARM NEON to WASM SIMD prompt

Why did you do this?

Relax, I only have one Sunday to work on idea, literally my weekend project. So I tried Deepseek to see if it can help. Surprisingly, it works and it saves me another weekend...

What is your setup?

Just chat.deepseek.com (cost = free) with prompts adapted from this gist.

Does it work in one-shot or I have to prompt it multiple times?

"""
MIT License
Copyright (c) 2024 tuna2134
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
@potato4d
potato4d / description.md
Created November 20, 2024 07:32
Whisper + Resemblyzer を使った音声データの書き起こし

Open AI で出力したものを手直ししたものなので荒はあるかも

@joeblackwaslike
joeblackwaslike / How-to-Python-in-Cursor.md
Last active September 2, 2025 09:09
How to use python with the Cursor IDE

How to use python with the Cursor AI IDE

Cursor.app has a critical vulnerability that should be taken seriously!

Please see my post below on this as sooon as possible! https://gist.github.com/joeblackwaslike/752b26ce92e3699084e1ecfc790f74b2?permalink_comment_id=5716065#gistcomment-5716065

Steps to patch latest cursor

These instructions should work with the latest versions of cursor which requires a much different strategy than the older versions where you could simply point cursor to the MS extension marketplace and call it a day.

Version details

@yyya-nico
yyya-nico / README.md
Last active September 24, 2024 12:17
KonomiTVを見るm3uファイルを生成するNode.jsのスクリプト

KonomiTVを見るm3uファイルを生成するNode.jsのスクリプト

VLC メディアプレイヤー等の任意のプレイヤーで簡単にKonomiTVを選局できるプレイリストファイルを生成します。

image

使い方

  1. スクリプトを実行します。

node makeKonomitvM3u.mjs

@mizchi
mizchi / あなたのパフォーマンスを倍にする Frontend Ops はいかがですか.md
Last active July 24, 2025 17:43
あなたのパフォーマンスを倍にする Frontend Ops の傭兵はいかがですか

あなたのプロジェクトに Frontend Ops を。

現状

  • Full Plan: 1ヶ月 120万
    • 秘密保持契約を行い、ソースコードを分析し、改善を行います
    • 現在受付可能なのは、1月以降です
    • 調査費用は50万~になります
  • Lightweight Plan: 外部計測のみ 50万
  • 秘密保持契約抜きで外部からの監視を行います
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#--- description
# Using WebRTC Voice Activity Detector (VAD) model,
# extract the periods of time a person is speaking
# from the audio file and calculate the percentage.
#--- reference
# https://webrtc.org/
# https://github.com/wiseman/py-webrtcvad/tree/master