jq will sort (-S) the whole file (.) and compare STDOUT (<()) with diff
diff <(jq -S . A.json) <(jq -S . B.json)
| import numpy as np | |
| r = np.arange(1.0, 11.0, 0.1) | |
| n = len(r)**3 | |
| pts = np.empty((n, 3)) | |
| i = 0 | |
| for x in r: | |
| for y in r: | |
| for z in r: |
| # Updated to work with TF 1.4 | |
| # Working example for my blog post at: | |
| # http://danijar.com/variable-sequence-lengths-in-tensorflow/ | |
| import functools | |
| import sets | |
| import tensorflow as tf | |
| from tensorflow import nn | |
| def lazy_property(function): |
jq will sort (-S) the whole file (.) and compare STDOUT (<()) with diff
diff <(jq -S . A.json) <(jq -S . B.json)
Reference: http://www.rdkit.org/docs/Install.html#building-from-source
$ sudo apt-get install build-essential cmake libboost-all-dev
# NOTE: don't use a temporary dir, since we'll reference `$RDBASE` afterwards.| .PHONY: run | |
| export JULIA_PROJECT = $(PWD) | |
| JULIA = julia | |
| JULIAC_PATH = $(shell $(JULIA) --startup-file=no -E 'normpath(Base.find_package("PackageCompiler"), "..", "..", "juliac.jl")') | |
| RUN_JULIAC = $(JULIA) $(JULIAC_PATH) | |
| run: builddir/test.so | |
| python test.py |