- Keep a google colab session from disconnecting by either adding this snippet of code in the google console (via inspect element):
function ConnectButton(){
console.log("Connect pushed");
document.querySelector("#top-toolbar > colab-connectbutton").shadowRoot.querySelector("#connect").click()
}
setInterval(ConnectButton,60000);
-
Or by adding this snippet of code
while True:pass
in a cell after the cell you are currently running and running it in queue. -
To use the spiral error search
tcl
routine, first entersource common.tcl
. Then enter something like_pct_get_error_list {1 2 3 4} 2.71
where1
through4
are the parameter numbers and2.71
is the critical chi-squared. -
Critical values for common cases (from Avni 1979):
-
Large File Storage: from now on, I am going to store large files (> ~50 mb) outside of GitHub (e.g. in GoogleDrive) as well as locally in a directory outside of the repository they're used in (becaues GitHub will not allow files >100 mb). They will be kept under the local directory
Documents/GitHub/lfs
(wherelfs
stands for "large file storage").