Skip to content

Instantly share code, notes, and snippets.

View filipopo's full-sized avatar
🤡
Hehe

Filip filipopo

🤡
Hehe
View GitHub Profile
@filipopo
filipopo / update_ip.py
Last active October 13, 2025 09:02
ddns update script in Python using Cloudflare SDK for DNS load balancing based on comments in multiple records
#!/usr/bin/python3
"""ddns update script using Cloudflare SDK for DNS load balancing.
Configure credentials and create a /etc/cron.d/update_ip file like
*/10 * * * * root CLOUDFLARE_API_TOKEN=token ./opt/update_ip.py zone_id comment
"""
from sys import argv
from urllib.request import urlopen
@filipopo
filipopo / hate_speech.ipynb
Last active August 17, 2025 14:46
Hate Speech Classifier that demonstrates the effect of skewed data, with text in Serbian and English. Done on Google Collab
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.