Skip to content

Instantly share code, notes, and snippets.

@francoisruty
francoisruty / nginx_proxy_google.conf
Created February 14, 2021 17:09
fruty_docker-outbound-restriction
user nginx;
worker_processes 8;
error_log syslog:server=unix:/dev/log warn;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
@francoisruty
francoisruty / test.py
Last active April 6, 2022 08:00
fruty_opencv-opengl-projection-matrix
import cv2
import numpy as np
import math
cx = 88 #principal point x coord
cy = 109 #principal point y coord
w = 178 #image width
h = 218 #image height
near = 10 #near plane
far = 20 #far plane