Skip to content

Instantly share code, notes, and snippets.

@davesie
davesie / gist:bc206f70a6efd54ba72118a10b5e3ae4
Created August 20, 2025 14:21
Afraid.org IP Update and telegram notification
#!/bin/bash
# Configuration - UPDATE THESE VALUES
IP_FILE="/tmp/current_ip"
BOT_TOKEN="" # Get from @BotFather on Telegram
CHAT_ID="" # Your group chat ID (negative number)
THREAD_ID="" # Topic thread ID (optional, remove if not using topics)
UPDATE_URL="" # Your dynamic DNS update URL
@davesie
davesie / tt100k2coco.py
Last active February 16, 2021 11:19 — forked from zhaoweizhong/tt100k2coco.py
Transform Tsinghua-Tencent 100K Dataset Annotations to COCO Format
'''
Transform Tsinghua-Tencent 100K Dataset Annotations to COCO Format
Source:
https://gist.github.com/zhaoweizhong/7ca1f4d4fdcb0aa198732a0e7cc9b908#file-tt100k2coco-py
'''
import json
import argparse

Keybase proof

I hereby claim:

  • I am davesie on github.
  • I am davesie (https://keybase.io/davesie) on keybase.
  • I have a public key ASAFl7jO6nccDF4XebCW8CegRacdHNQ4GlMRNi3bv_x5vQo

To claim this, I am signing this object: