Skip to content

Instantly share code, notes, and snippets.

@nyordanov
nyordanov / disable-booked-tec.php
Created June 28, 2018 10:49
Disable Booked and The Events Calendar on pages where you don't need them
<?php
add_filter('option_active_plugins', function ($plugins) {
$requri = $_SERVER['REQUEST_URI'];
if ( is_admin() || ( defined( 'DOING_AJAX' ) && DOING_AJAX ) || isset( $_GET['fl_builder'] ) || ( defined( 'WP_CLI' ) && WP_CLI ) ) {
return $plugins;
}
// whitelist of pages where Booked is enabled
@nyordanov
nyordanov / all-addresses.geojson
Created January 11, 2017 16:44
gis.gabrovo.bg GeoJSON exports
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nyordanov
nyordanov / keybase.md
Created November 20, 2016 09:50
keybase.md

Keybase proof

I hereby claim:

  • I am nyordanov on github.
  • I am nyordanov (https://keybase.io/nyordanov) on keybase.
  • I have a public key ASBvrbX5zU_q0whWBXsGK4MBh8HY_Qq2WiCxhkSdsbjghAo

To claim this, I am signing this object:

@nyordanov
nyordanov / CONTRIBUTING.md
Last active December 17, 2015 23:08
Vamtam LESS Coding Guidelines

LESS Coding Guidelines

Example

.first-selector {
	position: absolute;
@nyordanov
nyordanov / grid.css
Created July 12, 2011 15:09
Simple floating width grid with 4% margin between columns
.one_half, .one_third, .two_thirds, .three_fourths, .one_fourth, .one_fifth, .two_fifths, .three_fifths, .four_fifths, .one_sixth, .five_sixths, .full {
position: relative;
margin-right: 4%;
float: left;
}
.one_half { width: 48%; }
.one_third { width: 30.6666%; }
.two_thirds { width: 65.3332%; }
.one_fourth { width: 22%; }
.two_fourth { width: 48%; }