This gist provides a simple way to try out graceful termination
If any errors are there feel free to comment down below, I happy to fix them 👍
This gist provides a simple way to try out graceful termination
If any errors are there feel free to comment down below, I happy to fix them 👍
Install the nix os with no desktop environment
wallpaper link https://github.com/dipankardas011/linux-configs/blob/main/i3/images/bg_2.jpg
########################### | |
# IT IS ONLY | |
# INSTRUCTIONS (NOT MENT TO BE EXECUTABLE DIRECTLY) | |
########################### | |
# reference: https://gist.github.com/saiyam1814/c3e91322441fdb53bbf5958b943a41f3 | |
# 192.168.1.6 kubeadm-cp-1-5db6-f1562d | |
# 192.168.1.7 kubeadm-cp-2-11ce-f1562d | |
# 192.168.1.8 kubeadm-cp-3-16c3-f1562d |
# Use the official Python 3.9 image | |
FROM python:3.9 | |
# Set the working directory to /code | |
WORKDIR /code | |
# Copy the current directory contents into the container at /code | |
COPY ./requirements.txt /code/requirements.txt | |
# Install requirements.txt |
/*** | |
* @author Dipankar Das | |
* cc -o util copy.c | |
* | |
* ./util cp <source> <destination> | |
* | |
* ./util mv <source> <destination> | |
*/ | |
#include <stdio.h> |
useful command for debugging.
tail -f <filename>
tail -f -n <number-of-tailing-lines> <filename>
#example to tail from last 1000 files
tail -f -n 1000 <filename>
This is free and unencumbered software released into the public domain. | |
Anyone is free to copy, modify, publish, use, compile, sell, or | |
distribute this software, either in source code form or as a compiled | |
binary, for any purpose, commercial or non-commercial, and by any | |
means. | |
In jurisdictions that recognize copyright laws, the author or authors | |
of this software dedicate any and all copyright interest in the | |
software to the public domain. We make this dedication for the benefit |