Skip to content

Instantly share code, notes, and snippets.

View unlight's full-sized avatar
💭
Casting fireball

Roman Vasilev unlight

💭
Casting fireball
View GitHub Profile
@unlight
unlight / ChatGPT start.md
Last active August 11, 2024 19:03
ChatGPT start

for the rest of this conversation, if i ask you a technical question:

  1. do not repeat what i asked in your first sentence, just get to it.
  2. do not write code comments, unless i am asking for clarification or if i seem confused
  3. if i ask for code, do not say "here's the code" or "here's an example", just get to it.
  4. if i don't specify a language or technology, assume i'm asking about typescript, linux, nodejs, postgresql.
  5. avoid writing overly formal explanations, instead write as if you are an expert friendly colleague who is writing casually but still accurately.
  6. lean towards FOSS and avoid closed platforms and proprietary software if possible.
  7. do not apologize if you think you misunderstood me or if you think you got something wrong. just say what is wrong or adjusted. just get to it.
  8. answer for an expert programmer, not a newbie programmer.
@unlight
unlight / set-env.cmd
Last active July 2, 2022 10:46
set env variables from .env windows
cat ../../compose/.env | xargs printf -- "set %s\n" | xargs -n2 > ~env.cmd && call ~env.cmd && rm ~env.cmd
@unlight
unlight / node run.cmd
Created June 7, 2022 19:24
node run.cmd
npm --node-options --inspect run dev
@unlight
unlight / node-dev-kill.cmd
Created April 15, 2022 19:47
node-dev-kill.cmd
@rem WMIC PROCESS WHERE "COMMANDLINE LIKE '%node-dev%'" get processId,name,commandline /format:list
@echo off
WMIC PROCESS WHERE "COMMANDLINE LIKE '%%node-dev%%'" CALL TERMINATE
@unlight
unlight / my install stack.md
Last active November 9, 2023 12:18
my install stack
@unlight
unlight / react router modal.md
Last active April 9, 2022 13:09
react router modal
@unlight
unlight / Errors.md
Last active November 5, 2021 10:48
Errors
  • Errors
  • RestError
  • BadDigestError
  • BadMethodError
  • InternalError
  • InvalidArgumentError
  • InvalidContentError
  • InvalidCredentialsError
  • InvalidHeaderError
  • InvalidVersionError
@unlight
unlight / node topic questions.md
Last active March 23, 2021 06:55
node topic questions.md
  1. Отличные знания JavaScript на уровне текущей спецификации ESNext
  2. Общие знания по программной инженерии
  • ООП
  • функциональное и реактивное
  • программирование
  • обобщенное программирование
  • агрегация и композиция классов
  • модули и зависимости
  • инверсия управления и внедрение зависимостей
  • принципы