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
#!/usr/bin/env bash | |
# Install jaxlib | |
sudo apt install g++ python3 python3-pip python python3-dev | |
pip install numpy scipy six wheel | |
BAZEL_VERSION=3.7.1 | |
BAZEL_EXECUTABLE=bazel-$BAZEL_VERSION-linux-arm64 | |
wget https://github.com/bazelbuild/bazel/releases/download/$BAZEL_VERSION/$BAZEL_EXECUTABLE | |
chmod +x $BAZEL_EXECUTABLE |
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
#!/usr/bin/env bash | |
# Assume: | |
# - mjkey.txt is in directory $MJKEYDIR | |
# Install MuJoCo | |
mkdir -p $HOME/.mujoco | |
wget https://www.roboti.us/download/mujoco200_linux.zip | |
unzip mujoco200_linux.zip -d $HOME/.mujoco | |
mv $HOME/.mujoco/mujoco200_linux $HOME/.mujoco/mujoco200 |
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
-- LR imports | |
local LrApplication = import("LrApplication") | |
local LrApplicationView = import("LrApplicationView") | |
local LrBinding = import("LrBinding") | |
local LrDevelopController = import("LrDevelopController") | |
local LrDialogs = import("LrDialogs") | |
local LrExportSession = import("LrExportSession") | |
local LrFileUtils = import("LrFileUtils") | |
local LrFunctionContext = import("LrFunctionContext") | |
local LrLogger = import("LrLogger") |
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
sudo apt-get update | |
sudo apt-get install \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
gnupg \ | |
lsb-release | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg | |
echo \ | |
"deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \ |
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
#!/usr/bin/env bash | |
if [ "$#" -ne 2 ]; then | |
echo "Usage: photo_dump.sh [SRC] [DST]" | |
fi | |
find $(realpath $1) -type f | grep -iE "(CR3|ARW|DNG|RAF|HEIC|JPG|JPEG|MOV|MP4)$" | while read SRC | |
do | |
DATE=`exiftool "$SRC" | grep "Create Date" | head -n 1 | tr -s " " | cut -d " " -f 4` | |
YEAR=`echo $DATE | cut -d ":" -f 1` |
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
"""Base interfaces and datatypes. | |
NOTES | |
- Agents are not, generally speaking, interchangeable and neither are | |
environments. | |
- Agents and environments likely need to know how to interpret each others' | |
inputs and outputs. | |
- Any notion of an API is a loose one (as evidenced by the number of `*args` and | |
`**kwargs` in `Protocol` signatures); this API serves a more minor ergonomic | |
role and provides some consistency. |
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
#!/usr/bin/env bash | |
# Assume: | |
# - mjkey.txt is in directory $MJKEYDIR | |
# - We have homebrew, xcode command-line toolsd | |
# Install MuJoCo | |
mkdir -p $HOME/.mujoco | |
wget https://www.roboti.us/download/mujoco200_macos.zip | |
unzip mujoco200_macos.zip -d $HOME/.mujoco |
OlderNewer