Skip to content

Instantly share code, notes, and snippets.

Avatar
😊
Happy

Abhishek Ghosh AbhishekGhosh

😊
Happy
View GitHub Profile
@AbhishekGhosh
AbhishekGhosh / Google-Sitelinks-JSON-LD.php
Created Nov 3, 2014
Google-Sitelinks-JSON-LD for AdSense
View Google-Sitelinks-JSON-LD.php
@AbhishekGhosh
AbhishekGhosh / wpms_blogid.php
Created Jan 13, 2015
WordPress Multisite ID Plugin
View wpms_blogid.php
<?php
// must be placed under wp-content/mu-plugins/
// GNU GPL 3.0 Licence
// Digital Ocean created it, but WordPress is not their father's property
// hence DMCA safe harbour exists
// if they files DMCA, we will file a simple civil case for abusing law from Bombay High Court
// for abusing the Power of Law
// hence Github can not delete
// hence you should kiss me
// hence you might get hacked if you are not sure what it is
View Rounded Avatar With CSS 3 Transition
.avatar:hover{
border-radius: 50% 50% 50% 50%;
transform: rotate(0deg) scale(0.67) skew(1deg) translate(0px);
-webkit-transform: rotate(0deg) scale(0.67) skew(1deg) translate(0px);
-moz-transform: rotate(0deg) scale(0.67) skew(1deg) translate(0px);
-o-transform: rotate(0deg) scale(0.67) skew(1deg) translate(0px);
-ms-transform: rotate(0deg) scale(0.67) skew(1deg) translate(0px);
}
// How To Make Rounded Avatars http://wp.me/p1lTu0-9VQ
.avatar {
@kloon
kloon / deploy.sh
Last active Jul 5, 2018
Github to WordPress.org plugin repo deploy
View deploy.sh
#! /bin/bash
# A modification of Dean Clatworthy's deploy script as found here: https://github.com/deanc/wordpress-plugin-git-svn
# The difference is that this script lives in the plugin's git repo & doesn't require an existing SVN repo.
# main config
PLUGINSLUG="camptix-payfast-gateway"
CURRENTDIR=`pwd`
MAINFILE="camptix-payfast.php" # this should be the name of your main php file in the wordpress plugin
# git config
@thefuxia
thefuxia / defer-cf7-scripts.php
Created Jan 9, 2012
Plugin: Defer Contact Form 7 Scripts
View defer-cf7-scripts.php
<?php # -*- coding: utf-8 -*-
declare( encoding = 'UTF-8' );
/**
* Plugin Name: Defer Contact Form 7 Scripts
* Description: Adds <code>defer='defer'</code> to enqueued javascripts.
* Version: 1.0
* Required: 3.3
* Author: Thomas Scholz
* Author URI: http://toscho.de
* License: GPL
@mbostock
mbostock / .block
Last active Sep 13, 2019
Wilson’s Algorithm II
View .block
license: gpl-3.0
You can’t perform that action at this time.