Skip to content

Instantly share code, notes, and snippets.

View ziozzang's full-sized avatar

Jioh L. Jung ziozzang

View GitHub Profile
@ziozzang
ziozzang / README.txt
Created April 29, 2024 07:33
Delta Merge
Code from : https://github.com/StableFluffy/EasyLLMFeaturePorter/blob/main/1-Click.ipynb
- Just converted into CLI
Run Like this.
```
python convert.py [informative_model_path] [base_model_path] [target_model_path] [output_path]
```
Params:
@ziozzang
ziozzang / Dockerfile
Created May 16, 2019 23:29
RHEL8 Mirrors
# For RHEL8
FROM registry.access.redhat.com/ubi8
# For RHEL7
FROM registry.access.redhat.com/rhel
RUN subscription-manager register --username="id_here" --password="pass_here" --auto-attach && \
subscription-manager refresh && \
yum install -y yum-utils createrepo
@ziozzang
ziozzang / esxi_trial_reset.sh
Created January 22, 2018 01:20
Automated ESXi Trial Reset
echo "0 2 * * * rm -r /etc/vmware/license.cfg && cp /etc/vmware/.#license.cfg /etc/vmware/license.cfg && /etc/init.d/vpxa restart" >> /var/spool/cron/crontabs/root
@ziozzang
ziozzang / README.md
Last active July 30, 2021 10:01
코로나 잔량 백신 검색 스크립트

코로나 백신 잔량 검색 스크립트

  • 네이버 맵 API를 사용 합니다.

  • 언제든지 동작 하지 않을수 있습니다.

  • 그냥 가져가서 쓰세요

  • 지정된 좌표 주변으로 최대 100개의 의료기관을 검색해서 잔량 백신을 검색해서 수량을 알려줍니다.

사용법

  • 파이썬 3 + requests에서 동작 합니다.
# RUN with
# curl -L https://gist.githubusercontent.com/ziozzang/30485cd1bb9eaf6334ef7a219bc0ac34/raw/0d73991d9c86f8a32387e37734d6d46eccb7532e/centos8-docker.sh | bash
systemctl disable --now firewalld
dnf install -y --nobest docker-ce
systemctl enable --now docker
curl -L "https://github.com/docker/compose/releases/download/1.25.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/bin/docker-compose
FROM kong:alpine
ENV KONG_PLUGINS=bundled,kong-spec-expose,kong-oidc,kong-oidc-auth
RUN luarocks install kong-oidc-auth kong-oidc
find . -maxdepth 1 -mindepth 1 -type d -exec tar czvf {}.tgz {} \;
@ziozzang
ziozzang / README.md
Created October 24, 2019 08:33 — forked from detiber/README.md
Using CFSSL as an external CA for kubeadm

CFSSL as an external CA for non-ha kubeadm intialized clusters

Using cfssl to Create an External CA Infrastructure

Install cfssl

# This requires an existing Go environment with GOPATH set
go get -u github.com/cloudflare/cfssl/cmd/...
@ziozzang
ziozzang / README.md
Created October 24, 2019 08:33 — forked from detiber/README.md
Using CFSSL as an external CA for kubeadm

CFSSL as an external CA for non-ha kubeadm intialized clusters

Using cfssl to Create an External CA Infrastructure

Install cfssl

# This requires an existing Go environment with GOPATH set
go get -u github.com/cloudflare/cfssl/cmd/...
systemctl stop firewalld
systemctl disable firewalld
systemctl unmask firewalld
yum install -y iptables-services
systemctl enable iptables
systemctl start iptables
sleep 3