Skip to content

Instantly share code, notes, and snippets.

View DQNEO's full-sized avatar

Daisuke Kashiwagi DQNEO

View GitHub Profile
@ipenywis
ipenywis / cursor-memory-bank-rules.md
Last active December 6, 2025 00:13
Cursor Memory Bank

Cursor's Memory Bank

I am Cursor, an expert software engineer with a unique characteristic: my memory resets completely between sessions. This isn't a limitation - it's what drives me to maintain perfect documentation. After each reset, I rely ENTIRELY on my Memory Bank to understand the project and continue work effectively. I MUST read ALL memory bank files at the start of EVERY task - this is not optional.

Memory Bank Structure

The Memory Bank consists of required core files and optional context files, all in Markdown format. Files build upon each other in a clear hierarchy:

flowchart TD
@DQNEO
DQNEO / words_frequency.txt
Last active April 28, 2021 16:12
Words frequency in Go's spec
1 semicolons NNPS
1 iota NN
1 iota NNP
1 embeds VBZ
1 close NNP
1 snippets NNS
1 gives VBZ
1 informally RB
1 selection NN
1 specification NNP
@KeenS
KeenS / COPYING
Last active April 2, 2020 12:12
codes used to generate https://github.com/KeenS/whitelie
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
@Sirsirious
Sirsirious / postaggers.py
Created February 26, 2020 21:37
Some examples of postaggers
##In nltk
import nltk
from nltk import word_tokenize
text = word_tokenize("This is a tagged sentence")
print(nltk.pos_tag(text))
#In spaCy
import spacy
nlp = spacy.load('en')
doc = nlp("This is a tagged sentence")
tags = []
@mpppk
mpppk / clean_architecture.md
Last active December 5, 2025 07:33
クリーンアーキテクチャ完全に理解した

2020/5/31追記: 自分用のメモに書いていたつもりだったのですが、たくさんのスターを頂けてとても嬉しいです。
と同時に、書きかけで中途半端な状態のドキュメントをご覧いただくことになっており、大変心苦しく思っています。

このドキュメントを完成させるために、今後以下のような更新を予定しています。

  • TODO部分を埋める
  • 書籍を基にした理論・原則パートと、実装例パートを分割
    • 現在は4層のレイヤそれぞれごとに原則の確認→実装時の課題リスト→実装例という構成ですが、同じリポジトリへの言及箇所がバラバラになってしまう問題がありました。更新後は、実装時の課題リストを全て洗い出した後にまとめて実装を確認する構成とする予定です。

2021/1/22追記:

@tenpoku1000
tenpoku1000 / x64_エンコーディングの概略.txt
Last active August 18, 2020 09:27
x64 の 64 ビットモードのエンコーディング概略
x64 の 64 ビットモードのエンコーディング概略
@tenpoku1000
2018/10/15 作成, 2020/08/18 最終更新
1. 命令の方向
初歩的な命令の場合:
ニーモニック ディスティネーション・オペランド, ソース・オペランド
@tcnksm
tcnksm / talk.md
Last active December 8, 2018 04:55
Stackdriver Profiler at Mercari
@do-aki
do-aki / ParameterTypeWidening.php
Created February 13, 2018 10:47
Parameter Type Widening に関して
<?php
class ParentClassA { function f(stdClass $a) {} }
class ChildClassA extends ParentClassA { function f($a) {} }
/*
7.2 の Parameter Type Widening (https://wiki.php.net/rfc/parameter-no-type-variance) によって、
上記 ParentClassA/ChildClassA は ok になった。
(new ParentClassA())->f(new stdClass()) に対して