Skip to content

Instantly share code, notes, and snippets.

View tsukumijima's full-sized avatar
📺
DTV

tsukumi tsukumijima

📺
DTV
View GitHub Profile
@fa0311
fa0311 / twitter-inject-request.md
Last active November 10, 2025 04:41
twitter-inject-request

WebDriverで使えるhookスクリプト

// 初期化
const __origApply = Function.prototype.apply;
const client = await new Promise((resolve) => {
    Function.prototype.apply = function (thisArg, argsArray) {
        if (thisArg && typeof thisArg === 'object' && thisArg.dispatch === this) {
            __origApply.call(console.log, console, ['[dispatch.apply]', thisArg, argsArray]);
            resolve(thisArg);
@j416dy
j416dy / expo2025_pass_detail_exploit.json
Created October 13, 2025 23:19
expo2025_pass_detail_exploit
{
"error": {
"name": "ticket_expired",
"label": "CMN_ERR_9001_0020",
"message": "チケットの利用終了期限が過ぎているため追加登録ができません。",
"detail": {
"tickets": [
{
"ticket_id": "NWCNCGJB5X",
"disp_ticket_id": "00433-2025-0426-8123-0530-0016",
# 自然な日本語文章を生成するためのライティングガイドライン
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 October 25, 2025 03:49
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

@miaucl
miaucl / RootedAndroidAVD.md
Last active November 10, 2025 09:21
Rooted Android AVD for API reverse-engineering

Preparation

Set up all tools we need.

Install Android Studio

Make sure to use custom installation and add platform-tools as well. Add following to your path (depending on your OS)