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
/* People’s names. */ | |
span > a[data-hovercard^="/ajax/hovercard/user.php?"], /* poster and shares */ | |
.UFICommentActorName, /* comments */ | |
.UFICommentBody .profileLink /* inside comments */ | |
{ | |
background-color: currentColor; | |
} | |
/* People’s avatars. */ | |
a[data-hovercard^="/ajax/hovercard/user.php?"] > div > img._s0, /* poster */ |
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 | |
declare(strict_types=1); | |
namespace Zegnat\Utils; | |
use Interop\Http\Factory\ServerRequestFactoryInterface; | |
use Interop\Http\Factory\StreamFactoryInterface; | |
use Psr\Http\Message\ServerRequestInterface; |
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 | |
namespace Zegnat\Omnimail; | |
use Omnimail\EmailSenderInterface; | |
use Omnimail\EmailInterface; | |
use Psr\Log\LoggerInterface; | |
use Psr\Log\NullLogger; | |
class Mail implements EmailSenderInterface | |
{ |
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
CodeMirror.defineSimpleMode('human_resource_machine', { | |
// The start state contains the rules that are intially used | |
start: [ | |
// Possible header. | |
{ | |
regex: /^-- HUMAN RESOURCE MACHINE PROGRAM --$/, | |
token: 'string' | |
}, | |
// Comment definition. | |
{ |
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
/* Show flags on links to a different language than your entry: */ | |
.h-entry:not([lang|="nl"]) a[hreflang|="nl"]::after { content: ' 🇳🇱'; } | |
.h-entry:not([lang|="en"]) a[hreflang|="en"]::after { content: ' 🇬🇧'; } | |
/* You can overwrite on a regional basis: */ | |
.h-entry:not([lang|="en"]) a[hreflang="en-US"]::after { content: ' 🇺🇸'; } | |
/* Then remove flags for your default language: */ | |
.h-entry:not([lang]) a[hreflang|="en"]::after { content: none; } |
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
Restults from https://kartikprabhu.com/static/demo/selection-encodeURI.html on Windows 10 Pro. | |
--- | |
Internet Explorer 11 | |
Version: 11.576.14373.0 | |
non-breaking space? Let's try UTF non-breaking space in decimal or non-breaking space in hex? | |
non-breaking%20space?%20Let's%20try%20UTF%20non-breaking%20space%20in%20decimal%20or%20non-breaking%20space%20in%20hex? |
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 | |
namespace Zegnat; | |
class QBool | |
{ | |
public $chance; | |
public $scale; | |
public function __construct($chance) |
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
@@ -70,16 +70,16 @@ | |
}); | |
// enter key submits form | |
- $items.on('enterKeyDown', function onEnterKeyDown(e) { | |
+ $widget.on('enterKeyDown', function onEnterKeyDown(e) { | |
$form.submit(); | |
}); | |
// spacebar triggers 'check' event |
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
$('.my_answers').each(function(){if(/(\d+), \d+, \1\)/.test(this.getAttribute('onclick')))this.style.backgroundColor='green'}); |
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
{ | |
"$schema": "http:\/\/json-schema.org\/draft-04\/schema#", | |
"definitions": { | |
"filter": { | |
"oneOf": [ | |
{ | |
"type": "object", | |
"properties": { | |
"field": { | |
"type": "string", |