This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# NOTE: On WSL, if you are using this on a mounted NTFS volume, you may need to | |
# make a soft-link to somewhere on the WSL file system, because NTFS doesn't | |
# play well with PG ownership/permission requirements. | |
# | |
# For example: | |
# ```bash | |
# ln -s ~/.virtualenvs/example.pgdata/ .data/pgdata |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading: | |
Loading: 0 packages loaded | |
Analyzing: target //:server (1 packages loaded, 0 targets configured) | |
INFO: Analyzed target //:server (1 packages loaded, 4 targets configured). | |
INFO: Found 1 target... | |
[0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt | |
Target //:server up-to-date: | |
bazel-bin/server | |
INFO: Elapsed time: 0.667s, Critical Path: 0.08s | |
INFO: 0 processes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading: | |
Loading: 0 packages loaded | |
Analyzing: target //:server (1 packages loaded, 0 targets configured) | |
INFO: Analyzed target //:server (1 packages loaded, 2 targets configured). | |
INFO: Found 1 target... | |
[0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt | |
Target //:server up-to-date: | |
bazel-bin/server | |
INFO: Elapsed time: 0.461s, Critical Path: 0.03s | |
INFO: 0 processes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading: | |
Loading: 0 packages loaded | |
Analyzing: target //src/py/ccxtaas:ccxtaas_server (0 packages loaded, 0 targets configured) | |
INFO: Analyzed target //src/py/ccxtaas:ccxtaas_server (0 packages loaded, 0 targets configured). | |
INFO: Found 1 target... | |
[0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt | |
Target //src/py/ccxtaas:ccxtaas_server up-to-date: | |
bazel-bin/src/py/ccxtaas/ccxtaas_server | |
INFO: Elapsed time: 0.181s, Critical Path: 0.00s | |
INFO: 0 processes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading: | |
Loading: 0 packages loaded | |
Analyzing: target //src/py/ccxtaas:ccxtaas_server (0 packages loaded, 0 targets configured) | |
INFO: Analyzed target //src/py/ccxtaas:ccxtaas_server (0 packages loaded, 0 targets configured). | |
INFO: Found 1 target... | |
[0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt | |
Target //src/py/ccxtaas:ccxtaas_server up-to-date: | |
bazel-bin/src/py/ccxtaas/ccxtaas_server | |
INFO: Elapsed time: 0.240s, Critical Path: 0.00s | |
INFO: 0 processes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/home/realz/.cache/bazel/_bazel_realz/ba07d261e7ea15eccc19fa91063f325c/execroot/__main__/bazel-out/k8-fastbuild/bin/src/py/ccxtaas/ccxtaas_server.runfiles/pypi__enum34_1_1_6/enum/__init__.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const {spawn} = require('child_process'); | |
const readline = require('readline'); | |
const ls = spawn('ls', ['-lh', '/usr']); | |
const rl = readline.createInterface({ | |
input: ls.stdout | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
04aeb0f40227352dfed145c16d6bdc9009f9d6d27ad94ae52f31d8f90ad24341eb337ba52d090819e0662ee9d4a4aef38c506880b2a4dca157e22fc78dd937001c;blevok |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from collections import defaultdict | |
import copy | |
vertices = [] | |
triangles = [] | |
# map {(old vertex id, new material_id) => new vertex id} | |
new_vertex_mappings = {} |
NewerOlder