Skip to content

Instantly share code, notes, and snippets.

# Let me add an example.
# So I have set up two handlers:
# 1.
```
command1_handler = ConversationHandler(
entry_points=[CommandHandler(‘command1’, command1)],
states={
COMMAND1_STATE1: [
<?xml version="1.0" encoding="UTF-8"?>
<Document xmlns="urn:AcceptorAuthorisationRequestV02.1">
<AccptrAuthstnReq>
<Hdr>
<MsgFctn>AUTQ</MsgFctn>
<PrtcolVrsn>2.0</PrtcolVrsn>
</Hdr>
<AuthstnReq>
<Envt>
<Acqrr>
failed to parse json: {"changed": true, "end": "2014-01-30 15:49:12.997102", "stdout": "# 'clean-ocaml' target is only for special cases when you need to clean\n# ocaml only.\n# './rebar clean' in the root should clean everything including ocaml!\n# For that, every app should have a hook on 'rebar clean' as well.\n# Do not forget the hook!\nfor ocamld in deps/ocaml-jskitlib deps/ocaml-html-sanitizer deps/ocaml-thrift deps/ocaml_erlang_port/ocaml-erlang-port deps/echo_url_parser/echo-url-parser deps/uid_mapper/uid-mapper deps/echo_html_sanitizer/echo-html-sanitizer deps/echo_model/echo-model deps/eql/echo-query apps/stream_server/ocaml_src apps/echo_view_router/echo-view-router; do \\\n\t\tif [ -d $ocamld ]; then \\\n\t\t\tmake -C $ocamld clean || exit 1; \\\n\t\tfi \\\n\tdone\nmake[1]: Entering directory `/echo/deps/ocaml-jskitlib'\nrm -f *.cm* *.[ao]\nrm -f jsk_js_escape.ml\nrm -f json-esc-gen\nmake[1]: Leaving directory `/echo/deps/ocaml-jskitlib'\nmake[1]: Entering directory `/echo/deps/ocaml-html-sanitize
@lukyanov
lukyanov / gist:3853975
Created October 8, 2012 18:10
New key
OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012
debug1: Reading configuration data /home/snaky/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to github.com [207.97.227.239] port 22.
debug1: Connection established.
debug3: Incorrect RSA1 identifier
debug3: Could not load "/home/snaky/.ssh/id_rsa" as a RSA1 public key
debug1: identity file /home/snaky/.ssh/id_rsa type 1
@lukyanov
lukyanov / failure_path
Created October 8, 2012 14:06
SSH connect issue
[snaky@snaky echo-url-parser]$ ssh -vvvT [email protected]
OpenSSH_5.3p1, OpenSSL 1.0.0-fips 29 Mar 2010
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to github.com [207.97.227.239] port 22.
debug1: Connection established.
debug1: identity file /home/snaky/.ssh/identity type -1
debug3: Not a RSA1 key file /home/snaky/.ssh/id_rsa.
debug2: key_type_from_name: unknown key type '-----BEGIN'