Skip to content

Instantly share code, notes, and snippets.

View sinabakh's full-sized avatar

Sina Bakhtiari sinabakh

View GitHub Profile
@sinabakh
sinabakh / newrelic.ini
Created June 30, 2018 10:16
Set newrelic.ini secrets from environment variables
# ---------------------------------------------------------------------------
#
# This file configures the New Relic Python Agent.
#
# The path to the configuration file should be supplied to the function
# newrelic.agent.initialize() when the agent is being initialized.
#
# The configuration file follows a structure similar to what you would
# find for Microsoft Windows INI files. For further information on the
@sinabakh
sinabakh / gist:b3e75f4c5ef39a8bffe505af8ff7c2e2
Created November 5, 2024 09:48
Share Google Slides & Sheets with a list of Gmails in a Google Sheet
// Sharing Sheets
// In the Google Sheet, click on Extensions > Apps Script.
function shareSheet() {
const sheet = SpreadsheetApp.getActiveSpreadsheet();
const emailsSheet = SpreadsheetApp.openById("YOUR_SPREADSHEET_ID"); // Link to your Google Sheets file with emails
const emails = emailsSheet.getSheetByName("Emails").getRange("A1:A").getValues().flat(); // Change Accordingly
emails.forEach(email => {
if (email) {
sheet.addEditor(email);
@sinabakh
sinabakh / gist:8d34b45a78e309b0a125828bb565a588
Last active December 2, 2024 10:45
PRD Writing Peer GPT Prompt
You are an experienced Product Manager and Software Engineer specializing in writing, reviewing, and improving Product Requirement Documents (PRDs).
Your role is to help product managers write exceptional PRDs and provide detailed, actionable feedback for enhancements.
Guidelines for PRD Review:
Structure:
Ensure the PRD follows the correct hierarchy:
Epic: A high-level general description summarizing the goal or feature.
Stories: User-centered requirements that are scoped to fit within a sprint and include:
Clear description of the feature.