Solution Delivery Accomplishments in 2021-2022

accomplishments Digital payment system As part of digital transformation strategy and to provide online payment services to the KFUPM community and students, KFUPM payment gateway service was implemented. This has helped several departments to automate manual payment verification processes and helped students avoid unnecessary visits to the banks and KFUPM administration offices during the COVID-19 pandemic. The solution designed and implemented is generic to include the use cases of API and non-API to serve the B2C payment needs of KFUPM....

2 min · Jaaved Khan

ssl - curl –cacert vs python requests verify - Stack Overflow

… it’s an intermediate CA Having only the intermediate CA in the trust store is not sufficient for validation of the certificate, at least not with the current versions of Python. This feature would require the use of the OpenSSL flag X509_V_FLAG_PARTIAL_CHAIN for verification, which is neither currently exposed by Python nor set by default. Contrary to this curl sets this flag by default in newer versions and thus works.

1 min · Jaaved Khan

Setting up org-roam protocol in qutebrowser : emacs

That should be a sentence that emacs understand, and will trigger emacs to do what we want. In full, we would actually want run the shell command

1 min · Jaaved Khan

Setting the env variable before running command or task

Setting the remote environment in a task You can set the environment directly at the task level: - hosts: all remote_user: root tasks: - name: Install cobbler ansible.builtin.package: name: cobbler state: present environment: http_proxy: http://proxy.example.com:8080

1 min · Jaaved Khan

Tawakkalna Scanner

:ID: 4c47a1f6-17d9-4987-aebd-2a08ede644e3 OCR tools Evaluation easyocr (pyvenv-workon "tawakkalna_env") import os import easyocr reader = easyocr.Reader(['en'], gpu = False) reader_ar = easyocr.Reader(['ar'], gpu = False) Loading model into memory dir_path = "/mnt/data/Dropbox/pictures/tawakkalna/english" print(dir_path) image_paths = os.listdir(dir_path) image_paths = [dir_path + '/' + path for path in image_paths] dir_path_ar = "/mnt/data/Dropbox/pictures/tawakkalna/arabic" image_paths_ar = os.listdir(dir_path_ar) image_paths_ar = [dir_path_ar + '/' + path for path in image_paths_ar] Testing parsing English for path in image_paths: print(path) result = reader....

2 min · Jaaved Khan

Storage Classes

Tags Summary ref Different classes might map to quality-of-service levels, or to backup policies, or to arbitrary policies determined by the cluster administrators. Each StorageClass contains the fields provisioner, parameters, and reclaimPolicy, which are used when a PersistentVolume belonging to the class needs to be dynamically provisioned. *The name of a StorageClass object is significant, and is how users can request a particular class. Administrators set the name and other parameters of a class when first creating StorageClass objects, and the objects cannot be updated once they are created....

1 min · Jaaved Khan

Spaced Repition

Summary Wiki Spaced repetition is a method where the subject is asked to remember a certain fact with the time intervals increasing each time the fact is presented or said. Spaced repetition is an evidence-based learning technique that is usually performed with flashcards. Newly introduced and more difficult flashcards are shown more frequently, while older and less difficult flashcards are shown less frequently in order to exploit the psychological spacing effect....

1 min · Jaaved Khan

Socket

Summary Network A socket is one endpoint of a two-way communication link between two programs running on the network. A socket is bound to a port number so that the TCP layer can identify the application that data is destined to be sent to. An endpoint is a combination of an IP address and a port number. Every TCP connection can be uniquely identified by its two endpoints. That way you can have multiple connections between your host and the server....

1 min · Jaaved Khan

smart notes

Strategy Note taking strategy by Nat Eliason. ref: https://www.nateliason.com/blog/roam 3 Big Reasons Siloed vs. Fluid Information structure Notes live in no where and everywhere Easy Links and & Page Creation Bidirectional Linking Little Reasons Sidebar Easy journaling Dates are pages Visual Overview 3 main pillars of Capturing, Connecting and Creating PARA Method PARA: Project Areas Resources and Archive In Roam Resources and Archives are not needed....

1 min · jaavedkhan

sleeping early

0 min · Jaaved Khan