Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@kokers
kokers / fiddle.css
Last active July 16, 2018 20:50
Click doesn't work after AJAX load - jQuery | Example data
.category-item-content {
display: none;
}
/* Demo blog styles */
body{
background:#f5f2f0;
padding:1px 15px;
font-family:"SF Mono", "Monaco", "Andale Mono", "Lucida Console", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace;
font-size:14px;

Keybase proof

I hereby claim:

  • I am kokers on github.
  • I am kokers (https://keybase.io/kokers) on keybase.
  • I have a public key ASDPRHqG6JMqwNdk7IgVbQ89TqdL3E626jaEA4pd3T-TbAo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am kokers on github.
  • I am kokers (https://keybase.io/kokers) on keybase.
  • I have a public key ASDPRHqG6JMqwNdk7IgVbQ89TqdL3E626jaEA4pd3T-TbAo

To claim this, I am signing this object:

@kokers
kokers / .htaccess
Last active January 30, 2018 21:51
Compression .htaccess
# Source: Part of HTML5 Boilerplate
# https://github.com/h5bp/html5-boilerplate/blob/master/dist/.htaccess#L724
<IfModule mod_deflate.c>
<IfModule mod_setenvif.c>
<IfModule mod_headers.c>
SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X{15}|~{15}|-{15})$ ^((gzip|deflate)\s*,?\s*)+|[X~-]{4,13}$ HAVE_Accept-Encoding
RequestHeader append Accept-Encoding "gzip,deflate" env=HAVE_Accept-Encoding
</IfModule>
@kokers
kokers / elementor-heading-color.php
Last active April 4, 2023 12:31
Elementor custom control - Section > Style > Typography | Heading (H1 ... H6) Color
/*
* @author Eliza "kokers" Witkowska - AIO collective
*
* Custom control for WordPress Elementor plugin
* inside Section > Style > Typography settings
* and Column > Style > Typography settings,
* for setting custom headings color (h1...h6).
*
* Current Heading Color control inside Elementor,
* works only for heading widget, and not h1...h6 tags.
security:
encoders:
AppBundle\Entity\User:
algorithm: pbkdf2
hash_algorithm: sha512
encode_as_base64: true
iterations: 1000
# http://symfony.com/doc/current/book/security.html#where-do-users-come-from-user-providers
providers:
our_db_provider:
@kokers
kokers / gallery.php
Last active April 16, 2021 15:56
ACF Pagination Gallery with categories