Skip to content

Instantly share code, notes, and snippets.

View dimitur2204's full-sized avatar

Dimitar Nizamov dimitur2204

View GitHub Profile
#!/bin/bash
# Initial data; they need to be filled by the user
## API token
api_token=<api-token>
email=<your-clodflare-email>
zone_name=<root-domain-name>
dns_record=<submdomain> # requires the full sub+domain ex. subdomain.root.com
# Function to log messages with timestamp
@dimitur2204
dimitur2204 / MUIRadioAccordionGroup.tsx
Last active August 30, 2024 19:48
MUI Radio with MUI Collapse Content (also accessible <3)
import React from 'react'
import {
Box,
BoxProps,
Collapse,
FormControl,
FormControlLabel,
Radio,
RadioGroup,
RadioGroupProps,
@dimitur2204
dimitur2204 / MUIRadioCardGroup.tsx
Last active September 9, 2024 01:15
MUI Radio Group using MUI Card as buttons (also accessible <3)
import React from 'react'
import {
Card,
CardProps,
FormControl,
FormControlLabel,
Radio,
RadioGroup,
RadioGroupProps,
Stack,