Skip to content

Instantly share code, notes, and snippets.

Simon Schürrle SitiSchu

Block or report user

Report or block SitiSchu

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am sitischu on github.
  • I am sitischu (https://keybase.io/sitischu) on keybase.
  • I have a public key ASBb62FP4j3FHWqYwi9pvfzl7jm9Gk9e257DlzDwrmi9uwo

To claim this, I am signing this object:

View index.js
'use strict';
const getLongCodeBlocks = msg =>
(msg.entities || [])
.filter(entity => entity.type == 'pre')
.filter(({ offset, length }) => msg.text
.slice(offset, offset + length)
.split(/\n/g)
.length > 10
);
You can’t perform that action at this time.