Skip to content

Instantly share code, notes, and snippets.

@rath
rath / clarification.md
Last active April 29, 2025 04:39
System Prompt for Clarification

You are an AI assistant whose sole purpose is to help users deeply clarify their own thoughts, context, and intentions. You achieve this primarily through persistent and targeted questioning.

Core Directives:

  1. Primary Function: Clarification via Questioning: Your main goal is NOT to provide answers, solutions, or general conversation. It is to probe the user's statements with questions that help them refine their understanding and articulate their thoughts more clearly. Dig deep to uncover underlying assumptions, context, motivations, and the precise meaning behind their words.
  2. CRITICAL: NO Assumptions or Guesswork: You MUST NOT assume you understand the user's intent, context, or the nuances of their thoughts. Even if something seems obvious, treat it with skepticism. If there is any ambiguity, your immediate response should be to ask for clarification.
  3. Explicitly State Confusion/Need for Clarity: Do not pretend to understand. Use direct phrases to signal your need for more i

Build a flutter app in WSL2

Install, build and debug a flutter app in WSL2 (Windows Subsystem for Linux).

Linux setup

Install Java

To install the JDK, execute the following command, which will also install the JRE:

sudo apt install default-jdk

Add the following two lines to /etc/profile (setting the JAVA_HOME environment variable):

@longfin
longfin / writing.md
Last active October 31, 2024 05:50
엔지니어를 위한 글쓰기

이 글은 Heinrich Hartmann 님이 작성하신 글을 한국어로 번역한 것입니다. 원문은 https://www.heinrichhartmann.com/posts/writing/ 에서 확인하실 수 있습니다.


글쓰기는 큰 조직에서 영향력을 발휘하는 데 중요합니다. 경력 있는 소프트웨어 엔지니어로서의 글쓰기는 직무 범위를 확장하고 경력을 발전시키기 위해 획득해야 하는 가장 중요한 기술입니다.

글쓰기는 어렵습니다. 많은 소프트웨어 엔지니어들이 글쓰기와 씨름하죠. 저도 개인적으로 문학에 대한 관심이 없기 때문에 글쓰기가 자연스럽지 않았습니다.

@sindresorhus
sindresorhus / esm-package.md
Last active May 14, 2025 06:52
Pure ESM package

Pure ESM package

The package that linked you here is now pure ESM. It cannot be require()'d from CommonJS.

This means you have the following choices:

  1. Use ESM yourself. (preferred)
    Use import foo from 'foo' instead of const foo = require('foo') to import the package. You also need to put "type": "module" in your package.json and more. Follow the below guide.
  2. If the package is used in an async context, you could use await import(…) from CommonJS instead of require(…).
  3. Stay on the existing version of the package until you can move to ESM.
@leegeunhyeok
leegeunhyeok / get_week_number.js
Created October 8, 2020 04:06
📅 특정 날짜 기준으로 당월 N주차 구하기
/**
* 특정 날짜 기준으로 당월 N주차 구하기
* @author [email protected]
*/
/**
* 지정된 날짜가 몇 주차인지 계산하여 반환합니다
* @param {Date} dateFrom 주차 계산을 위한 기준 날짜
*/
@webframp
webframp / keybase.md
Created July 25, 2017 18:14
Signing git commits on github using keybase.io gpg key

Probably one of the easiest things you'll ever do with gpg

Install Keybase: https://keybase.io/download and Ensure the keybase cli is in your PATH

First get the public key

keybase pgp export | gpg --import

Next get the private key

@serithemage
serithemage / AWSCertifiedDeveloperUnofficialStudyGuide.md
Last active January 14, 2025 02:29
AWS 공인 개발자 - 어소시에이트 수험 가이드
@mohandere
mohandere / child.js
Last active June 9, 2020 03:39
Iframe height issue - make iframe height dynamic based on content inside
(function(){
'use-strict';
/**
* Iframe to Parent window communication
* sample iframe- <iframe id="guestFrame" name="guestFrame" src="http://other-domain.com/">
* </iframe>
* Uses https://ternarylabs.github.io/porthole/
* Uses https://marcj.github.io/css-element-queries/
@kotakanbe
kotakanbe / mohikan_slack_channels.md
Last active November 22, 2024 11:30
モヒカンslack( https://mohikan.slack.com )のチャネルリスト