- Turn off Adblocks
๐
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
#!/usr/bin/bash | |
# Copyright (c) 2024 Ho Kim ([email protected]). All rights reserved. | |
# Use of this source code is governed by a GPL-3-style license that can be | |
# found in the LICENSE file. | |
# Prehibit errors | |
set -e -o pipefail | |
# Verbose | |
set -x |
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
#!./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 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 | |
# ๋ณผ๋ฅจ ๋๊ธฐ | |
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 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
--- | |
# conda env create -f '{url|path}' | |
name: opence | |
channels: | |
- nvidia | |
- pytorch | |
dependencies: | |
- python |
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
# ๊ฐ๋นก์น๋ค ์ VPN์ ๋ง์๋๋๊ฑฐ์ง? | |
# ํ์ง๋ง ์ฟ ๋ฒ๋คํฐ์ค์ ํจ๊ป๋ผ๋ฉด ์กฐ๊ธ์ ๋ฒํธ ์ ์์ด.. | |
# | |
# ์ฌ์ฉ๋ฒ: | |
# 1. ์๋ ์ฝ๋์์ ๋ค์ ๋ฌธ์์ด์ ์ฉ๋์ ๋ง๊ฒ ์นํ: __ADMIN_PASSWORD__, __LOADBALANCER_IP__ | |
# 2. ๋ฐฐํฌ ใฑใฑ | |
# | |
# ์ฃผ์์ฌํญ: | |
# 1. ์๋ ์ฝ๋๋ ์ฌ๋ฌ๋ฒ์ ํ ์คํธ์ ์์ญ๋ฒ์ ๋ณด์ ๊ฐํ๋ฅผ ํตํด์ผ ์ฌ๋ฌ๋ช ์ด ๋๋ ค์ฐ๊ธฐ์ ์ถฉ๋ถํ ๋ฏ. | |
# 2. ํนํ, ๊ด๋ฆฌ์ ๋น๋ฐ๋ฒํธ (HPW, SPW)์ Resource Limits๋ฅผ ์ฅ๋น ์ํฉ์ ๋ง๊ฒ ์ ์กฐ์ ํด์ฃผ๋๋ก ํ๋ค. |
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
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 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
# 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 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 | |
# 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 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
#!/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 |
NewerOlder