Skip to content

Instantly share code, notes, and snippets.

View rickstaa's full-sized avatar
🏠
Working from home

Rick Staa rickstaa

🏠
Working from home
View GitHub Profile
@rickstaa
rickstaa / debugger.vscode_d72d0e4c-49fd-47a8-9ef7-4b531ab69249.log
Created August 20, 2020 10:59
Debugpy logs (new version) - debugpy/issues/274
0 Starting Session:
{
"name": "Python: Current File",
"type": "python",
"request": "launch",
"program": "/home/ricks/Development/machine_learning_control_ws/src/sandbox/test_debugger.py",
"console": "integratedTerminal",
"logToFile": true,
"env": {
"PYDEVD_THREAD_DUMP_ON_WARN_EVALUATION_TIMEOUT": "true",
@rickstaa
rickstaa / deep_update python method
Last active June 10, 2021 08:50
Small gist that contains a deep_update python function
import collections
from gym.utils import colorize as gym_colorize
def colorize(string, color, bold=False, highlight=False):
"""Colorize a string.
.. seealso::
This function wraps the :meth:`gym.utils.colorize` function to make sure that it
@rickstaa
rickstaa / test.cpp
Last active August 12, 2023 07:26
Test Gist
#include <iostream>
int main() {
std::cout << "test" << std::endl;
return 0;
}