Skip to content

Instantly share code, notes, and snippets.

View vse's full-sized avatar

Volker Eichhorn vse

  • systems / data / layers
  • Hamburg
View GitHub Profile
@vse
vse / gist:e6ab02db5c7f346d9d07
Created March 21, 2015 22:19
log to a file
import logging
logging.basicConfig(level=logging.DEBUG, filename='/tmp/test.log')
log = logging.getLogger()
log.info("info")
log.debug("debug")
log.error("error")
@vse
vse / _.md
Created July 1, 2014 23:54
LFA
@vse
vse / _.md
Created June 30, 2014 17:44
LFA
@vse
vse / cbdialog.sh
Last active March 15, 2021 02:38
"say" the chatbot dialog from
#!/bin/sh
# chatbot dialog from https://web.archive.org/web/20130210145908/http://www.yiransheng.com/2010/03/bot
# use any voice you like from this list of voices: https://gist.github.com/mculp/4b95752e25c456d425c6
# have fun
a1="say -v Alex"
a2="say -v Victoria"
$a1 "You like the movie Matrix?"