Skip to content

Instantly share code, notes, and snippets.

View ShiponKarmakar's full-sized avatar
😍
<?php echo "Love Programming"; ?>

Shipon Karmakar ShiponKarmakar

😍
<?php echo "Love Programming"; ?>
View GitHub Profile
@ShiponKarmakar
ShiponKarmakar / like-it-enqueue.php
Created December 22, 2018 16:54 — forked from shizhua/like-it-enqueue.php
Add a like button without a plugin in WordPress
add_action( 'wp_enqueue_scripts', 'pt_like_it_scripts' );
function pt_like_it_scripts() {
if( is_single() ) {
wp_enqueue_style( 'like-it', trailingslashit( plugin_dir_url( __FILE__ ) ).'css/like-it.css' );
if (!wp_script_is( 'jquery', 'enqueued' )) {
wp_enqueue_script( 'jquery' );// Comment this line if you theme has already loaded jQuery
}
wp_enqueue_script( 'like-it', trailingslashit( plugin_dir_url( __FILE__ ) ).'js/like-it.js', array('jquery'), '1.0', true );
@ShiponKarmakar
ShiponKarmakar / README.MD
Created December 17, 2018 16:51 — forked from AminulBD/README.MD
BD Domain ability checker with php.

(DOT) .BD DOMAIN ABILITY CHECKER

You can use this as WHMCS or other domain checker to check ability of .bd domains. This is a concept for how to create your own whois server.

WARNING: WHEN YOU USE THIS SCRIPT, YOU KNOW WHAT YOU ARE DOING. I'M NOT RESPONSIVE FOR ANY PROBLEM

First login to your server (Any distro) and install the following dependencies.

For ubuntu user:

apt-get install xinetd dnsutils php-cli