Monthly Shaarli

All links of one month in a single page.

November, 2021

My Fish shell workflow for coding
thumbnail
Crunchy Hardened PostgreSQL | Crunchy Data

Crunchy Hardened PostgreSQL is a state-of-the-art Postgres solution for security and compliance-focused enterprises. Crunchy Hardened PostgreSQL extends Crunchy PostgreSQL in order to enforce additional security controls to protect data from unauthorized access and comply with regulatory and privacy requirements. Crunchy Hardened Postgres combines advanced security features including enhanced RBAC, TDE, and superuser lockdown with commercial support requirements like High Availability, Disaster Recovery, and Certification.

access.crunchydata.com/containerinfo/containerversions.txt
patroni/kubernetes.rst at master · zalando/patroni
thumbnail

Patroni can use Kubernetes objects in order to store the state of the cluster and manage the leader key. That makes it capable of operating Postgres in Kubernetes environment without any consistency store, namely, one doesn't need to run an extra Etcd deployment. There are two different type of Kubernetes objects Patroni can use to store the leader and the configuration keys, they are configured with the kubernetes.use_endpoints or PATRONI_KUBERNETES_USE_ENDPOINTS environment variable.

Data Templates
thumbnail

This tutorial covers how to use data templates in Hugo - Static Site Generator.

Hugo - Pagination

Documentation of Hugo, a fast and flexible static site generator built with love by spf13, bep and friends in Go

How to Man in the Middle HTTPS Using mitmproxy - Earthly Blog

Have you ever wanted to see what kinds of requests a service or application on your machine is making and what kind of responses it is getting back?

GitHub - graphql-editor/graphql-editor: 📺 Visual Editor & GraphQL IDE. Draw GraphQL schemas using visual 🔷 nodes and explore GraphQL API with beautiful UI. Even 🐒 can do that!
thumbnail

📺 Visual Editor & GraphQL IDE. Draw GraphQL schemas using visual 🔷 nodes and explore GraphQL API with beautiful UI. Even 🐒 can do that! - GitHub - graphql-editor/graphql-editor: 📺 Visual Editor & GraphQL IDE. Draw GraphQL schemas using visual 🔷 nodes and explore GraphQL API with beautiful UI. Even 🐒 can do that!

hugo/figure.html at master · gohugoio/hugo · GitHub
thumbnail

Change to search image by substring

Budibase | Create modern business apps in minutes
thumbnail
Learn RegEx step by step, from zero to advanced
Using Hugo with Tailwind CSS 2 - Wim Deblauwe
thumbnail
Alerts · Bootstrap v5.0
thumbnail
Bootstrap · The most popular HTML, CSS, and JS library in the world.
thumbnail
Commands | Hugo
thumbnail
Image Processing in Hugo | Mert Bakır
thumbnail
Implemement Hugo List and Taxonomy Pages | PäksTech
thumbnail

Add image to taxonomy

Hugo Show Related Posts By Tags | Lua Software Code
thumbnail
Pagination | Hugo
thumbnail
davatorium/rofi: Rofi: A window switcher, application launcher and dmenu replacement
thumbnail
Manjaro Kernels - Manjaro
GnuPG: Web Key Directory (WKD) einrichten
thumbnail
https://quickmath.com/webMathematica3/quickmath/equations/solve/basic.jsp
luochen1990/rainbow: Rainbow Parentheses Improved, shorter code, no level limit, smooth and fast, powerful configuration.
thumbnail
Converting tabs to spaces | Vim Tips Wiki | Fandom
thumbnail

To insert space characters whenever the tab key is pressed, set the 'expandtab' option:

:set expandtab

With this option set, if you want to enter a real tab character use Ctrl-V<Tab> key sequence.

To control the number of space characters that will be inserted when the tab key is pressed, set the 'tabstop' option. For example, to insert 4 spaces for a tab, use:

Test Automation University
thumbnail
Deep PostgreSQL Thoughts: The Linux Assassin
thumbnail

If you run Linux in production for any significant amount of time, you have likely run into the "Linux Assassin" that is, the OOM (out-of-memory) killer. When Linux detects that the system is using too much memory, it will identify processes for termination and, well, assassinate them. The OOM killer has a noble role in ensuring a system does not run out of memory, but this can lead to unintended consequences.

For years the PostgreSQL community has made recommendations on how to set up Linux systems to keep the Linux Assassin away from PostgreSQL processes, which I will describe below. These recommendations carried forward from bare metal machines to virtual machines, but what about containers and Kubernetes?

Below is an explanation of experiments and observations I've made on how the Linux Assassin works in conjunction with containers and Kubernetes, and methods to keep it away from PostgreSQL clusters in your environment.

minimal_vim/init.vim at master · jdhao/minimal_vim · GitHub
thumbnail
nii-nvim/init.lua at master · Theory-of-Everything/nii-nvim · GitHub
thumbnail
Open-source load testing tool for developers | k6 OSS
thumbnail

A modern load testing tool built for developer happiness

Blocking Web Fonts for Speed and Privacy
thumbnail

How to configure your browser to block web fonts to speed up your web browsing and protect your privacy.

How to Use Bootstrap 5 Toast Component - Tutorial Republic

Learn how to use the latest Bootstrap toast component to show the alert messages like push notifications on desktops or smart phones.

