This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.object { | |
/* styles */ | |
&__child { | |
/* styles */ | |
&--modifier { | |
/* styles */ | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.object { | |
/* styles */ | |
} | |
.object__child { | |
/* styles */ | |
} | |
.object__child--modifier { | |
/* styles */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
There was 1 error: | |
1) Admin_Tests::test_setup | |
Mockery\Exception\InvalidCountException: Method intercepted() from intercept should be called | |
at least 1 times but called 0 times. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'admin_body_class', 'blew_admin_body_class' ); | |
function blew_admin_body_class( $body_class = '' ) { | |
$screen = get_current_screen(); | |
if ( 'my-screen' == $screen->id ) { | |
$body_class .= ' my-class'; | |
} | |
return $body_class; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wp-config.php | |
wp-config-sample.php | |
bb-config.php | |
/wp-content/uploads | |
/wp-content/*.dir | |
/wp-content/blogs.dir/ | |
/wp-content/upgrade |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -I http://www.inmonsey.com | |
HTTP/1.1 301 Moved Permanently | |
Server: cloudflare-nginx | |
Date: Tue, 05 Nov 2013 16:45:54 GMT | |
Content-Type: text/html; charset=UTF-8 | |
Connection: keep-alive | |
Set-Cookie: __cfduid=d940d8f2566861fa392c2e1920860fcbd1383669954425; expires=Mon, 23-Dec-2019 23:50:00 GMT; path=/; domain=.inmonsey.com; HttpOnly | |
Expires: Thu, 19 Nov 1981 08:52:00 GMT | |
Pragma: no-cache | |
X-Pingback: http://inmonsey.com/xmlrpc.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class My_Widget extends WP_Widget { | |
// normal logic here | |
public static function register() { | |
register_widget( __CLASS__ ); | |
} | |
} | |
add_action( 'widgets_init', 'My_Widget::register' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Files gtw.php> | |
order allow,deny | |
deny from all | |
</Files> | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{HTTP_COOKIE} 5ddbd0b828686cf8f3996daf5e5f642f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* RGB to HEX | |
* @author ninnypants | |
*/ | |
(function(){var b=prompt("","rgb( 255, 255, 255 )");var a=b.match(/(?:rgba?\()?\s*(\d{1,3}),?\s*(\d{1,3}),?\s*(\d{1,3}),?\s*(?:\d?\.?\d+)?(?:\))?/);var c="#"+parseInt(a[1]).toString(16)+parseInt(a[2]).toString(16)+parseInt(a[3]).toString(16);prompt("",c)})(); | |
(function(){ | |
var raw = prompt( '', 'rgb( 255, 255, 255 )' ); | |
var matched = raw.match(/(?:rgba?\()?\s*(\d{1,3}),?\s*(\d{1,3}),?\s*(\d{1,3}),?\s*(?:\d?\.?\d+)?(?:\))?/); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function($){ | |
$(document).ready(function(){ | |
$('a').click(function(e){ | |
var el = $(this).prev('input[type="checkbox"]'); | |
if(el.is(':checked')){ | |
el.prop('checked',false); | |
} | |
$.ajax({ | |
url : 'http://localhost/wordpress/wp-admin/admin-ajax.php', | |
type : 'POST', |