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
�"${SHELL}" <(curl -L micro.mamba.pm/install.sh) | |
source ~/.zshrc | |
# See https://docs.openwebui.com/getting-started/quick-start/ | |
micromamba create -n open-webui python=3.11 | |
micromamba shell init --shell zsh --root-prefix=~/.local/share/mamba | |
source ~/.zshrc | |
micromamba activate open-webui |
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
# download binary openssl packages from Impish builds | |
wget http://ports.ubuntu.com/pool/main/o/openssl/openssl_1.1.1f-1ubuntu2_arm64.deb | |
wget http://ports.ubuntu.com/pool/main/o/openssl/libssl-dev_1.1.1f-1ubuntu2_arm64.deb | |
wget http://ports.ubuntu.com/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_arm64.deb | |
# install downloaded binary packages | |
sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2_arm64.deb | |
sudo dpkg -i libssl-dev_1.1.1f-1ubuntu2_arm64.deb | |
sudo dpkg -i openssl_1.1.1f-1ubuntu2_arm64.deb |
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
sudo sed -i -E 's/#?PasswordAuthentication yes/PasswordAuthentication no/' /etc/ssh/sshd_config | |
sudo service ssh restart | |
sudo service sshd restart |
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 | |
set -x | |
if pgrep -x "socat" | |
then | |
exit 1 | |
fi | |
pkill socat |
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
// ==UserScript== | |
// @name Inflearn Student | |
// @namespace https://www.inflearn.com | |
// @version 0.1 | |
// @description Study Hard | |
// @author mirusu400 | |
// @match https://www.inflearn.com/course/*/unit/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=inflearn.com | |
// @grant none | |
// ==/UserScript== |
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
// Generated from http://json2ts.com | |
export interface Annotations { | |
'node.alpha.kubernetes.io/ttl': string; | |
'volumes.kubernetes.io/controller-managed-attach-detach': string; | |
} | |
export interface Labels { | |
'beta.kubernetes.io/arch': string; | |
'beta.kubernetes.io/instance-type': string; |
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) 2019, NVIDIA CORPORATION. All rights reserved. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, |
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 bash | |
set -o pipefail | |
set -o nounset | |
set -o errexit | |
source /etc/profile.d/bootstrap.sh | |
err_report() { | |
echo "Exited with error on line $1" |
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 | |
apt update -y | |
apt install -y sudo curl | |
curl -s -L https://nvidia.github.io/nvidia-container-runtime/gpgkey | \ | |
sudo apt-key add - | |
distribution=$(. /etc/os-release;echo $ID$VERSION_ID) | |
curl -s -L https://nvidia.github.io/nvidia-container-runtime/$distribution/nvidia-container-runtime.list | \ | |
sudo tee /etc/apt/sources.list.d/nvidia-container-runtime.list | |
apt update -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
import initKakaoSDK from './kakao.js'; | |
import initKakaoMap from './map.js'; | |
export { initKakaoSDK, initKakaoMap }; |
NewerOlder