- Conda environment
- Python 3.9.0
- TensorFlow 2.7
- Bazel 3.7.2
- Protobuf 3.9.2 (must be compatible with the version of TensorFlow-built protobuf or protoc)
| { | |
| "files.autoSave": "afterDelay", | |
| "editor.formatOnSave": true, | |
| "workbench.iconTheme": "material-icon-theme", | |
| "git.autofetch": true, | |
| "[json]": { | |
| "editor.defaultFormatter": "vscode.json-language-features" | |
| }, | |
| "git.enableSmartCommit": true, |
| % usage: \usepackage{color_tufte} | |
| \ProvidesPackage{color-tufte}[2021/03/11 Color Tufte] | |
| %%%%%%%%%%%%%%%% | |
| % Requirements % | |
| %%%%%%%%%%%%%%%% | |
| \RequirePackage{xcolor} | |
| \RequirePackage{graphicx} |
| % LaTeX source for a tufte-book modified by Rangsiman Ketkaew | |
| % Multiple languages support: Thai and English | |
| \documentclass[fullbook,nohyper,nobib,justified,titlepage]{tufte-book} | |
| \usepackage{nameref} | |
| \ifxetex | |
| \newcommand{\textls}[2][5]{% | |
| \begingroup\addfontfeatures{LetterSpace=#1}#2\endgroup | |
| } |
| 1. Select representation like | |
| 2. In display setting, turn on shadows, Amb, Occl., DOF, ... | |
| 3. Render image using Tachyon with, i.e., following command | |
| "/home/modules/vmd/1.9.3/lib/tachyon_LINUXAMD64" -aasamples 12 vmdscene.dat -format BMP image.bmp -res 4096 4096' | |
| You can incease pixels, i.e. change 4096 to 8192, to produce a higher resolution image. |
| do i = 1, N | |
| read(10,*) atom(i,1), coa(i,2:4) | |
| end do |
| import re | |
| coord_pattern = re.compile( | |
| r"(\w+)\s+([0-9\-\+\.*^eEdD]+)\s+([0-9\-\+\.*^eEdD]+)\s+" | |
| r"([0-9\-\+\.*^eEdD]+)") |
| ##################################################### | |
| #### FIX X Server for Displaying | |
| #### https://github.com/microsoft/WSL/issues/4106#issuecomment-501532834 | |
| #### | |
| #### run 'cat /etc/resolv.conf' | |
| #### Then set DISPLAY to an IP address of the nameserver | |
| export DISPLAY=172.19.112.1:0 | |
| ##################################################### |
| aws ec2 create-launch-template --region ap-northeast-1 --launch-template-name TemplateForSpot --version-description TemplateForSpotVersion1 --launch-template-data "{\"NetworkInterfaces\":[{\"DeviceIndex\":0,\"SubnetId\":\"subnet-93d49ac8\"}],\"ImageId\":\"ami-06cd52961ce9f0d85\",\"InstanceType\":\"m4.large\",\"TagSpecifications\":[{\"ResourceType\":\"instance\",\"Tags\":[{\"Key\":\"Name\",\"Value\":\"EC2SpotImmersionDay\"}]}]}" |