Skip to content

Instantly share code, notes, and snippets.

View atirutw's full-sized avatar
💭
wawawawawawawa

Atirut Wattanamongkol atirutw

💭
wawawawawawawa
View GitHub Profile
@atirutw
atirutw / tasks.json
Last active April 1, 2026 15:52
VSCode Tasks for Meson Projects
{
"version": "2.0.0",
"tasks": [
{
"type": "process",
"label": "Setup",
"command": "meson",
"args": [
"setup",
"${workspaceFolder}/build",
@atirutw
atirutw / update-cloudflare.py
Created January 16, 2026 11:52
Cloudflare DNS Updater
#!/usr/bin/env python3
"""
This script updates Cloudflare DNS A records for specified domains to point to
the current public IP address of the machine running the script. If a domain
does not have an existing A record, it creates one.
"""
import requests
from typing import List, Optional