Skip to content

Instantly share code, notes, and snippets.

7c7
< tls_certificate_path: "/etc/matrix-synapse/homeserver.tls.crt"
---
> tls_certificate_path: "/usr/src/synapse/demo-core.watcha.fr.tls.crt"
10c10
< tls_private_key_path: "/etc/matrix-synapse/homeserver.tls.key"
---
> tls_private_key_path: "/usr/src/synapse/demo-core.watcha.fr.tls.key"
13c13
< tls_dh_params_path: "/etc/matrix-synapse/homeserver.tls.dh"
7c7
< tls_certificate_path: "/etc/matrix-synapse/homeserver.tls.crt"
---
> tls_certificate_path: "/usr/src/synapse/demo-core.watcha.fr.tls.crt"
10c10
< tls_private_key_path: "/etc/matrix-synapse/homeserver.tls.key"
---
> tls_private_key_path: "/usr/src/synapse/demo-core.watcha.fr.tls.key"
13c13
< tls_dh_params_path: "/etc/matrix-synapse/homeserver.tls.dh"
@farialima
farialima / browse.py
Created February 9, 2017 13:12
text-based tree view of an IFC file using ifcopenshell (see https://github.com/IndustryFoundationClasses/Questions/issues/11 )
from __future__ import print_function
import sys
sys.path.append('ifcopenshell2x3')
import ifcopenshell
f = ifcopenshell.open(sys.args[1])
ids = []
def visit(inst, indent=''):
print(indent, inst)
from __future__ import print_function
import sys
sys.path.append('ifcopenshell2x3')
import ifcopenshell
f = ifcopenshell.open(sys.args[1])
ids = []
def visit(inst, indent=''):
print(indent, inst)