Skip to content

Instantly share code, notes, and snippets.

View joelbudu's full-sized avatar
:electron:

Joel Budu joelbudu

:electron:
View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@yasindagasan
yasindagasan / supervisely2coco.py
Last active March 20, 2021 14:00 — forked from caiofcm/supervisely2coco.py
Converting Supervisely output to COCO format (only detection in this version)
##
# Author: Caio Marcellos
# Email: caiocuritiba@gmail.com
##
import os
import numpy as np
import json
import glob
from datetime import datetime
from pathlib import Path
@probablyangg
probablyangg / nginx.conf
Last active November 17, 2021 11:27
nginx config for deploying streamlit apps from custom url + reverse proxy for port | part of dev-notes: https://gist.github.com/nglglhtr/561e987c1168c868e484f35f76f4c0fd
location /:CUSTOM-PATH/ {
proxy_pass http://127.0.0.1:<PORT>/:CUSTOM-PATH/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_buffering off;
proxy_http_version 1.1;
# Also requires websocket:
proxy_set_header Upgrade $http_upgrade;
@caiofcm
caiofcm / supervisely2coco.py
Last active June 30, 2023 23:18
Converting Supervisely output to COCO format (only detection in this version)
##
# Author: Caio Marcellos
# Email: caiocuritiba@gmail.com
##
import os
import numpy as np
import json
import glob
from datetime import datetime
from pathlib import Path
@JakeCowton
JakeCowton / supervisely_to_voc.py
Created November 12, 2019 18:38
Convert supervisely annotations to Pascal VOC
# git clone git@github.com:supervisely/supervisely.git
# cd supervisely
# pip install -e .
# cd supervisely_lib
from export.pascal_voc import save_project_as_pascal_voc_detection
from project.project import OpenMode, Project
save_project_as_pascal_voc_detection("/path/to/empty/output/folder",
Project("/path/to/root/of/downloaded/supervisely/folder",
@masudcsesust04
masudcsesust04 / components.md
Last active March 28, 2021 18:41
Twitter bootstrap HAML template

Table

%h1.page-header Listing users

.table-responsive
  %table.table.table-striped
    %thead
      %tr
        %th{width: '20%'} Name
        %th{width: '50%'} Email
@marc-hanheide
marc-hanheide / bag2csv.py
Last active May 30, 2024 06:37
convert ROS bag to cvs files
'''
This script saves each topic in a bagfile as a csv.
Accepts a filename as an optional argument. Operates on all bagfiles in current directory if no argument provided
Usage1 (for one bag file):
python bag2csv.py filename.bag
Usage 2 (for all bag files in current directory):
python bag2csv.py
@roachhd
roachhd / README.md
Last active June 30, 2024 15:34
Basics of BrainFuck

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

BrainFuck Programming Tutorial by: Katie

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

INTRODUCTION