Skip to content

Instantly share code, notes, and snippets.

View fvdb's full-sized avatar

Frank van den Brink fvdb

View GitHub Profile
/**
* Checks if the textarea is valid
*/
isValid() {
const { node, maximum, textarea } = this;
const { length: inputLength } = textarea.value;
if (!node.hasAttribute('data-required')) return true;
try {
<?php
final class UselessUnixTimestampProvider
{
private $clock;
public function __construct(Clock $clock)
{
$this->clock = $clock;
}
@fvdb
fvdb / keybase.md
Created June 15, 2016 11:14
Keybase proof

Keybase proof

I hereby claim:

  • I am fvdb on github.
  • I am fvdb (https://keybase.io/fvdb) on keybase.
  • I have a public key whose fingerprint is 6571 A863 C07E AEFC 7316 F18B F6CB CF6C B657 D94D

To claim this, I am signing this object: