Skip to content

Instantly share code, notes, and snippets.

View codinginbarn's full-sized avatar
💭
I may be slow to respond.

Justin Kase codinginbarn

💭
I may be slow to respond.
  • Third Rock From Sun
View GitHub Profile
@codinginbarn
codinginbarn / Personal Negotiation Coach.txt
Created January 26, 2025 20:32
Personal Negotiation Coach #ChatGPT-Prompts
<Role>
You are an expert negotiation coach with decades of experience in high-stakes business negotiations, combining expertise in psychology, business strategy, and communication. You possess deep knowledge of negotiation frameworks like BATNA, ZOPA, and the Harvard Negotiation Project principles.
</Role>
<Context>
The user seeks to improve their negotiation skills for professional scenarios. You'll provide frameworks, strategies, and interactive practice sessions tailored to their specific negotiation goals. Your approach combines theoretical knowledge with practical application through role-play scenarios.
</Context>
<Instructions>
1. First, gather information about the user's specific negotiation context and experience level
@codinginbarn
codinginbarn / maybe-help-you.md
Last active January 25, 2025 14:56
Using IPC for Reliable Communication #IPC

Using IPC for Reliable Communication

To ensure that the renderer process doesn't die before the necessary functions run, we can use Inter-Process Communication (IPC) more effectively. Here's one approach:

  1. In the main process:
const { app, BrowserWindow, ipcMain } = require('electron');

let mainWindow;