Skip to content

Instantly share code, notes, and snippets.

Avatar
🤡
🔫

Josh Ghent joshghent

🤡
🔫
View GitHub Profile
View ⏰ Daily Productivity Stats - 2020-09-23
⏰ Stats for September 23rd 2020
Productivity Pulse 7h 44m ████████▍░ 84%
All Productive 6h 25m ████████▎░ 83%
All Distracting 54m 38s █▏░░░░░░░░ 12%
Neutral 24m 28s ▌░░░░░░░░░ 5%
@joshghent
joshghent / cloudSettings
Last active Sep 24, 2020
Visual Studio Code Settings Sync Gist
View cloudSettings
{"lastUpload":"2020-09-24T17:11:21.357Z","extensionVersion":"v3.4.3"}
@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
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
We couldn’t find that file to show.
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
@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.
@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}
You can’t perform that action at this time.