Using the oxford dictionary
- Productivity
- the rate at which a worker, a company or a country produces goods, and the amount produced, compared with how much time, work and money is needed to produce them
| # Redis Sentinel test configuration | |
| # Usage: docker compose -f docker-compose.yaml -f docker-compose-sentinel.yaml up | |
| # | |
| # This replaces the single Redis instance with a Sentinel setup: | |
| # - redis-master: Primary Redis node | |
| # - redis-replica: Replica node | |
| # - sentinel-1, sentinel-2, sentinel-3: Sentinel nodes for HA | |
| # | |
| # Set these environment variables before starting: | |
| # REDIS_MODE=sentinel |
| # Redis Cluster test configuration | |
| # Usage: docker compose -f docker-compose.yaml -f docker-compose-cluster.yaml up | |
| # | |
| # This replaces the single Redis instance with a Redis Cluster setup: | |
| # - 3 master nodes with 3 replica nodes (6 nodes total) | |
| # | |
| # Set these environment variables before starting: | |
| # REDIS_MODE=cluster | |
| # REDIS_HOST=redis-node-1:6379,redis-node-2:6379,redis-node-3:6379 |
| # Created 2024-04-23 Tue 15:20 | |
| #+title: Lets Learn Emacs Lisp | |
| #+author: Gavin Jaeger-Freeborn | |
| * Emacs terminology | |
| [[https://sachachua.com/blog/wp-content/uploads/2013/05/How-to-Learn-Emacs-v2-Large.png][How to Learn Emacs]] | |
| - buffer :: The area containing text kinda like a *tab in a browser* | |
| - point :: The *cursor* | |
| - window :: A section of the emacs window containing text |
| ;; eglot-codelens.el --- Add support for codelenses to eglot -*- lexical-binding: t -*- | |
| ;;; Commentary: | |
| ;;; Code: | |
| ;;; Extending eglot to support lenses | |
| ;;;; Findings | |
| ;; Lenses often support the option to be used as a code action | |
| ;; some servers rely on custom code actions implemented by the client | |
| ;; - [[https://github.com/emacs-lsp/lsp-mode/issues/2250]] mentions this |
| (defun gist-from-region (BEG END fname desc &optional private) | |
| "Collect the current region creating a github gist with the | |
| filename FNAME and description DESC. | |
| If the optional argument PRIVATE is non-nil then the gist will be | |
| made private. Otherwise the gist will be default to public. | |
| Depends on the `gh' commandline tool" | |
| (interactive (list (mark) (point) | |
| (read-string "File Name: ") | |
| (read-string "Description: ") |
| (defun gist-from-region (BEG END fname desc &optional private) | |
| "Collect the current region creating a github gist with the | |
| filename FNAME and description DESC. | |
| If the optional argument PRIVATE is non-nil then the gist will be | |
| made private. Otherwise the gist will be default to public. | |
| Depends on the `gh' commandline tool" | |
| (interactive (list (mark) (point) | |
| (read-string "File Name: ") | |
| (read-string "Description: ") |
| #include <assert.h> | |
| #include <stdbool.h> | |
| #include <stdint.h> | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| /* typedef void *TaskHandle_t; */ | |
| /* enum task_type { VAL1, VAL2 }; */ | |
| /* typedef struct DD_Task { */ | |
| /* TaskHandle_t t_handle; */ |