I hereby claim:
- I am DavyLandman on github.
- I am davylandman (https://keybase.io/davylandman) on keybase.
- I have a public key whose fingerprint is 49D1 473B AAB8 8188 A2BA 8705 D40E 418E 10BE 143C
To claim this, I am signing this object:
var net = require('net'); | |
net.createServer(httpsSshSwitch).listen(443); | |
// if the first byte is 22, it is a https handshake, | |
// so redirect it to the actual https server (running on port 8443) | |
// else redirect it to the ssh instance. | |
// | |
// some ssh clients wait for the server to send the first welcome message | |
// so if we have not seen any data for 2 seconds, assume it is a ssh connection |
package main | |
import ( | |
"net" | |
"log" | |
"time" | |
) | |
var noDeadline = time.Time{} |
# It uses the pdf meta data to rename the file to the title of the pdf | |
# on osx it requires poppler installed: brew install poppler | |
find . -type f -name "*.pdf" -exec sh -c 'mv "$0" "$(pdfinfo $0 | sed -n "/^Title/ s/Title:\(.*\)/\1.pdf/p" | sed "s/^[ \t]*//" | sed -e "s/[^A-Za-z0-9._-]/_/g")"' {} \; |
I hereby claim:
To claim this, I am signing this object:
[O67KX] 2015/04/14 21:56:53.779665 main.go:398: INFO: syncthing v0.10.30 (go1.4.2 linux-arm default) builduser@leming 2015-03-29 07:46:44 UTC | |
[O67KX] 2015/04/14 21:56:53.780569 main.go:399: INFO: My ID: --- | |
[O67KX] 2015/04/14 21:56:54.612056 progressemitter.go:90: DEBUG: progress emitter: updated interval 5s | |
[O67KX] 2015/04/14 21:56:54.613151 progressemitter.go:57: DEBUG: progress emitter: timer - looking after 0 | |
[O67KX] 2015/04/14 21:56:54.613415 progressemitter.go:73: DEBUG: progress emitter: nothing new | |
[O67KX] 2015/04/14 21:57:08.220194 main.go:665: INFO: Starting web GUI on http://0.0.0.0:8384/ | |
[O67KX] 2015/04/14 21:57:14.601994 model.go:414: DEBUG: IDX(in): --- "Davy-Documents": 0 files | |
[O67KX] 2015/04/14 21:57:14.612013 model.go:414: DEBUG: IDX(in): --- "Davy-Pictures": 0 files | |
[O67KX] 2015/04/14 21:57:14.627633 model.go:414: DEBUG: IDX(in): --- "davy-camera": 0 files | |
[O67KX] 2015/04/14 21:57:14.637224 main.go:916: INFO: Starting local discovery announcements |