Skip to content

Instantly share code, notes, and snippets.

View HoKim98's full-sized avatar
๐Ÿ™‚
Arch Linux + K8S + Rust + OSS

Ho Kim HoKim98

๐Ÿ™‚
Arch Linux + K8S + Rust + OSS
View GitHub Profile
@HoKim98
HoKim98 / install-novnc.sh
Last active April 10, 2023 06:45
Install noVNC with docker
#!/bin/bash
# Copyright (c) 2023 Ho Kim (ho.kim@ulagbulag.io). 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" \
@HoKim98
HoKim98 / .sonic_aliases
Created October 17, 2022 08:50
SONiC Utilities
#!/usr/bin/env
# Copyright (c) 2022 Ho Kim (ho.kim@ulagbulag.io). 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
@HoKim98
HoKim98 / install.sh
Created October 13, 2022 07:40
Install Mellanox MFT
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*
@HoKim98
HoKim98 / manual.md
Created February 20, 2021 23:18
# SmartX mini

Lab: Clustering

Rook ์„ค์น˜ ์ค€๋น„

๋น„์–ด์žˆ๋Š” ๋””๋ฐ”์ด์Šค ํ˜น์€ ํŒŒํ‹ฐ์…˜์ด ์ตœ์†Œ ํ•˜๋‚˜๊ฐ€ ์กด์žฌํ•ด์•ผ ํ•œ๋‹ค.

sudo cfdisk /dev/sdX
@HoKim98
HoKim98 / install.sh
Last active June 2, 2022 18:36
[Ubuntu] OpenVSLAM automatic installation script
#!/bin/bash
cd ~/Desktop
# ---------------------------
## 0. Requirements
# ---------------------------
sudo apt-get update
sudo apt-get install -y build-essential git pkg-config cmake make \
gcc curl wget unzip \
#!/bin/bash
# Fix: League of Legends 9.10 Crash after champ select
# Reddit: https://www.reddit.com/r/leagueoflinux/comments/bpjxg0/a_proofofconcept_hack_makes_post910_playable_again/
# WineHQ: https://bugs.winehq.org/show_bug.cgi?id=47198
# Assert no files *here*
PWD=`pwd`
if [ "$(ls -al | wc -l)" -gt "4" ]
then
echo "Please make current directory clean (no files)"