Skip to content

Instantly share code, notes, and snippets.

View joshghent's full-sized avatar
🤡
🔫

Josh Ghent joshghent

🤡
🔫
View GitHub Profile
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap" rel="stylesheet">
function loadScript(src, done) {
var js = document.createElement('script');
js.src = src;
js.onload = function() {
done();
};
js.onerror = function() {
done(new Error('Failed to load script ' + src));
};
document.head.appendChild(js);
version: '3.7'
services:
dokku:
image: dokku/dokku:latest
hostname: dokku.ghent.cloud
environment:
- DOKKU_HOSTNAME=dokku.domain.cloud
- VIRTUAL_PORT=32087
- VIRTUAL_HOST=dokku.domain.cloud
☀️ Weather for January 19th 1970
Wind Speed: 2.6
Temp: 15.6
🏆 63,604 Karma Points
🌞 Completed 18 tasks today
📅 Completed 18 tasks this week
✅ Completed 43,627 tasks so far
⌛ Current streak is 101 days
@joshghent
joshghent / sqs_to_sns.py
Created January 14, 2020 10:29
A small script to push messages from SQS to SNS
# Usage
# $ python sqs_to_sns.py my-queue-name
import boto3
import sys
import queue
import threading
from datetime import datetime
import json
@joshghent
joshghent / debug.txt.enc
Created December 4, 2019 16:15
Terraform Debug Log (Encrypted with Terraform Public Key from Keybase.io)
This file has been truncated, but you can view the full file.
⏰ Stats for May 7th 2021
Productivity Pulse 6h 11m ████████░░ 80%
All Productive 5h 2m ████████▏░ 82%
All Distracting 47m 52s █▎░░░░░░░░ 13%
Neutral 20m 42s ▌░░░░░░░░░ 6%
@joshghent
joshghent / musicbox
Created October 30, 2019 09:45
MusicBox
.
We couldn’t find that file to show.