- Turn off Adblocks
This file contains 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
#!./app/kit/python/python | |
from concurrent.futures import ProcessPoolExecutor | |
from multiprocessing import cpu_count | |
import os | |
import tarfile | |
from nuscenes.utils.data_classes import LidarPointCloud | |
import open3d as o3d | |
from pxr import Usd, UsdGeom, Gf |
This file contains 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 | |
# 볼륨 끄기 | |
pactl set-sink-mute @DEFAULT_SINK@ true | |
# 볼륨 켜기 | |
pactl set-sink-mute @DEFAULT_SINK@ false | |
# 볼륨 50%로 조정 | |
pactl set-sink-volume @DEFAULT_SINK@ "50%" |
This file contains 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
--- | |
# conda env create -f '{url|path}' | |
name: opence | |
channels: | |
- nvidia | |
- pytorch | |
dependencies: | |
- python |
This file contains 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
# 개빡치네 왜 VPN을 막아두는거지? | |
# 하지만 쿠버네티스와 함께라면 조금은 버틸 수 있어.. | |
# | |
# 사용법: | |
# 1. 아래 코드에서 다음 문자열을 용도에 맞게 치환: __ADMIN_PASSWORD__, __LOADBALANCER_IP__ | |
# 2. 배포 ㄱㄱ | |
# | |
# 주의사항: | |
# 1. 아래 코드는 여러번의 테스트와 수십번의 보안 강화를 통해야 여러명이 돌려쓰기에 충분할듯. | |
# 2. 특히, 관리자 비밀번호 (HPW, SPW)와 Resource Limits를 장비 상황에 맞게 잘 조절해주도록 한다. |
This file contains 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
podman run --name isaac-sim --entrypoint bash -it --device nvidia.com/gpu=all -e "ACCEPT_EULA=Y" --rm --network=host \ | |
-v /tmp/.X11-unix:/tmp/.X11-unix \ | |
-e DISPLAY \ | |
-v ~/docker/isaac-sim/cache/kit:/isaac-sim/kit/cache/Kit:rw \ | |
-v ~/docker/isaac-sim/cache/ov:/root/.cache/ov:rw \ | |
-v ~/docker/isaac-sim/cache/pip:/root/.cache/pip:rw \ | |
-v ~/docker/isaac-sim/cache/glcache:/root/.cache/nvidia/GLCache:rw \ | |
-v ~/docker/isaac-sim/cache/computecache:/root/.nv/ComputeCache:rw \ | |
-v ~/docker/isaac-sim/logs:/root/.nvidia-omniverse/logs:rw \ | |
-v ~/docker/isaac-sim/data:/root/.local/share/ov/data:rw \ |
This file contains 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
# Copyright (c) 2023 Ho Kim ([email protected]). All rights reserved. | |
# Configure environment variables | |
ARG ROCKYLINUX_VERSION="8" | |
# Be ready for serving | |
FROM "quay.io/rockylinux/rockylinux:${ROCKYLINUX_VERSION}" as base | |
# Install desktop environment dependencies | |
RUN dnf install -y \ |
This file contains 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 | |
# Copyright (c) 2023 Ho Kim ([email protected]). All rights reserved. | |
# Install X11VNC | |
docker run -d \ | |
--name x11vnc \ | |
--restart always \ | |
--net host \ | |
-e DISPLAY=":0" \ | |
-e X11VNC_ARGS="-cursor most -noscr -nowcr -nowf -noxdamage -auth /root/.Xauthority" \ |
This file contains 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
#!/usr/bin/env | |
# Copyright (c) 2022 Ho Kim ([email protected]). All rights reserved. | |
# Use of this source code is governed by a MIT license. | |
# define a macro function | |
function interfaces_do() { | |
# get all ethernet interfaces | |
declare -a INTERFACES_ALL=$(show interfaces status | grep -Po '^ *Ethernet\K(\d+)') | |
# get command line arguments |
This file contains 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
apt-get update && apt-get install gcc make dkms apt-utils pciutils -y | |
wget https://www.mellanox.com/downloads/MFT/mft-4.21.0-99-x86_64-deb.tgz | |
tar xf ./mft-4.21.0-99-x86_64-deb.tgz | |
pushd mft-4.21.0-99-x86_64-deb | |
./install.sh | |
popd | |
rm mft-4.21.0-99-x86_64-deb* |
NewerOlder