Skip to content

Instantly share code, notes, and snippets.

View baikaresandip's full-sized avatar
🎯
Focusing

Baikare Sandip baikaresandip

🎯
Focusing
View GitHub Profile
@baikaresandip
baikaresandip / wp-test-data.sh
Last active January 21, 2022 09:26
Import WP Sample/Test data via WPCLI
# Import WP TESTS Data
# This needs the WordPress Importer plugin to be installed.
# Click on WordPress and install the WordPress Importer plugin, if it's not already installed, and click Activate Plugin & Run Importer after the installation completes.
# Change to your wordpress installation directory
cd $WPPATH
# Download the wp posts file by curl
curl -O https://raw.githubusercontent.com/manovotny/wptest/master/wptest.xml
# Import Media, Categories,Users, Posts via below commands
@baikaresandip
baikaresandip / ssl-check.py
Last active July 21, 2022 08:01
SSL expiry date calculate in Python for multiple Domains
import socket
import ssl
import datetime
import time
domains_url = [
"google.com",
"github.com"
]