Skip to content

Instantly share code, notes, and snippets.

View jaydansand's full-sized avatar

Jay Dansand jaydansand

  • Nsight/Cellcom
  • Appleton, WI
View GitHub Profile
@jasny
jasny / bootstrap-em.less
Last active January 5, 2020 15:36
Use em or rem font-size in Bootstrap 3
/**
* Use em or rem font-size in Bootstrap 3
*/
@font-size-root: 14px;
@font-unit: 0rem; // Pick em or rem here
// Convert all variables to em
@ParhamG
ParhamG / blacklist_jetpack_modules.php
Last active January 25, 2016 02:50
If you are annoyed with this automatic activation of Jetpack modules, specially on a multi-site setup, here is how to completely disable modules across the entire network without having to visit each site and disable modules one by one.Since version 2.4, Jetpack has introduced 'jetpack_get_available_modules' filter, which allows you to black lis…
<?php
/*
Plugin Name: Blacklist Jetpack Modules
Plugin URI: https://gist.github.com/ParhamG/6494979
Description: Blacklist Jetpack modules.
Author: Parham Ghaffarian
Author URI: http://parh.am
Version: 0.1.3.4.1
*/