Skip to content

Instantly share code, notes, and snippets.

View garyblankenship's full-sized avatar
🎩
I may be slow to respond.

Gary Blankenship garyblankenship

🎩
I may be slow to respond.
View GitHub Profile
<?php
/**
* SplClassLoader implementation that implements the technical interoperability
* standards for PHP 5.3 namespaces and class names.
*
* http://groups.google.com/group/php-standards/web/final-proposal
*
* // Example which loads classes for the Doctrine Common package in the
* // Doctrine\Common namespace.
@garyblankenship
garyblankenship / Experimental_Generation_of_Interpersonal_Closeness.md
Last active August 30, 2025 18:09 — forked from shmup/Experimental_Generation_of_Interpersonal_Closeness.md
The Science of Instant Intimacy: How 36 Questions Reveal Human Connection #psychology #relationships #consciousness

The Science of Instant Intimacy: How 36 Questions Reveal the Hidden Architecture of Human Connection

What if creating deep human connection was as systematic as following a recipe—and what does that tell us about the nature of consciousness itself?


Love Isn't Magic—It's Engineering

The most groundbreaking study in relationship psychology proved something radical: intimacy can be manufactured. Arthur Aron's research didn't just create connections between strangers—it revealed that what we call "chemistry" is actually a systematic progression of mutual vulnerability.

@garyblankenship
garyblankenship / default
Created June 13, 2020 15:46 — forked from dtomasi/default
Brew Nginx PHP7
server {
listen 80;
server_name localhost;
root /Users/YOUR_USERNAME/Sites;
access_log /Library/Logs/default.access.log main;
location / {
include /usr/local/etc/nginx/conf.d/php-fpm;
}
@garyblankenship
garyblankenship / Envoy.blade.php
Created August 9, 2020 16:43 — forked from freekmurze/Envoy.blade.php
Multi server zero downtime Envoy script
@setup
require __DIR__.'/vendor/autoload.php';
(new \Dotenv\Dotenv(__DIR__, '.env'))->load();
$appName = "my-app.com";
$repository = "spatie/{$appName}";
$baseDir = "/home/forge/{$appName}";
$releasesDir = "{$baseDir}/releases";
$currentDir = "{$baseDir}/current";
$newReleaseName = date('Ymd-His');
@garyblankenship
garyblankenship / app.js
Created June 3, 2022 17:08
Tangocrypto NFT API Example
const axios = require('axios').default;
const HOST = 'cardano-testnet.tangocrypto.com';
const APP_ID = '34492bb302cf4678a3a0ec93029c5bh67';
const API_KEY = '8888c8026e7i47b4b2527151e126e914';
axios.defaults.baseURL = `https://${HOST}/${APP_ID}/v1`;
axios.defaults.headers.common['x-api-key'] = API_KEY;
axios.defaults.headers.post['Content-Type'] = 'application/json';
@garyblankenship
garyblankenship / cardano.sh
Created September 6, 2022 21:36 — forked from feamcor/cardano.sh
Script for common actions on Cardano node and CLI
#!/usr/bin/env bash
#set -x
export CARDANO_HOME="${CARDANO_HOME:-${HOME}/cardano}"
if [ ! -d "${CARDANO_HOME}" ]; then
printf 'ERROR :: envar CARDANO_HOME directory does not exist: %s' "${CARDANO_HOME}"
exit 1
fi
export CARDANO_NODE_HOME="${CARDANO_NODE_HOME:-${CARDANO_HOME}/cardano-node}"
@garyblankenship
garyblankenship / burn.sh
Created September 9, 2022 20:27 — forked from ahaxu/burn.sh
cardano burn token bash script
# Usage:
# $ ./burn.sh $tokenName $payment_address $policy_script_file_path
#
# For eg:
# $ ./burn.sh AhaXuTokenName `cat payment.addr` policy.script
#
# For list of token (for eg token.list) as below
# AAA
# BBB
# CCC
You are Whimsy, a world-building creation assistant. You are going to help me detail and describe an imaginary world.
Carefully adhere to the following steps for our conversation. Do not skip any steps!:
Main steps:
1. Introduce yourself. Ask what sort of world I'd like to build, offer some ideas including fantasy, scifi, and cyberpunk. Present the ideas as a numbered list with emojis. Also offer at least 2 other world types. Wait for my response.
2. Choose a name for the world. Present alternatives names as a numbered list with emojis or let me propose my own option. Wait for my respinse.
3. Choose a secondary theme for the world or let me propose my own options. Present alternative themes with a numbered list with emojis. Wait for my response.
4. Briefly describe the world and ask if I'd like to make changes. Tell me what the year within the world is. Do not set the year to the real world current year. Wait for my response.
You are Webby, a website creation assistant.
Carefully adhere to the following steps for our conversation. Do not skip any steps!:
1. Introduce yourself
2. Ask my name and where I'm from. Offer me the option to continue in a different language, but default to English. In the next message say something personal and kind about where I'm from and include an emoji that references where I'm from.
3. Give me an extremely brief overview of how the website building process will go. Use numbered steps and emojis.
4. Ask what type of website I want to make (offer examples)
5. Ask what I'd like to title the website.
6. Ask a series of questions to clarify information and constraints for the website
@garyblankenship
garyblankenship / forge.sh
Created February 1, 2023 19:16 — forked from azimidev/forge.sh
Laravel Forge Setup Script
#
# REQUIRES:
# - server (the forge server instance)
# - event (the forge event instance)
# - sudo_password (random password for sudo)
# - db_password (random password for database user)
# - callback (the callback URL)
#