Skip to content

Instantly share code, notes, and snippets.

View xxxdepy's full-sized avatar

Deepak Kamat xxxdepy

View GitHub Profile
@xxxdepy
xxxdepy / README.md
Created August 15, 2026 00:48
Bulk Add DNS Records in Squarespace Domains

Full write-up: https://www.stramaxon.com/2026/08/bulk-add-dns-squarespace.html

Squarespace doesn’t currently provide a practical bulk-add UI for DNS records. If you need to add dozens of records, you can use the same internal endpoint Squarespace’s DNS interface calls from your authenticated browser session.

Steps

  1. Log into Squarespace and open the domain’s DNS settings.
  2. Open DevTools → Network.
  3. Add one DNS record manually.
  4. Find the request to:
@xxxdepy
xxxdepy / all-in-one-restore.md
Last active December 17, 2022 19:15
Use Restore functionality on All-In One WP Migration without the paid extension

Uploading large files to All-in-One WP Migration *

** without the paid extension

To use this code first upload the .wpress backup file you want to restore in the wp-content > ai1wm-backups folder of the target site, upload it using FTP or a file manager plugin, whichever is easy for you.

Go to the Backups page under the plugin, which is at /wp-admin/admin.php?page=ai1wm_backups

Fire up the Chrome DevTools or dev tools in whichever browser you are using, go to the Console tab and paste the following snippet

@xxxdepy
xxxdepy / checkout-random-products.css
Created October 17, 2020 18:12
Script for Random Products Add to Cart on Shopify Checkout Page
/*
* Add to Cart module for Checkout
*/
.checkout-add-cart-module {
padding: 0px;
background-color: transparent;
margin-top: 30px;
/**
* Okie
*/
.unicorn {
background:linear-gradient(90deg, red, orange, yellow, green, blue, indigo, purple);
}
/* other shit */