Skip to content

Instantly share code, notes, and snippets.

View c0bra's full-sized avatar

Brian Hann c0bra

View GitHub Profile
@c0bra
c0bra / tiktok-recruiting-content-plan.md
Created April 2, 2026 16:50
TikTok Recruiting Content Plan

Primerica TikTok 30-Day Recruiting Content Plan

Purpose

This plan is built to help you use TikTok to attract, warm, and start conversations with potential Primerica recruits over the next 30 days.

The goal is 12 new recruits in 30 days, which is aggressive enough that TikTok content cannot work alone. The content has to do three jobs at the same time:

  1. attract the right people
  2. build trust and curiosity
@c0bra
c0bra / index.js
Created January 29, 2024 15:22
Attempt: Twilio->Deepgram live streaming transcription in Node.js
import fs from 'fs'
import Stream from 'node:stream'
import WaveFile from 'wavefile';
import { WebSocketServer } from 'ws';
import { createClient, LiveTranscriptionEvents } from '@deepgram/sdk';
const deepgram = createClient(process.env.DEEEPGRAM_API_KEY);
process.on('unhandledRejection', (reason, p) => {
console.error(reason, 'Unhandled Rejection at Promise', p);
@c0bra
c0bra / test.html
Last active August 30, 2023 16:12
<!DOCTYPE html>
<html>
<head>
<meta charset='UTF-8'>
<title>XML To HTML using codebeautify.org</title>
</head>
<body>
https://www.myswitchboard.com/blog <br/>
https://www.myswitchboard.com/blog/new-texting-tech <br/>
https://www.myswitchboard.com/blog/new-texting-tech-t7key <br/>
@c0bra
c0bra / index.html
Created August 23, 2023 14:32
VIA Privacy Policy
<html>
<body>
<style>
[data-custom-class='body'], [data-custom-class='body'] * {
background: transparent !important;
}
[data-custom-class='title'], [data-custom-class='title'] * {
font-family: Arial !important;
font-size: 26px !important;
color: #000000 !important;
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"meta": { "theme": "fresh" },
"basics": {
"name": "Brian Hann",
"label": "Lead Software Architect / DevOps Manager",
"image": "",
"email": "[email protected]",
"phone": "913.205.5068",
"summary": "I'm Brian Hann, a Lead Software Architect and DevOps Manager in Kansas City. I'm a life-long learner and I enjoy taking on new challenges and trying new things. I have a deep understanding of software architecture and I specialize in creating comprehensive solutions to large-scale business problems. In my spare time, I love to play guitar, cook, and spend time outdoors with my family.",
[
{
"name": "Lou Durham",
"company": "CALLFLEX",
"email": "[email protected]",
"phone": "+1 (892) 565-3634",
"address": "112 Reeve Place, Unionville, California, 3899"
},
{
"name": "Lucile Williamson",

Keybase proof

I hereby claim:

  • I am c0bra on github.
  • I am bhann (https://keybase.io/bhann) on keybase.
  • I have a public key ASAwqx61rMOLOqsepdes31POSsH4zNm0dVKS14FcfYmeaAo

To claim this, I am signing this object:

import * as pulumi from '@pulumi/pulumi';
import * as cloud from '@pulumi/cloud';
import * as aws from '@pulumi/aws';
import * as awsx from '@pulumi/awsx';
const config = new pulumi.Config('seniorvu');
const dbPassword = config.require('zabbixDbPassword');
let vpc = awsx.ec2.Vpc.getDefault();
---------------------------------------|----------|----------|----------|----------|-------------------|
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
---------------------------------------|----------|----------|----------|----------|-------------------|
All files | 7.57 | 2.83 | 5.02 | 7.38 | |
node_modules/is-dom | 50 | 0 | 0 | 50 | |
index.js | 50 | 0 | 0 | 50 | 4 |
node_modules/popper.js/dist/esm | 4.9 | 2.51 | 3.64 | 4.65 | |
popper.js | 4.9 | 2.51 | 3.64 | 4.65 |... 2467,2472,2477 |
node_modules/svelte | 2.67 | 0 | 1.85 | 2.37 | |
shared.js | 3.67 | 0 | 2.5 | 3
@c0bra
c0bra / compile.js
Last active November 18, 2019 17:05
Testing Svelte with Jest
const rollup = require('rollup');
const esm = require('esm');
const { config } = esm(module)('../rollup.config');
function generateOptions(filePath, name) {
return {
input: { input: filePath, plugins: config.plugins },
output: {
file: `./dist/test/${name}.js`,