This file contains hidden or 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
| Arma virumque canō, Trōiae quī prīmus ab ōrīs | |
| Ītaliam, fātō profugus, Lāvīniaque vēnit | |
| lītora, multum ille et terrīs iactātus et altō | |
| vī superum saevae memorem Iūnōnis ob īram; | |
| multa quoque et bellō passus, dum conderet urbem, | |
| inferretque deōs Latiō, genus unde Latīnum, | |
| Albānīque patrēs, atque altae moenia Rōmae. | |
| Mūsa, mihī causās memorā, quō nūmine laesō, | |
| quidve dolēns, rēgīna deum tot volvere cāsūs |
This file contains hidden or 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
| // ==UserScript== | |
| // @name Google Colab Touch | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.2 | |
| // @description Clicks a button on the colab editor to keep it connected. | |
| // @author You | |
| // @match https://colab.research.google.com/* | |
| // @grant none | |
| // ==/UserScript== |
This file contains hidden or 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 | |
| def spherical_to_cartesian(theta, phi, r=None): | |
| """ | |
| Spherical to cartesian | |
| :param theta: value or array between 0 and 2*pi | |
| :param phi: value or array between 0 and pi | |
| :return: array or nx3 array | |
| """ | |
| if type(theta) is list: |
This file contains hidden or 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
| #pragma once | |
| #include <cstdio> | |
| #include <fstream> | |
| #include <iostream> | |
| #include <string> | |
| extern "C" { | |
| #include <libavcodec/avcodec.h> | |
| #include <libavformat/avformat.h> | |
| #include <libavutil/imgutils.h> |