Skip to content

Instantly share code, notes, and snippets.

View CHIP0K's full-sized avatar
🏠
Working from home

Ihor CHIP0K

🏠
Working from home
View GitHub Profile
@CHIP0K
CHIP0K / README.md
Last active May 20, 2025 11:42
k3s cluster demo

K3s кластер deмо

Оточення

# master
k3s-node-fra1-01 pub_net: eth0:164.92.228.17 priv_net: eth1:10.114.0.97
# workers
k3s-node-fra1-02 pub_net: eth0:142.93.162.154 priv_net: eth1:10.114.0.94
k3s-node-fra1-03 pub_net: eth0:165.22.19.3 priv_net: eth1:10.114.0.95
@olya-gif
olya-gif / task_1.py
Last active April 4, 2023 08:03
less_49 practik job 12
want = float(input("Яку суму ви хочете отримати? "))
have = float(input("Яку суму ви маєте? "))
suma = have
year = 0
while suma <= want:
suma = suma + 0.25 * suma
year = year + 1
print(f'на {year} рік ви отримаєте {suma} гривень')
print(f'вам потрібно покласти кошти на депозит на {year} років')
@CHIP0K
CHIP0K / mysql_to_json.sh
Last active August 15, 2025 11:03
shell_scripts
#!/usr/bin/env bash
##########
#
# If you have to convert a single table: set variable DB_TABLE=tablename
# If commenting DB_TABLE, this is a script to convert all tables in the database
#
##########
DB_DATABASE=dbname