Innosoft

Summary company link: https://innosoft.com.sa/ Currently, <2022-02-08 Tue>, it has become part of a group, 42(from “The Hitchhiker’s Guide to the Galaxy”). As I came to know from , he named it after the answer a robert gives in this book: 42.

1 min · Jaaved Khan

Installing on Kubernetes

0 min · Jaaved Khan

Installing Kubernetes

Tags Installing Kubernetes Used Kubespray Ansible Role to do the installation. Installed 1 master node and 2 worker nodes. Important points observed during the installation Following ECK quick install guide worked directly with , but while installing in the test environment the installation was failing because of the absence of persistence volume of Kubernetes. Creating Creating Storage Class Now object to create persistent volume --- apiVersion: v1 kind: PersistentVolume metadata: name: nfs-pv-1 labels: type: nfs-local spec: capacity: storage: 400Gi # 400GB storage accessModes: - ReadWriteOnce persistentVolumeReclaimPolicy: Retain storageClassName: local-storage hostPath: path: "/shared01/volumes/pv1" # this is the path where NFS is mounted on all the cluster elements Apply this object with...

1 min · Jaaved Khan

Install and Use Hugo On Ubuntu 18.04 / Debian 10 | ComputingForGeeks

Installing Hugo On Ubuntu 18.04 / Debian 10 from .deb package To install Hugo on Ubuntu 18.04 / Debian 10 from Debian package, first, download the latest release from Github releases page https://github.com/hugo/releases/. Select a version that matches your CPU architecture: curl -s https://api.github.com/repos/gohugoio/hugo/releases/latest \ | grep browser_download_url \ | grep Linux-64bit.deb \ | grep -v extended \ | cut -d '"' -f 4 \ | wget -i -

1 min · Jaaved Khan

Ingress Controller

Summar ref Ingress exposes HTTP and HTTPS routes from outside the cluster to Services within the cluster. Traffic routing is controlled by rules defined on the Ingress resource. An Ingress controller is responsible for fulfilling the Ingress. Exposes services to the outside world. Load balancer is legacy way to accessing services, Ingress is a new way: a new load balancer is required to expose each service, where as one ingress can handle exposure of multiple services....

1 min · Jaaved Khan

Imran Ul Haq

Summary Joined , previously working at Contact email: imranulhaq@kfupm.edu.sa

1 min · Jaaved Khan

importance of getting up early

It is really import to wake up early are important second thought.

1 min · Jaaved Khan

Implementation Patterns

Summary Amazon Goodreads This book has 77 patterns in it. Introduction position ease box interval due front 2.50 0 0.00 2021-10-19T16:05:01Z Values -> Principles -> Patterns —————————————> Abstraction level Values Consistent with excellence in programming. Communication Simplicity Flexibility Principles More specific than values to programming. Patterns can be discussed in principles. Local Consequences Minimize Repetitons(DRY) Logic and Data Together Another corollary of local consequence principle Symmetry mixing levels of abstractions voilates this symmetry Declarative Expression Rate of Change Temporal symmetry Motivation position ease box interval due front 2....

2 min · Jaaved Khan

InMemoryUploadedFile

Summary file_object = request.FILES[“uploadedfile”] file_object is the instance of InMemoryUploadedFile. ref: link Details They are used to store submitted files through forms in memory(RAM).

1 min · Jaaved Khan

Image object in Pillow

Summary https://pillow.readthedocs.io/en/stable/reference/Image.html PIL.Image.open(fp, mode=‘r’, formats=None) fp – A filename (string), pathlib.Path object or a file object. classPIL.Image.Image[source] This class represents an image object. To create Image objects, use the appropriate factory functions. There’s hardly ever any reason to call the Image constructor directly. open() new() frombytes() An instance of the Image class has the following methods. Unless otherwise stated, all methods return a new instance of the Image class, holding the resulting image....

2 min · Jaaved Khan