KFUPM Payment GateWay

0 min · Jaaved Khan

k3d

Summary k3d is a lightweight wrapper to run k3s (Rancher Lab’s minimal Kubernetes distribution) in docker. k3d install wget -q -O - https://raw.githubusercontent.com/rancher/k3d/main/install.sh | bash create cluster k3d cluster create sandman \ -p 8080:80@loadbalancer \ -v /etc/machine-id:/etc/machine-id:ro \ -v /var/log/journal:/var/log/journal:ro \ -v /var/run/docker.sock:/var/run/docker.sock \ --k3s-arg "--disable=traefik@server:0" \ --agents 0

1 min · Jaaved Khan

KFUPM

Summary University where I did my master’s from and worked for a very long time.

1 min · Jaaved Khan

jsconfig

Minimal Sample this configuration worked with UI project jump to module definitions was working jump to ‘src’ local references was working "compilerOptions": "paths": "baseUrl": "./", "@/*":["./src/*"], "@components/*": ["./src/components/*"], "@root/*": ["./src/*"] , "include": ["src/**/*"], "exclude": ["node_modules"]

1 min · Jaaved Khan

jQuery

jQuery is a fast, small, and feature-rich JavaScript library. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers. With a combination of versatility and extensibility, jQuery has changed the way that millions of people write JavaScript.

1 min · Jaaved Khan

Kubernetes API

Summary The Kubernetes API lets you query and manipulate the state of objects in Kubernetes. The core of Kubernetes' control plane is the API server and the HTTP API that it exposes . Users, the different parts of your cluster, and external components all communicate with one another through the API server.

1 min · Jaaved Khan

key bindings - How to change/remove an existing but unneeded keybinding? - Emacs Stack Exchange

(define-key speedbar-mode-map “\M-p” nil) should remove the binding of M-p from the speedbar map, so that it no longer interferes with your binding for ace-window. You’ll need to call this after speedbar-mode is loaded for it to have effect. Since you’re using use-package, you can accomplish this by adding it as a :config option, e.g., (use-package sr-speedbar :ensure t :defer t :config (define-key speedbar-mode-map "\M-p" nil) ...) More generally, you can use eval-after-load: (eval-after-load "speedbar" '(define-key speedbar-mode-map "\M-p" nil))

1 min · Jaaved Khan

Kernel Modules vs Kernel Drivers

Diff ref A kernel module is a bit of compiled code that can be inserted into the kernel at run-time, such as with insmod or modprobe. A driver is a bit of code that runs in the kernel to talk to some hardware device. It “drives” the hardware. Most every bit of hardware in your computer has an associated driver.¹ A large part of a running kernel is driver code.²...

2 min · Jaaved Khan

Is there a quick way to unbind keys in Emacs? - Stack Overflow

global-unset-key and local-unset-key are useful, but it’s worth having an answer to this question that points out that the general way to unbind a key (for any keymap) is to define a binding of nil: (define-key KEYMAP KEY nil) ;; example (define-key python-mode-map (kbd "C-c C-v") nil) (global-unset-key (kbd "C-c C-v"));; unset python mode map If you follow the code for either of those other functions, you’ll notice that this is exactly what they do....

1 min · Jaaved Khan

KFUPM Load Balancer

Summary . team uses , which acts as for load balancing and offloading SSL certificate, to all of ICTC’s web services. It communicates with application server with HTTP protocol. Creating a IP During application development using and webserver. The public URL, using HTTPS scheme, of the server will point to the IP. This IP is of server which gets created on F5 hardware. Communication between server(IP) and Application Server position ease box interval due front 2....

2 min · Jaaved Khan