Skip to content

Instantly share code, notes, and snippets.

View cdanis's full-sized avatar

Chris Danis cdanis

View GitHub Profile
@cdanis
cdanis / ktane-passwords.py
Last active July 16, 2020 23:16
Solves the 'password' puzzle in Keep Talking And Nobody Explodes
#!/usr/bin/env python3
"""
Solves the 'password' puzzle in Keep Talking And Nobody Explodes.
https://en.wikipedia.org/wiki/Keep_Talking_and_Nobody_Explodes
$ ktane-passwords ahiwx tpcri
The answer is WRITE 😅
$ ktane-passwords oglwqm oxanbe wvnrke
Multiple possible answers! 😬 ['large', 'world']
$ ktane-passwords oglwqm oxanbe wvnkex
@cdanis
cdanis / backup-r38-db.sh
Last active September 29, 2020 23:11
backup-r38-db.sh
#!/bin/bash
# Copyright © 2020 Chris Danis
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,

Keybase proof

I hereby claim:

  • I am cdanis on github.
  • I am cdanis (https://keybase.io/cdanis) on keybase.
  • I have a public key whose fingerprint is DCBB 674E DF60 05DC 06C5 ACCB 6248 8502 95F8 EEBF

To claim this, I am signing this object:

#!/bin/bash
#
# Start mosh-server, but first create a port redirection in the NAT
# router (with UPnP) and delete that redirection again just before
# mosh-server exits.
#
# Created: 20 Sep 2012
# Author: Bert Bos <bert@w3.org>
# original: https://www.mail-archive.com/mosh-devel@mit.edu/msg00103/mosh-server-upnp
# tweaked to reference /usr/bin/mosh-server directly