Skip to content

Instantly share code, notes, and snippets.

View jfilter's full-sized avatar

Johannes Filter jfilter

View GitHub Profile
@jfilter
jfilter / idun.md
Last active December 6, 2018 15:37
Working with Idun and other HPI Servers

Working with Idun

For all, replace $PASSWORD with your password, and Johannes.Filter with your name.

0. SSH config

Host hpi
	hostname 141.89.225.148
  	user johannes.filter
@jfilter
jfilter / Tunnel SSH with additional password prompt.txt
Created October 31, 2018 18:35
Tunnel SSH with additional password prompt
#!/usr/bin/expect -f
set timeout -1
spawn -ignore HUP ssh -N -f -L localhost:8888:localhost:8888 <some ssh connection>
expect "<this depends on the promp> password:"
send "mypassword\r"
interact
@jfilter
jfilter / ft_wiki_preproc.py
Last active May 29, 2018 22:54 — forked from bittlingmayer/ft_wiki_preproc.py
fastText pre-trained vectors preprocessing [moved to ftio.wiki.preproc - pip install ftio / https://github.com/SignalN/ftio]
# Taken from: https://gist.github.com/bittlingmayer/7139a6a75ba0dbbc3a06325394ae3a13
# See https://github.com/facebookresearch/fastText/blob/master/get-wikimedia.sh
#
# From https://github.com/facebookresearch/fastText/issues/161:
#
# We now have a script called 'get-wikimedia.sh', that you can use to download and
# process a recent wikipedia dump of any language. This script applies the preprocessing
# we used to create the published word vectors.
#

Keybase proof

I hereby claim:

  • I am jfilter on github.
  • I am filter (https://keybase.io/filter) on keybase.
  • I have a public key whose fingerprint is 49DC D9DB 8D9D A7EC 35B8 C38E B1D6 1092 C8C9 829D

To claim this, I am signing this object:

cat ../data/messages.json | jq '.objects[] | select(.id==81684)'