Skip to content

Instantly share code, notes, and snippets.

View grekko's full-sized avatar
🙃
wAt

Gregory Igelmund grekko

🙃
wAt
View GitHub Profile
@grekko
grekko / array-from.js
Created September 2, 2016 19:25
Medium: NodeList to Array #2
Array.from(headlines).constructor
// => function Array() { [native code] }
@grekko
grekko / spread.js
Last active September 2, 2016 19:29
Medium: NodeList to Array #3
[...headlines].constructor
// => function Array() { [native code] }
@grekko
grekko / array-prototype-slice.js
Created September 2, 2016 19:29
Medium: NodeList to Array
Array.prototype.slice.call(headlines).constructor
// => function Array() { [native code] }
@grekko
grekko / error.md
Last active February 15, 2017 14:50
Mailpile DEV: Error when creating GPG keypair

I am using the docker dev setup (slightly updated Dockerfile and docker-compose.yml).

When I try to generate a GPG keypair (via the web UI) I can observe the following error in the mailpile process:

Traceback (most recent call last):sage
mailpile_dev |   File "/Mailpile/mailpile/crypto/gpgi.py", line 1514, in run
mailpile_dev |     gpg.chat(self.gpg_args(), self.run_script, self.main_script)
mailpile_dev |   File "/Mailpile/mailpile/crypto/gpgi.py", line 1303, in chat
@grekko
grekko / ancestor.po
Created February 13, 2019 16:31
Problematic git merge w/ empty source comments
msgid ""
msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: POEditor.com\n"
"Project-Id-Version: Default\n"
"Language: de\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
@grekko
grekko / maintenance.html
Created January 21, 2021 07:13
kr maintenance
<html>
<head>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'>
<meta content='width=device-width, initial-scale=1.0' name='viewport'>
<title>Krautreporter ist gleich zurück</title>
<style>
body {
font-family: 'Noto Serif', serif;
font-size: 1.4em;
text-align: center;