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 / 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"
]
@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 / technical_skills_list.txt
Last active October 25, 2021 11:30 — forked from LastZactionHero/technical_skills_list.txt
All Technical Skills List required for professional.
.NET
360-degree video
3D Animation
3D Design
3D Model Maker
3D Modelling
3D Printing
3D Rendering
3ds Max
4D
@baikaresandip
baikaresandip / github-emoji.md
Created December 9, 2020 18:27
Complete list of GitHub markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@baikaresandip
baikaresandip / inxex.html
Created July 11, 2019 12:25
Check Multiple checkboxes dynamically by ID and classes. You can use this function for multiple times in a single code for different purposes
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<title>Check all Checkboxes</title>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<script src='script.js'></script>
</head>
<body>
@baikaresandip
baikaresandip / count-branches-all.sh
Created March 25, 2019 08:41
Count the number of branches in your Local + Remote repository
git branch -a | wc -l
@baikaresandip
baikaresandip / count-branches.sh
Created March 25, 2019 08:39
Count the number of branches in your local repository
git branch | wc -l
@baikaresandip
baikaresandip / count-branches.sh
Created March 25, 2019 08:39
Count the number of branches in your local repository
git branch | wc -l
@baikaresandip
baikaresandip / template-product.php
Last active September 6, 2020 19:21
Custom Woocommerce Product template with pagination
<?php
/**
* @author Baikare Sandeep
*
* Template Name: Product
*/
get_header(); ?>
@baikaresandip
baikaresandip / function.php
Last active July 18, 2018 11:01
Wordpress add short description on the custom post type page: The filter views_{$this->screen->id} is fired just after the title of post edit screen has been print to screen, so it's a safe place to just echo what you want. So you can simply do:
<?php
function post_type_desc( $views ){
$screen = get_current_screen();
$post_type = get_post_type_object($screen->post_type);
if ($post_type->description) {
printf('<h4>%s</h4>', esc_html($post_type->description)); // echo
}