I hereby claim:
- I am zinkinru on github.
- I am nightcoder (https://keybase.io/nightcoder) on keybase.
- I have a public key whose fingerprint is 9FB9 03C3 E0F1 FF55 94F9 7EDD B45D 8C3C 299B F7C4
To claim this, I am signing this object:
/** | |
* VH and VW units can cause issues on iOS devices: http://caniuse.com/#feat=viewport-units | |
* | |
* To overcome this, create media queries that target the width, height, and orientation of iOS devices. | |
* It isn't optimal, but there is really no other way to solve the problem. In this example, I am fixing | |
* the height of element `.foo` —which is a full width and height cover image. | |
* | |
* iOS Resolution Quick Reference: http://www.iosres.com/ | |
*/ | |
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, | |
form, fieldset, input, p, blockquote, table, th, td, embed, object { | |
padding: 0; | |
margin: 0; | |
} | |
table { | |
border-collapse: collapse; | |
border-spacing: 0; | |
} | |
fieldset, img, abbr { |
<?php | |
// All stuff from wp-signup.php | |
// WordPress 4.1 | |
function selena_network_show_blog_form( $blogname = '', $blog_title = '', $errors = '' ) { | |
$current_site = get_current_site(); | |
// Blog name | |
echo '<div class="form-group">'; | |
if ( !is_subdomain_install() ) | |
echo '<label for="blogname" class="control-label">' . __('Site Name:') . '</label>'; |
<!-- Start the Loop. --> | |
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> | |
<div class="post"> | |
<h2> | |
<a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"> | |
<?php the_title(); ?> | |
</a> | |
</h2> | |
<small> |
{ | |
"auto_indent": true, | |
"auto_match_enabled": true, | |
"binary_file_patterns": | |
[ | |
"*.jpg", | |
"*.jpeg", | |
"*.png", | |
"*.gif", | |
"*.ttf", |
// Change number or products per row to 3 | |
add_filter('loop_shop_columns', 'loop_columns'); | |
if (!function_exists('loop_columns')) { | |
function loop_columns() { | |
return 3; // 3 products per row | |
} | |
} |
I hereby claim:
To claim this, I am signing this object:
function declOfNum(number, titles) { | |
cases = [2, 0, 1, 1, 1, 2]; | |
return titles[ (number%100>4 && number%100<20)? 2 : cases[(number%10<5)?number%10:5] ]; | |
} | |
declOfNum(count, ['найдена', 'найдено', 'найдены']); |
$(document).ready(function(){ | |
$.expr[":"].Contains = $.expr.createPseudo(function(arg) { | |
return function( elem ) { | |
return $(elem).text().toUpperCase().indexOf(arg.toUpperCase()) >= 0; | |
}; | |
}); | |
$('#search').val(''); | |
$('#search').keyup(function(e) { | |
var inputValue = $.trim($(this).val()).toLowerCase() | |
, $menuElements = $('.task-list a') |
var div = $("#mydiv"); | |
div.scrollTop(div.prop('scrollHeight')); |