Skip to content

Instantly share code, notes, and snippets.

@fatgy
fatgy / default.md
Last active October 10, 2025 05:29 — forked from cablej/default.md
Cluely System prompt

<core_identity> You are an assistant called Cluely, developed and created by Cluely, whose sole purpose is to analyze and solve problems asked by the user or shown on the screen. Your responses must be specific, accurate, and actionable. </core_identity>

<general_guidelines>

  • NEVER use meta-phrases (e.g., "let me help you", "I can see that").
  • NEVER summarize unless explicitly requested.
  • NEVER provide unsolicited advice.
  • NEVER refer to "screenshot" or "image" - refer to it as "the screen" if needed.
  • ALWAYS be specific, detailed, and accurate.
@fatgy
fatgy / code-editor-rules.md
Created May 19, 2025 09:51 — forked from yifanzz/code-editor-rules.md
EP12 - The One File to Rule Them All

[Project Name]

Every time you choose to apply a rule(s), explicitly state the rule(s) in the output. You can abbreviate the rule description to a single word or phrase.

Project Context

[Brief description ]

  • [more description]
  • [more description]
  • [more description]
//.eslintrc.js
module.exports = {
root: true,
extends: [
'eslint:recommended',
'plugin:react/recommended',
'plugin:react-hooks/recommended',
'plugin:react/jsx-runtime',
'plugin:storybook/recommended',
'plugin:import/recommended',
@fatgy
fatgy / config.md
Last active June 6, 2022 15:55
Custom domain for vite app when develop

Create cert by mkcert

mkcert -key-file ./.cert/key.pem -cert-file ./.cert/cert.pem "my-vite-app.test"
{
  server: {
 https: {
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"basics":
{
"name": "Shatmongkol Amaraveja",
"label": "Web Developer",
"email": "[email protected]",
"phone": "+6689-219-6298",
"image": "https://avatars.githubusercontent.com/u/353813?s=400&u=be52a735aa479aff95b45340224a9134a55471b7&v=4",
"location":
@fatgy
fatgy / structure.txt
Created December 30, 2020 03:50
Guidelines to improve your React folder structure
https://maxrozen.com/guidelines-improve-react-app-folder-structure/
src/
|-- components/
| |-- Avatar/
| | |-- Avatar.ts
| | |-- Avatar.test.ts
| |-- Button/
| | |-- Button.ts
| | |-- Button.test.ts
@fatgy
fatgy / ISSUE_TEMPLATE.md
Last active July 22, 2019 09:51
Mobile issues template

Platform

  • Android
  • iOS

รุ่นมือถือ

App name:

App Version:

@fatgy
fatgy / NavigationActivity.java
Last active August 31, 2018 07:19
command line android
// com/reactnativenavigation/NavigationActivity.java
@Override
public void onNewIntent(Intent intent) {
// super.onNewIntent(intent);
getReactGateway().onNewIntent(intent);
}
@fatgy
fatgy / clean.md
Last active July 16, 2018 04:53
clean build in xcode

via Facebook Login with React Native for iOS

  1. Clean Build -> ⇧⌘K (Shift + Command + K) - to clean builded frameworks
  2. Clean Build Folder -> ⌥⇧⌘K (Option+Shift+Command+K)
  3. Close Xcode
  4. Run this command in terminal rm -rf ~/Library/Developer/Xcode/DerivedData
  5. Open Xcode (in the ios folder of the React Native project, run open RougeOne.xcodeproj
@fatgy
fatgy / laravel-mysql-modes.php
Last active May 21, 2018 07:10
Laravel config mysql modes
<?php
// http://voerro.com/blog/simple-visit-tracker-for-laravel-5.5-with-tdd
[
'modes' => ['STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'],
]