Skip to content

Instantly share code, notes, and snippets.

View asaura08's full-sized avatar

Elnegren asaura08

View GitHub Profile
@asaura08
asaura08 / README.md
Created October 7, 2025 15:09
Script for provides autocomplete and IntelliSense when writing Frappe Client Scripts in VSCode.

frappe.d.ts

TypeScript definitions for the global frappe object.
This provides autocomplete and IntelliSense when writing Frappe Client Scripts in VSCode.


Files

  • frappe.d.ts – Type definitions for Frappe.
@asaura08
asaura08 / create_blocked_domains.py
Created April 2, 2025 13:19
Create blocked domains for A and CNAME that exist in Route53 but not in the frappe press database
import frappe
def create_blocked_domains():
"""Create blocked domains for A and CNAME that exist in Route53 but not in the database"""
def is_valid_dns_name(name):
import re
invalid_patterns = [
r"^\*",
r"^\\052",