Skip to content

Instantly share code, notes, and snippets.

@xaviergmail
xaviergmail / exceptiongroups.py
Last active Nov 9, 2022
pytest exceptiongroups helpers
View exceptiongroups.py
from typing import Callable, List, Optional, Tuple, Type, TypeVar, Union
from ._compat import BaseExceptionGroup
E = TypeVar("E", bound=BaseException)
ExceptionMatch = Union[
Type[E],
Tuple[Type[E], ...],
Callable[[E], bool],
]
@xaviergmail
xaviergmail / launch.json
Created Jan 26, 2021
VSCode node debug current file
View launch.json
// Create a folder called .vscode and save this file in there as launch.json
// It should look like this: project_directory/.vscode/launch.json
{
"version": "0.2.0",
"configurations": [
{
"type": "pwa-node",
"request": "launch",
"name": "Launch Current Opened File",
"skipFiles": ["<node_internals>/**"],
@xaviergmail
xaviergmail / PORTFOLIO.md
Created Jul 28, 2020
I moved away from GitHub!
View PORTFOLIO.md

I moved away from GitHub!

Find me here: https://csigit.csiservers.com/xavier

Instead, I use my self-hosted GitLab community edition. I have over 125 repositories stored there. Most repositories including my games are private. If you are an employer and would like to request read-only access to my proudest projects, please contact me in any way you see fit. My email is xavier.bergeron<at>forgerstudios.com