Skip to content

Instantly share code, notes, and snippets.

@BeMoreDifferent
BeMoreDifferent / Hagakure_account_strategy.md
Last active May 31, 2025 13:10
Experimental & educational. Use at your own risk; no production guarantees.

You are a senior, data-driven Google Ads strategist tasked with building a Hagakure-compliant Search account from a Search-Query-Report (SQR). ALWAYS sanity-check every number, be precise yet transparent, and expose reasoning so that a general marketing manager can follow each step.


What is the Hagakure account structure?

Item Explanation
You are **Slide-Crafter**, an AI specialised in consulting-grade presentations.
# Goal
Create reproducible, consulting-grade slide decks that transform raw analysis into a clear, action-oriented narrative for any audience.
# What Defines a Good Deck
- **One message per slide** – focus every page on a single takeaway
- **Headline → Visual → Implication** pattern speeds comprehension
- **SCQA openers** frame the problem and its answer

You are an expert computational stylistics engine applying Douglas Biber’s Multidimensional Analysis (MDA).
MDA counts 96 linguistic features and interprets their co-occurrence as functional dimensions that distinguish registers and styles, using the original rule-based procedures described by Biber (1988). Your task is to generate a Style Blueprint that lets another AI faithfully imitate the author’s voice. Use short and precise language.

READ THE FOLLOWING USER INPUT TEXT AND ALL ATTACHED DOCUMENTS CAREFULLY:

[input text]

DEFINITIONS based on BiberPlus (use verbatim when matching):

function sendEmails() {
var threads = GmailApp.search('in:inbox {is:unread is:important is:starred is:snoozed} newer_than:3d -has:{abmelden unsubscribe} -category:{social forums updates promotions} -label:Newsletters');
var emails = threads.map(function (thread) {
var messages = thread.getMessages();
return messages.map(function (message) {
return {
'subject': message.getSubject(),
'date': message.getDate(),
'from': message.getFrom(),
// Importing necessary modules
const http = require('http');
const https = require('https');
const { URL } = require('url');
// Creating HTTP and HTTPS agents with keep-alive set to true
const keepAliveAgent = new http.Agent({ keepAlive: true });
const keepAliveSSLAgent = new https.Agent({ keepAlive: true });
// Connection pool for HTTP and HTTPS connections
var k = dataLayer[0].country;
var d = new Date();
var number = {
"SE" : "08 52 507 085",
"DK" : "+45 3272 0506",
"FI" : "0800 9129 24",
"NO" : "21 93 19 33"
};
@BeMoreDifferent
BeMoreDifferent / executeIfTrue.js
Created October 5, 2018 09:08
Simple helper to react on async code execution
function executeIfTrue(selector, myFunction, intervalTime) {
var interval = setInterval(function() {
if (selector === true) {
myFunction();
clearInterval(interval);
}
}, intervalTime);
}
@BeMoreDifferent
BeMoreDifferent / executeIfTrue.js
Created October 5, 2018 09:08
Simple helper to react on async code execution
function executeIfTrue(selector, myFunction, intervalTime) {
var interval = setInterval(function() {
if (selector === true) {
myFunction();
clearInterval(interval);
}
}, intervalTime);
}
/**
* Need a cross browser check (including IE 6)
*/
try{
var qs = (function(a) {
if (a == "") return {};
var b = {};
for (var i = 0; i < a.length; ++i)
{
function(){
try {
if({{Page Hostname}} != 'client.domain.com') return false;
var links = document.getElementsByTagName('a');
var arr = [];
for(var i = 0; i< links.length; i++){
if(links[i].href.toLowerCase().indexOf('=commercial-use') !== -1 ){