This file contains hidden or 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
| \documentclass[a4paper,10pt]{letter} | |
| \usepackage[utf8]{inputenc} | |
| \usepackage[freepin,crossmark]{ticket} | |
| \usepackage{graphicx} | |
| \unitlength=1mm | |
| \ticketSize{52}{78} | |
| \ticketNumbers{2}{3} | |
| \renewcommand{\ticketdefault}{ |
This file contains hidden or 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
| library(nat) | |
| library(jsonlite) | |
| library(float) | |
| #' Based on specification | |
| #' https://github.com/google/neuroglancer/tree/master/src/neuroglancer/datasource/precomputed | |
| # write mesh to single res precomputed format | |
| #meshes = read.neurons("../registration/dns_objs21_reg/") |
This file contains hidden or 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
| #!/usr/bin/env python3 | |
| """ | |
| Serialize a Python AST and save it as a pickle. | |
| Usage examples | |
| - From a file: $ python serialize_python_ast.py --input path/to/code.py --out ast.pkl | |
| - From stdin: cat code.py | python serialize_python_ast.py --out ast.pkl | |
| Output format (pickle) | |
| - Pickled Python `ast.AST` object (the root node of the parsed tree) |
OlderNewer