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 | |
function traverse(){ | |
lang_list=($1) | |
ban=0 | |
for i in "${!lang_list[@]}" | |
do | |
ban=$((ban + 1)) | |
# echo "$ban" | |
for j in "${!lang_list[@]}" |
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
import numpy as np | |
import matplotlib.pyplot as plt | |
import json | |
with open("/path/to/state.txt") as f: | |
bookmarks = json.load(f) | |
bookmark = bookmarks[0] # We'll look at the first bookmark | |
eye = np.array(bookmark["cameraDef"]["position"]) |
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
forfiles /S /M * /C "cmd /c if @fsize GEQ 1073741824 echo @path > largefiles.txt |