This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Usage | |
# $ python sqs_to_sns.py my-queue-name | |
import boto3 | |
import sys | |
import queue | |
import threading | |
from datetime import datetime | |
import json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
🏆 67,827 Karma Points | |
🌞 Completed 26 tasks today | |
📅 Completed 69 tasks this week | |
✅ Completed 48,166 tasks so far | |
⌛ Current streak is 214 days |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
☀️ Weather for January 19th 1970 | |
Wind Speed: 2.6 | |
Temp: 15.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Creates a nice list of github action usage across your organisations repos | |
# Useful for making sure you are using pinned dependencies | |
# Idea from this blog post: https://alexwlchan.net/2025/github-actions-audit/ | |
ORG="" # github org name to only search their repos, case sensitive | |
temp_file=$(mktemp) | |
for dir in */; do |
OlderNewer