This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import argparse | |
| import concurrent.futures | |
| import gc | |
| import numpy as np | |
| import open3d as o3d | |
| from scipy.signal import find_peaks | |
| from tqdm import tqdm | |
| import laspy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://archive.nyu.edu/bitstream/2451/44309/3/abc_0000_step_v00.7z | |
| https://archive.nyu.edu/bitstream/2451/44310/3/abc_0001_step_v00.7z | |
| https://archive.nyu.edu/bitstream/2451/44318/3/abc_0002_step_v00.7z | |
| https://archive.nyu.edu/bitstream/2451/44319/3/abc_0003_step_v00.7z | |
| https://archive.nyu.edu/bitstream/2451/44320/3/abc_0004_step_v00.7z | |
| https://archive.nyu.edu/bitstream/2451/44321/3/abc_0005_step_v00.7z | |
| https://archive.nyu.edu/bitstream/2451/44322/3/abc_0006_step_v00.7z | |
| https://archive.nyu.edu/bitstream/2451/44323/3/abc_0007_step_v00.7z | |
| https://archive.nyu.edu/bitstream/2451/44324/3/abc_0008_step_v00.7z | |
| https://archive.nyu.edu/bitstream/2451/44325/3/abc_0009_step_v00.7z |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| \begingroup | |
| % \setlength{\tabcolsep}{4pt} % Reduce column spacing for this table only | |
| \renewcommand{\arraystretch}{0.8} | |
| \footnotesize % Reduce font size for this table only | |
| \begin{center} | |
| \begin{longtable}{ccccccccc} | |
| \caption{A Styled Longtable Example} \\ | |
| \toprule | |
| \textbf{Index} & \textbf{Reference} & \textbf{Scenarios} & \textbf{Phase} & \textbf{Application} & \textbf{Data Source} & \textbf{Method} & \textbf{Target} & \textbf{Storage} \\ | |
| \midrule |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| FLAG_FILE="/tmp/startup_script_executed" | |
| if [ ! -f "$FLAG_FILE" ]; then | |
| # Your commands here | |
| echo "Running startup commands..." | |
| # Example: Start a new tmux session with specific windows | |
| tmux new-session -d -s my_session |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import bpy | |
| import threading | |
| import uvicorn | |
| from fastapi import FastAPI | |
| # Define the FastAPI application | |
| app = FastAPI() | |
| @app.get("/") | |
| def read_root(): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function getAllIndexes(string, texts) { | |
| const results = []; | |
| texts.forEach(text => { | |
| const regex = new RegExp(text, 'gi'); | |
| let match; | |
| while ((match = regex.exec(string)) !== null) { | |
| const startIndex = match.index; | |
| const endIndex = match.index + text.length - 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import cv2 | |
| from pycocotools.coco import COCO | |
| from tqdm import tqdm | |
| import numpy as np | |
| import os | |
| import os.path as osp | |
| import shapely | |
| from copy import deepcopy | |
| import json | |
| import shutil |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import numpy as np | |
| import cv2 | |
| import random | |
| import math | |
| from shapely import LineString | |
| width, height = None, None | |
| def line_segments_intersection(l1, l2): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import cairo | |
| import numpy as np | |
| import math | |
| def cb(x1, y1, x4, y4, xc, yc): | |
| ax = x1 - xc | |
| ay = y1 - yc | |
| bx = x4 - xc | |
| by = y4 - yc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import bpy | |
| from os.path import join | |
| from bpy import context | |
| import mathutils | |
| import math | |
| import builtins as __builtin__ | |
| import copy | |
| def console_print(*args, **kwargs): |
NewerOlder