XMLHttpRequest to Post HTML Form | Newbedev
jrnl
thumbnail
Nginx local fallback error page if proxy destination is unavailable - Server Fault
thumbnail
Cursor Movement in Vim
thumbnail
Golden Certificate – Penetration Testing Lab
thumbnail
Gutters · Bootstrap v5.0
thumbnail
How to build custom Hugo pagination - Glenn McComb: front end developer and designer
thumbnail

Add active page to pagination

Template Debugging | Hugo
thumbnail
How to set up Twitter cards for your Hugo site :: Shelby Spees
thumbnail
fa-list: Font Awesome Icons

Icon for category

Tags Icon | Font Awesome
thumbnail
mermaid - Markdownish syntax for generating diagrams
Layouts in Hugo | Hugo tutorial | CloudCannon
thumbnail
Rofi - ArchWiki
Day 13: Bootstrap 4 Cards Tutorial and Examples – BootstrapBay
thumbnail
Rechner Suite - GeoGebra
Hugo - Shortcodes
Add mermaid js to Hugo
thumbnail
How do I highlight my mouse pointer while screen recording? - Ask Ubuntu
thumbnail
Performance tuning · Wiki · PipeWire / pipewire · GitLab
thumbnail
Displaying tabs as characters - Vi and Vim Stack Exchange
thumbnail

Add to config

Resizing a window to a set size in Linux - Stack Overflow
thumbnail
ansible-community/ara: ARA Records Ansible and makes it easier to understand and troubleshoot.
thumbnail
nikvdp/nvim-lsp-config
thumbnail
PGO, the Postgres Operator from Crunchy Data

Tutorial and documentation

PostgreSQL Blog | Crunchy Data
Install using k0sctl - Documentation

Installation instructions

k0s | Kubernetes distribution for bare-metal, on-prem, edge, IoT
thumbnail

Deploy and run Kubernetes workloads at any scale on any infrastructure.
All batteries included. 100% open source & free.

Download PostgreSQL Containers | Crunchy Data
thumbnail

All available containers for crunchydata postgres operator

ChristianChiarulli/LunarVim: An IDE layer for Neovim with sane defaults. Completely free and community driven.
thumbnail

Search through our curated neovim plugin directory and read our guides on creating plugins.

👋🏼 I’m Devon Morris 👋🏼 - Devon Morris
How to use Data Files in Hugo: an example | Peter Y. Chuang - Novelist, Short Story Writer
thumbnail

Here is a demonstration of how I use Hugo’s Data Files to manage a certain pages on this website easily.

terminal - How do I copy and paste with Kitty? - Unix & Linux Stack Exchange
thumbnail

Kitty is a terminal for Linux. How do I copy and paste with it. CTRL+c does not work? And there is no option on right click. Right-click also doesn't work for copy.

Threaded comments for Hugo with Staticman v3 - James Kiefer
thumbnail
Setup nginx not to crash if host in upstream is not found - Stack Overflow
thumbnail
Kubernetes Goat
thumbnail

Vulnerable by design

stakater/Reloader
thumbnail
browserflow
thumbnail
index.html at bradtraversy/bootstrap-bootcamp-website
thumbnail
https://www.notonlycode.org/neovim-lua-config/
thumbnail
ChopChop - ChopChop Is A CLI To Help Developers Scanning Endpoints And Identifying Exposition Of Sensitive Services/Files/Folders
thumbnail

ChopChop is a command-line tool for dynamic application security testing on web applications, initially written by the Michelin CERT.

Its goal is to scan several endpoints and identify exposition of services/files/folders through the webroot. Checks/Signatures are declared in a config file (by default: chopchop.yml), fully configurable, and especially by developers.

Related Content | Hugo
thumbnail

Shown related posts, check show newer

How to Add Related Posts Section in Hugo — tech.serhatteker.com
thumbnail
Stretched link · Bootstrap
thumbnail
Gilles Castel

Math notes with Latex, drawings with inkscape

Pretty cool shell and python scripts

Image Processing | Hugo
thumbnail
Ansible directory structure (Default vs Vars) – DEVOPS DONE RIGHT
thumbnail

Ansible is one of the most prominent tools among DevOps for managing software configuration because of its ease of use and bare minimum dependencies. The highlight of this tool is Ansible roles which provide a wholesome package of various functionalities that we need for software configuration.

As we know that ansible roles have a wide directory structure that looks something like this.

$ tree -d . ├── defaults ├── files ├── handlers ├── media ├── meta ├── molecule │   └── default │   └── tests ├── tasks └── templates 10 directories

We can read online about the significance of these directories but often there is some confusion around two of them that always bugs me, which are vars and defaults. Whenever I write a role I often think of whether to put my variables in defaults or the vars. 

According to Ansible’s definition, the difference between defaults and vars is:

defaults mean “default variables for the roles” and vars mean “other variables for the role”.

The priority of the vars is higher than that of defaults.
For example, consider a variable named ‘version’ defined in the defaults have value ‘5.0.1’ and the same variable defined in vars have value ‘7.1.3’, so the final value that will be taken into account is the value defined in vars i.e., ‘7.1.3’.

Due to my limited understanding of this, I used to define all variables in defaults and whenever needed to override them, I declared those variables in vars.

But there was more to it just than precedence, which motivated me to deep dive into it and finds out that there are two types of variables in terms of content, “static” with constant value and “dynamic” with changing value. According to the ansible definition, the static variables should be placed in default and the dynamic should be placed in vars.