Skip to content

Instantly share code, notes, and snippets.

View veraposeidon's full-sized avatar
🎯
Focusing

snxo veraposeidon

🎯
Focusing
View GitHub Profile
@veraposeidon
veraposeidon / raycast_get_chrome_cookie.ts
Created April 2, 2023 16:36
How to Use Raycast to Retrieve Specific Website Cookie Using Chrome Launcher and Chrome Remote Interface in JavaScript
@veraposeidon
veraposeidon / Brotli_Gzip_SimpleHTTPServer.py
Last active June 27, 2022 09:17
SImpleHTTPServer support brotli & gzip
#!/usr/bin/python
"""Simple HTTP Server.
This module builds on BaseHTTPServer by implementing the standard GET
and HEAD requests in a fairly straightforward manner.
"""
__version__ = "0.6"
__all__ = ["SimpleHTTPRequestHandler"]
@veraposeidon
veraposeidon / vis_model.py
Created March 14, 2019 08:00 — forked from qizhuli/vis_model.py
Visualise maskrcnn-benchmark models using pytorchviz.
# Set up custom environment before nearly anything else is imported
# NOTE: this should be the first import (no not reorder)
from maskrcnn_benchmark.utils.env import setup_environment # noqa F401 isort:skip
import argparse
import os
import torch
from maskrcnn_benchmark.config import cfg
from maskrcnn_benchmark.modeling.detector import build_detection_model