Skip to content

Instantly share code, notes, and snippets.

🤡
🔫

Josh Ghent joshghent

🤡
🔫
View GitHub Profile
View docker-compose.yml
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
View ☀️ Weather for Walsall,UK - 1587665004
☀️ Weather for January 19th 1970
Wind Speed: 2.6
Temp: 15.6
View ✅ Todoist Stats
🏆 45,003 Karma Points
🌞 Completed 23 tasks out of 5 today
📅 Completed 95 tasks out of 25 this week
✅ Completed 20,786 tasks so far
⌛ Longest streak is 9 days
@joshghent
joshghent / sqs_to_sns.py
Created Jan 14, 2020
A small script to push messages from SQS to SNS
View sqs_to_sns.py
# 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 Dec 4, 2019
Terraform Debug Log (Encrypted with Terraform Public Key from Keybase.io)
View debug.txt.enc
This file has been truncated, but you can view the full file.
View ⏰ Daily Productivity Stats - 2020-08-04
⏰ Stats for August 4th 2020
Productivity Pulse 9h 59m █████████░ 90%
All Productive 8h 50m ████████▊░ 89%
All Distracting 34m 6s ▌░░░░░░░░░ 6%
Neutral 34m 46s ▌░░░░░░░░░ 6%
We couldn’t find that file to show.
@joshghent
joshghent / mirror.sh
Created Aug 21, 2019
Mirror repos from gitlab to github
View mirror.sh
#!/bin/bash
repos=(repository1 repository2)
githubName="joshghent"
for repo in "${!repos[@]}"
do
reponame=${repos[repo]}
git clone git@gitlab.com:${githubName}/${reponame}.git
cd ${reponame}
View empty.py
#!/usr/bin/env python3
"""
Run the following
$ python3 empty.py
You need to install boto3 before by running `pip install boto3 --user`
"""
from __future__ import print_function
import argparse
You can’t perform that action at this time.