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 / 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;
@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 / 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 / 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 / spread.js
Last active September 2, 2016 19:29
Medium: NodeList to Array #3
[...headlines].constructor
// => function Array() { [native code] }
@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 / querySelectorAll.js
Created September 2, 2016 19:14
Medium: NodeList to Array #1
const headlines = document.querySelectorAll("h2")
// You can check the type of an object by
// headlines.constructor
// => NodeList() { [native code] }
@grekko
grekko / trello-session-planner.js
Created August 26, 2016 13:50
Trello Session Planner in Trello
// SoCraTes Saturday Board
const boardId = '57c0027c35c4653ca5d1c29a';
const error = (errorMsg) => { asyncOutput(errorMsg); };
// Lists per Board
const listNames = [
"Hamburg",
"Hannover",
"Bremen",
"Berlin",
@grekko
grekko / keybase.md
Last active September 21, 2021 21:09
Keybase identity claim

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@grekko
grekko / .tmux.conf.local
Created April 1, 2016 10:32
My local tmux conf
# color settings
# http://www.drbunsen.org/the-text-triumvirate/
set -g default-terminal "screen-256color"
# Status bar
set -g window-status-format "#[fg=colour244,bg=colour234]#I#[fg=colour240]|#[fg=colour249]#W"
set -g window-status-current-format "#[fg=colour117,bg=colour31] [#I] #[fg=colour231,bold]#W "
# using C-q instead of C-b
set-option -g prefix C-q