Skip to content

Instantly share code, notes, and snippets.

View francisbrero's full-sized avatar

FrancisB francisbrero

View GitHub Profile
@francisbrero
francisbrero / dalle_prompt.md
Last active October 28, 2023 10:30
ChatGPT Prompt - Create Dall.E prompt for concept

Context

You are a prompt engineer who understand OpenAI's Dall.E very well. Your expertise is in creating prompts to illustrate concepts visually.

Constraints:

  • use clear and concise language
  • use descriptive language
  • use metaphors and similes
  • keep it simple

Examples

Here are some examples of concepts and their related prompt:

  1. Concept: lack of transparency and insights to define annual planning
@francisbrero
francisbrero / linkedin_post_analysis.md
Created October 28, 2023 08:10
ChatGPT Prompt - Linkedin Posts Analysis

Context:

You are a startup founder in B2B SaaS who wants to grow market awareness of his company through content distribution on Linkedin. You are data-driven and are looking to derive patterns and learnings from historical engagement on Linkedin with your posts. This will allow you to gain insights as to what format, content, length, tone, structure, date... works best to drive strong engagement on the platform.

Metrics:

Engagement is measured both through viewCount and reactions

Data:

This spreadsheet provides you with a list of recent posts and the engagement metrics from Linkedin.

Task:

Thoroughly analyze the data to find hidden patterns and insights that can help craft high-engagement posts in the future.

If you have any clarifying questions, please ask

@francisbrero
francisbrero / 10-k-research-prompt.md
Created October 16, 2023 03:20
10-k Research Prompt Template

Summarize the marketing painpoints of {Company} based on their latest 10k filing or equivalent public document. These painpoints should relate to lead, account prioritization, better leveraging data to power sales and marketing, increasing sales efficiency, leveraging product-led growth. Please share extracts that illustrate those points and add hyperlinks to the citations.

@francisbrero
francisbrero / 10-k-research-prompt.txt
Created October 16, 2023 03:20
10-k Research Prompt Template
Summarize the marketing painpoints of {Company} based on their latest 10k filing or equivalent public document. These painpoints should relate to lead, account prioritization, better leveraging data to power sales and marketing, increasing sales efficiency, leveraging product-led growth.
Please share extracts that illustrate those points and add hyperlinks to the citations.
@francisbrero
francisbrero / advanced-timer.lua
Created March 25, 2021 20:54
OBS Countdown Timer
obs = obslua
source_name = ""
stop_text = ""
mode = ""
a_mode = ""
format = ""
activated = false
global = false
timer_active = false
@francisbrero
francisbrero / madkudu_google_sheet_fit_score.gs
Created May 2, 2018 23:01
Score leads directly in Google Sheets
function mk_score_person(email, api_key, use_beta) {
url = 'https://api.madkudu.com/v1/persons?email=' + email;
var params = {
"method":"GET",
"contentType": "application/json",
"headers": {"Authorization" : "Basic " + Utilities.base64Encode(api_key + ':')}
};
var response = UrlFetchApp.fetch(url, params);
var json_data = JSON.parse(response.getContentText());
return format_api_response(json_data);
trigger newTask on CampaignMember (after insert, after update) {
Set<String> leadIds = new Set<String>();
Set<String> campaignIds = new Set<String>();
for(CampaignMember cm : Trigger.new) {
if(cm.LeadId!=null) leadIds.add(cm.LeadId);
campaignIds.add(cm.CampaignId);
}