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
# Install CUDA | |
# https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=22.04&target_type=deb_network | |
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.1-1_all.deb | |
sudo apt install ./cuda-keyring_1.1-1_all.deb | |
sudo apt-get update | |
sudo apt-get -y install cuda | |
rm cuda-keyring_1.1-1_all.deb | |
### Into ~/.bashrc | |
# Add NVCC to path |
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
#Include this at the top of your colab code | |
import os | |
if not os.path.exists('.mujoco_setup_complete'): | |
# Get the prereqs | |
!apt-get -qq update | |
!apt-get -qq install -y libosmesa6-dev libgl1-mesa-glx libglfw3 libgl1-mesa-dev libglew-dev patchelf | |
# Get Mujoco | |
!mkdir ~/.mujoco | |
!wget -q https://mujoco.org/download/mujoco210-linux-x86_64.tar.gz -O mujoco.tar.gz | |
!tar -zxf mujoco.tar.gz -C "$HOME/.mujoco" |
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
var QUERYSHEETNAME = "All"; | |
var QUERYSHEETRANGE = "All!A2:D"; | |
// Query String for Anilist GraphQl endpoint | |
// Retrieve id and english title | |
var query = ` | |
query ($searchString: String) { | |
Media(search: $searchString, type: ANIME){ | |
id | |
title { |
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
/** Nice and easy to understand... almost. The excessive use of var is really | |
* for no reason other than to be excessive and annoy a friend. - Adam Li | |
* This only transfers google files, you have to manually transfer other files | |
* It transfers everything if you have a google apps account and they allow it. | |
*/ | |
//This is the last part of the folder url | |
var folderId = "0000000"; | |
//email address of the future owner | |
var newOwner = "someotheruser@somedomain.com"; |