All Posts

Kill process listening on a specific port

Possible title underline, too short for the title. Treating it as ordinary text because it’s so short.

Read more ...


Expression programming languages

According the Chomsky hierarchy, there are 4 categories. From most expressive to least:

Read more ...


Q11 Keychron

Layers that work for Linux (and probably also a mac) are 0 and 1.

Read more ...


QES

  • 19 March 2024
  • Tag: qes

Penneo is a qualified trust provider: https://eidas.ec.europa.eu/efda/tl-browser/#/screen/tl/DK/3

Read more ...


Implementing One-to-Many relationship

  • 04 March 2024
  • Tags: db sql

Let’s say we have to implement a relationship between a Folder and a File.

Read more ...


4 levels of luck

  • 29 January 2024
  • Tag: luck

4 levels:

Read more ...


timesyncd

Update /etc/systemd/timesyncd.conf with:

Read more ...


Json in Postgres

Let’s say you have a json object stored in a table called process:

Read more ...


How to send notifications from server to client?

There are 3 ways of getting notified by the server:

Read more ...


Connect to the host from a docker container

Use the extra_hosts option in docker-compose:

Read more ...


Paste an image from the clipboard in org

  • 14 August 2023
  • Tag: org

Add images:

Read more ...


Readonly role for Postgres

Let’s create a readonly role for a database called postgres and schema public.

Read more ...


ssh

Generate an ssh key:

Read more ...


How to do interfaces in clojure? protocols

Read more ...


Screen brightness

  • 19 July 2023
  • Tag: linux

Read more ...


VS Code and Copilot on Debian

Run the daemons and export the env variables for dbus and the keyring:

Read more ...


Merge PDFs

Merge a.pdf and b.pdf into c.pdf

Read more ...


printer

sudo apt-get install cups

Read more ...


xdg

  • 20 March 2023
  • Tag: linux

XDG (or Cross Desktop Group)

Read more ...


Principles of communicating with your line manager

Make the communication effective by using one of the following 4 cases:

Read more ...


Watch and run typescript file

Assuming that you want to compile and watch main.ts, then compile it and run the .js equivalent:

Read more ...


nx

Create a new project:

Read more ...


Code formatting

There are a number of tools to format code with potentially overlapping features:

Read more ...


NPM Dependencies

  • 21 January 2023
  • Tag: npm

Installed transitively e.g. two packages A and B have to be installed and each depend on a different version of C, then the following graph is installed:

Read more ...


myers-briggs

Myers-Briggs Type Indicator (MBTI) is a type of personality tests that categorizes people in the following groups:

Read more ...


nmcli

Enable / disable the device:

Read more ...


Org links

Copy a link: org-store-link or SPC a o l Past the link: org-insert-link-global

Read more ...


HTTP Versions

  • 04 December 2022
  • Tag: http

https://youtu.be/a-sBfyiXysI

Read more ...


Preflight Requests

  • 24 November 2022
  • Tag: http

A preflight request is a CORS (Cross Origin Request Sharing) request to check if the CORS protocol is understood by the server.

Read more ...


Think clearly

“Influence” by Robert B. Cialdini: https://www.goodreads.com/book/show/28815.Influence

Read more ...


NVM

  • 08 November 2022
  • Tag: node

NVM is node version manager

Read more ...


Tap click / Natural Scrolling

Find the id of the input device:

Read more ...


Disk encryption

Create a partition using gparted.

Read more ...


Install Debian

Download the complete iso from: https://cdimage.debian.org/cdimage/weekly-builds/amd64/iso-dvd/

Read more ...


Dual boot (UEFI)

update-grub automatically takes care of this by probing the EFI directory.

Read more ...


Mermaid

Insall npm package (Requires node 14):

Read more ...


AdES vs QES

According to the eiDAS regulation, there are 3 levels of electronic signatures:

Read more ...


Deep partial

There is no native Partial functionality if we want to apply it to the nested properties of an object as well.

Read more ...


Debugging external monitor issues in Linux

  • 02 August 2022
  • Tag: linux

Sometimes when I connect the external monitor using usb-c, it gives the following error:

Read more ...


Tree structure without node_modules

Read more ...


Watch file

Here is a helper function watch-file which takes the arguments:

Read more ...


Convert images to a pdf

Use convert (from the package imagemagick):

Read more ...


Find open ports locally

Use netcat (from the package net-tools)

Read more ...


Update a package in Arch Linux

For packages installed using the native package manager i.e. pacman:

Read more ...


Get installed packages in Arch Linux

Get all the installed packages. Use the query -Q switch:

Read more ...


Object with required keys

Consider that we have an enum containing the keys:

Read more ...


Generate client from OpenApi specification

  • 31 May 2022
  • Tag: web

Generate typescript client:

Read more ...


Sleep

Await sleep

Read more ...


Upgrade Arch

Checking vulnerable pacakges:

Read more ...


Show commits in a graph

  • 23 April 2022
  • Tag: git

Use adog switches:

Read more ...


Merge repos

  • 23 April 2022
  • Tag: git

How to merge repos and keep the history?

Read more ...


Index Types

Using raw strings to convey type information:

Read more ...


Microphone

  • 31 January 2022
  • Tag: linux

Trying to get the microphone to work. Tried the following but in vain:

Read more ...


Code Snippets

Use 3 chars to indent the code snippet.

Read more ...


comm

  • 24 January 2022
  • Tag: linux

Compare two sorted files line by line:

Read more ...


Swap space

  • 11 January 2022
  • Tag: linux

Ubuntu 18.04

Read more ...


Virtual environments

Python 3.3+ comes with venv. Prevously, it was required to install virtualenv using pip.

Read more ...


Tables

Two types of tables are supported:

Read more ...


Syed Balkhi

Heard about him on The Hustle MFM as owner of a number of wordpress plugins and generating a revenue of 30-40 Million DKK. It seems like that intro is a bit simplified when you look at his website.

Read more ...


NLP

Hyponum/hypernym: Hierarchical relationships e.g. types of fruits and then peach, apple, etc. Meronym: Relationshiop between Part and whole e.g. wheel and car. Coreference: she is the same as ‘Mary’ Constituency trees: another way to represent syntax Stemming: removing/replacing suffixes to get the root form Lemmatization: base form of a word e.g. ‘good’ is a lemma of better’

Read more ...


Express VPN

  • 04 January 2022
  • Tag: linux

Get package from https://www.expressvpn.com/setup#linux

Read more ...


Clojure in docker

Container:

Read more ...


Calibrate the touch input

  • 04 January 2022
  • Tag: linux

This is a problem when dual screen is being used.

Read more ...


Alexander Lew

[Talk] Probabilistic scripts for automating common-sense tasks: https://www.youtube.com/watch?v=MiiWzJE0fEA&feature=youtu.be&ab_channel=StrangeLoop

Read more ...


lsof

  • 24 October 2021
  • Tag: linux

Find all ports

Read more ...


Tuning Nginx to handle big headers

The error message that nginx throws is:

Read more ...


Textern

  • 24 October 2021
  • Tag: emacs

NOTE: I’ve been using surfkeys which seems to work.

Read more ...


Get real path

  • 24 October 2021
  • Tag: shell

I guess for a symlink, we can do:

Read more ...


Disk space

  • 24 October 2021
  • Tag: linux

ncdu - NCurses Disk Usage.

Read more ...


Cross site request forgery (CSRF)

An exploit when the attacker lures the victim on a legit domain e.g. acme.com, to a domain they control e.g. evil.com, and tricks them into clicking a button that sends a request to the legit domain.

Read more ...


Clojure Spec

Note: Instrumentation only works for :args in a function definition. :fn and :ret are only used during generative / property based testing.

Read more ...


Check whether a port is open or not

Use netcat:

Read more ...


Business

profit potential : all stars aligned, what is the overall potential

Read more ...


Powershell

  • 02 April 2021
  • Tag: shell

Use different keybindings:

Read more ...


Microservices

  • 02 April 2021
  • Tag: misc

Use it if you care about independent deployability!

Read more ...


Macros

  • 02 April 2021
  • Tag: vim

Start recording at register, let’s say q:

Read more ...


Install Arch

x1 carbon, 7th gen

Read more ...


Angel Investing

  • 02 April 2021
  • Tag: misc

Best way to get into it is to get involved into a fund managed by someone else. According to angel list, there are 3 options:

Read more ...


sed

  • 30 December 2020
  • Tag: shell

Stream editor. Using regular expression, editor the standard input.

Read more ...


parallel

  • 30 December 2020
  • Tag: shell

Run a command in parallel.

Read more ...


jq

  • 30 December 2020
  • Tag: shell

Filtering

Read more ...


jq

  • 30 December 2020
  • Tag: shell

Filtering

Read more ...


clj

Here is an example how you can enhance the vanilla clj tool: https://github.com/seancorfield/clj-new

Read more ...


awk

  • 30 December 2020
  • Tag: shell

Column based editing

Read more ...


Virtual Machine

  • 30 December 2020
  • Tag: linux

I’ve tried virtual box before. I’ve heard that KVM is faster so I want to give it a try:

Read more ...


Variable assignment in bash

  • 30 December 2020
  • Tag: shell

is the same as

Read more ...


Turing Machine

  • 30 December 2020
  • Tag: misc

https://www.youtube.com/watch?v=PLVCscCY4xI

Read more ...


Traffic sniffing

  • 30 December 2020
  • Tag: misc

When all fails, wireshark is the tool. However, I just found out about mitmproxy which seems to be the winner … hands down!

Read more ...


Track Memory Usage of a Process

  • 30 December 2020
  • Tag: linux

Image that you want to track the memory usage of dotnet, use the watch command with ps to get an overview of the memory usage:

Read more ...


Tools

  • 30 December 2020
  • Tag: scala

Generate scala diagrams:

Read more ...


Tinker with the Neural Network in the Browser

  • 30 December 2020
  • Tag: misc

https://playground.tensorflow.org

Read more ...


The Penneo Incident

Penneo started trading on the 2nd June, 2020.

Read more ...


The AI safety mindset: 12 rules for a safer AI future by Cassie Kozyrkov

  • 30 December 2020
  • Tag: talks

https://www.youtube.com/watch?v=EjBXZrQ7fTs&feature=youtu.be&ab_channel=Robotex

Read more ...


Stocks vs Options vs Futures vs Bonds

  • 30 December 2020
  • Tag: misc

Simple definition from: https://www.quora.com/What-are-the-differences-between-stock-options-futures-bonds-ETFs-forex

Read more ...


Sparse checkout

  • 30 December 2020
  • Tag: git

Read more ...


Spacemacs Keybindings

  • 30 December 2020
  • Tag: emacs

SPC t m c toggle mode-line org-clock

Read more ...


Sound

  • 30 December 2020
  • Tag: linux

pavucontrol is a volume control for the PuseAudio sound server

Read more ...


Software Transactional Memory

  • 30 December 2020
  • Tag: misc

A high level abstraction to simplify concurrent programming. It allows a group of read/write instructions to execute in an atomic way.

Read more ...


Simple http server

  • 30 December 2020
  • Tag: python

Read more ...


Shaan Puri’s Frameworks

  • 30 December 2020
  • Tag: misc

https://docsend.com/view/u2i5y4g3wxubpvt7

Read more ...


Setting up Jupyter locally

  • 30 December 2020
  • Tag: misc

Configuration:

Read more ...


SciKit vs PyTorch

  • 30 December 2020
  • Tag: ai

SciKit it for classical machine learning, easier to use, not as configurable. PyTorch is for deep learning, relatively difficult to start using, more configurable

Read more ...


Ratios : Liquidity vs Solvency

It is how easily can the assets be converted to cash.

Read more ...


Principles

  • 30 December 2020
  • Tag: misc

just a brain dump - in progress

Read more ...


Press enter to continue

  • 30 December 2020
  • Tag: shell

In zsh:

Read more ...


Powershell vs Bash

  • 30 December 2020
  • Tag: misc

https://mathieubuisson.github.io/powershell-linux-bash/

Read more ...


PlantUML

  • 30 December 2020
  • Tag: emacs

Spacemacs comes with a plantuml layer which has a major mode for modifying such files.

Read more ...


Performance Matters

  • 30 December 2020
  • Tag: misc

Emery D. Berger

Read more ...


Networking

  • 30 December 2020
  • Tag: docker

Use host network bridge.

Read more ...


Maven

  • 30 December 2020
  • Tag: java

Create new project

Read more ...


Market places for free lancers in Copenhagen

  • 30 December 2020
  • Tag: jobs

https://www.itkonsulentjobs.dk

Read more ...


Markdown vs Restructured Text

  • 30 December 2020
  • Tag: misc

Emacs has good support for markdown: - folding - create tables

Read more ...


MAGIC

  • 30 December 2020
  • Tag: dotnet

Morgan And Grand Iron Compiler - runs on the common runtime!

Read more ...


Loops

  • 30 December 2020
  • Tag: shell

For loop:

Read more ...


Local setup

  • 30 December 2020
  • Tag: scala

https://hub.docker.com/r/bitnami/spark/

Read more ...


Laziness

  • 30 December 2020
  • Tag: csharp

Let’s create a lazy list of numbers, only realized as we ask for the values. The IEnumerable interface in conjunction with the yield operator allows this.

Read more ...


Language

  • 30 December 2020
  • Tag: scala

def: defines an immutable label for the right side content which is lazily evaluated - evaluate by name.

Read more ...


Keybindings

  • 30 December 2020
  • Tag: emacs

SPC f E

Read more ...


JMESPath

  • 30 December 2020
  • Tag: misc

JMESPath is a query language for JSON.

Read more ...


Introduction to Quantitative Modeling

Wharton, University of Pennsylvania

Read more ...


Introduction to Financial Accounting

Accounting:

Read more ...


Internet Computer

  • 30 December 2020
  • Tag: misc

Possible title underline, too short for the title. Treating it as ordinary text because it’s so short.

Read more ...


Intermediate Language (IL)

  • 30 December 2020
  • Tag: dotnet

Also referred to CIL (Common IL) or MSIL (Microsoft IL).

Read more ...


Improving Language Understanding by Generative Pre-Training

  • 30 December 2020
  • Tag: ai

https://cdn.openai.com/research-covers/language-unsupervised/language_understanding_paper.pdf

Read more ...


HyperLogLog sketch

  • 30 December 2020
  • Tag: misc

HyperLogLog is an algorithm for the count-distinct problem, approximating the number of distinct elements in a multiset. [1]

Read more ...


Helm

  • 30 December 2020
  • Tag: emacs

Selection narrowing framework for emacs.

Read more ...


HUGO

  • 30 December 2020
  • Tag: misc

Static site generator.

Read more ...


Graphing (n more) Libraries

Here are some of the graphing libraries that I have found:

Read more ...


Graph databases

  • 30 December 2020
  • Tag: misc

Graph databases make sense when you want to create relationships between data and quickly query them.

Read more ...


Getting started / Emacs setup

  • 30 December 2020
  • Tag: scala

This is for Spacemacs.

Read more ...


Getting Started

  • 30 December 2020
  • Tag: rust

Login again to make rustup available for all shells.

Read more ...


Getting Started

  • 30 December 2020
  • Tag: spark

Operations

Read more ...


Generate a UUID

  • 30 December 2020
  • Tag: shell

Uuid / Guid:

Read more ...


GDPR Data Subject Rights

  • 30 December 2020
  • Tag: misc

https://www.hipaajournal.com/rights-of-data-subjects-under-gdpr/

Read more ...


Fuzzy *

  • 30 December 2020
  • Tag: misc

Jaccard Similarity

Read more ...


Format string

  • 30 December 2020
  • Tag: python

https://pyformat.info/

Read more ...


Format a usb

  • 30 December 2020
  • Tag: linux

Ubuntu 19.04

Read more ...


Firejail

  • 30 December 2020
  • Tag: linux

Run linux apps in a sandbox:

Read more ...


Financial Markets

VaR: Value at Risk

Read more ...


FC4

A tool and methodology that builds on top of C4 methodology.

Read more ...


Exception Handling

  • 30 December 2020
  • Tag: csharp

When using await the first exception is bubbled up.

Read more ...


Durable Task Framework

  • 30 December 2020
  • Tag: dotnet

https://www.youtube.com/watch?v=11a4FMm5BHU

Read more ...


Domain name resolution

Information is stored in the form of DNS records. There are different types of records and some of them required for our discussion are mentioned below:

Read more ...


Decode a jwt

  • 30 December 2020
  • Tag: shell

Assuming that the jwt is in the token.json file:

Read more ...


Create a new python project

  • 30 December 2020
  • Tag: python

project_cli

Read more ...


Conway’s Game of Life

  • 30 December 2020
  • Tag: misc

Dylan Beattie on Game of Life: https://www.youtube.com/watch?v=6avJHaC3C2U&feature=youtu.be&t=264

Read more ...


Convert images to gray scale

  • 30 December 2020
  • Tag: shell

Read more ...


Conditionals

  • 30 December 2020
  • Tag: shell

Argument 1 is not specified:

Read more ...


Component Governance

  • 30 December 2020
  • Tag: misc

Microsoft Componnent Governance:

Read more ...


Colors

  • 30 December 2020
  • Tag: misc

Are you using colors that work for color blind people as well?

Read more ...


Clojure compilation

https://blog.ndk.io/clojure-compilation.html

Read more ...


Cheat sheet

  • 30 December 2020
  • Tag: docker

A volume is automatically created if a path is not given e.g:

Read more ...


Build systems

  • 30 December 2020
  • Tag: misc

Reid McKenzie’s talk about ‘Tools, Deps, Magic Balls’: https://www.youtube.com/watch?v=ze7OI9iVCiI

Read more ...


Bind mount

  • 30 December 2020
  • Tag: linux

Using a bind mount might seem to accomplish what a symlink does but it happens at a lower level and changes the underlying topology of the filesystem (and hence it requires root privileges).

Read more ...


Az Module (Powershell) vs az cli

  • 30 December 2020
  • Tag: azure

https://millerb.co.uk/2019/12/07/Az-CLI-vs-Az-PowerShell.html

Read more ...


At your fingertips

  • 30 December 2020
  • Tag: misc

Some operations should be extremely convenient - they should be second nature:

Read more ...


AI - 12 rules for a safer AI future

  • 30 December 2020
  • Tag: notes

Cassie Kozyrkov

Read more ...


021Disrupt

  • 30 December 2020
  • Tag: misc

p@sha : Pakistan Software Houses Association

Read more ...


Babashka

Shell scripting in clojure.

Read more ...


Writing a DSL

Let us make a calculator that would evaluate expressions like:

Read more ...


Unmap a symbol from a namespace

The simplest would be to update the expression that loads everything e.g.:

Read more ...


Reflection

Get all the methods on a symbol - like the auto-complete functionality:

Read more ...


Interactively discard hunks

  • 17 February 2020
  • Tag: git

With the following command, the staged changes can be unstaged:

Read more ...


Images

renders to:

Read more ...


Headings

From https://thomas-cokelaer.info/tutorials/sphinx/rest_syntax.html#headings:

Read more ...


GraalVM

  • 17 February 2020
  • Tag: java

From https://github.com/taylorwood/clj.native-image

Read more ...


Glossary

Equity: “Value of shares issues by a company”

Read more ...


Corecursion

  • 17 February 2020
  • Tag: cs

The co- is to indicate that it is opposite of recursion (e.g. sine and cosine).

Read more ...


Collections vs Sequences

Taken from Brain on fire blog:

Read more ...


Clojure runner

The runner, invoked by calling clojure or simply clj is a tool/script to invoke the clojure compiler and the repl.

Read more ...


Clojars

Clojars is a repository for clojure libraries (like maven for java)

Read more ...


Spacemacs

A lot of cool cider goodies!

Read more ...


Leiningen

Create a very minimal application using the default template

Read more ...


conj

Append to list.

Read more ...


Terminology

  • 14 January 2020
  • Tag: emacs

Buffer When you open a file in emacs, it creates a buffer to visit that file. Frame This is what I call a floating window. Emacs had a different meaning for window. Window It is that space on the screen or view that shows you the buffer. It might be that multiple buffers are open but only a few windows are showing those buffers.

Read more ...


Create a gif from jpegs

Use convert (from package imagemagick):

Read more ...


C4 model

Buildings have specific floor plans, site plans, etc. There is no standard for software architecture. C4 tries to solve this.

Read more ...


C4 PlantUML

PlantUML samples: https://real-world-plantuml.com/?type=activity

Read more ...


Function composition

Here are a few ways to create new functions from existing functions:

Read more ...


WASB

  • 30 November 2019
  • Tag: azure

Windows Azure Storage Blob (WASB) is a filesystem on top of HDFS. This allows persistence of the data in Azure Storage Accounts instead of local disk. This way the hadoop cluster can be shut down when no computation is taking place.

Read more ...


VsVim

Visual Studio 2019

Read more ...


Rules for the Daily Stand-up

  • 30 November 2019
  • Tag: agile

Rules for the meeting:

Read more ...


Lists

renders to:

Read more ...


Links

renders to:

Read more ...


Configuring External Monitors

  • 30 November 2019
  • Tag: linux

xrandr is a popular lib. For a GUI version, use arandr which lets you create a screen layout and save it as a bash script.

Read more ...


Azure Data Lake

  • 30 November 2019
  • Tag: azure

Azure data lake can be used to store any type of data whether it is:

Read more ...


Getting started

Emacs uses CIDER to work with clojure. There are quirks that I am getting used to but the following is good enough to get started. CIDER comes packaged with the spacemacs clojure layer.

Read more ...


Generate project dependency graph

ns-dep-graph is a lein plugin for visualizing the dependency graph of a project.

Read more ...


Azure Service Fabric

  • 13 November 2019
  • Tag: azure

Plural site course (focusing on ‘Reliable Services’) https://app.pluralsight.com/course-player?clipId=ec014437-6f1b-49e0-a70f-47878c055bcb

Read more ...


Hibernate using a swap partition

  • 17 October 2019
  • Tag: linux

Ubuntu 19.04

Read more ...


Hibernate using a swap file

  • 17 October 2019
  • Tag: linux

Ubuntu 18.04

Read more ...


Use the swap partition instead of the swap file

  • 16 October 2019
  • Tag: linux

To persist these changes across reboots, update the fstab file and edit /swapfile to /dev/nvme0n1p3

Read more ...


Upgrade Ubuntu Distribution

  • 16 October 2019
  • Tag: linux

Check the current release:

Read more ...


Resize the mounted parition

  • 16 October 2019
  • Tag: linux

Start the machine using a ‘recovery’ usb. This makes it possible to work with the partition as it is not mounted.

Read more ...


GPG

For me, it looked like:

Read more ...


DPKG

  • 16 October 2019
  • Tag: linux

Debian’s package manager

Read more ...


Boot

OS : Ubuntu 18.04

Read more ...


Benchmarking

https://github.com/hugoduncan/criterium

Read more ...


APT

Ubuntu 18.04

Read more ...


Pivot

Let’s say you have the following 2 vectors:

Read more ...


OAuth 2.0 vs OpenID Connect

These are different tools for different jobs, you can use both of them at the same time:

Read more ...


Iterate a hash map

Read more ...


How to map while retaining the index?

todo

Read more ...


HTTP functions

  • 17 September 2019
  • Tag: emacs

To encode values use url-hexify-string (which is similar to encodeURIComponent in JS)

Read more ...


What is my public IP?

Read more ...


Terraform

Initialize the state.

Read more ...


Ansible

If we want that jq is installed on a Debian machine, the following playbook can be used:

Read more ...


Testing collections

We have to test 5 things (J.B. Rainsberger):

Read more ...


Test vs Check

Testing is learning and exploring

Read more ...


References

Create a reference at the beginning of a file:

Read more ...


Pact

Pact is an implementation of “consumer driven contract” testing that allows mocking of responses in the consumer codebase, and verification of the interactions in the provider codebase.

Read more ...


Increase swap size

  • 13 July 2019
  • Tag: linux

GUI tool that I used on Ubuntu: gparted

Read more ...


How do keywords virtual and override work?

Consider the following classes:

Read more ...


C# Resources

C# Coding Conventions (C# Programming Guide)

Read more ...


Authentication

Validating tokens: https://docs.microsoft.com/en-us/azure/active-directory/develop/access-tokens#validating-tokens

Read more ...


API Guidelines

  • 31 May 2019
  • Tag: web

https://github.com/microsoft/api-guidelines

Read more ...


HTTP Response Header: X-Content-Type-Options

  • 28 May 2019
  • Tag: web

This is how the X-Content-Type-Options header is used:

Read more ...


What is the RAM size?

Read more ...


Hibernate without Secure boot?

Apparently, this can’t be done with kernel

Read more ...


Helm

Helm is the package manager for Kubernetes.

Read more ...


Getting started with Kubernetes

Install a local kubernetes with Microk8s

Read more ...


Default editor for sudo

Read more ...


Concepts

Everything within a kubernetes cluster runs inside pods.

Read more ...


Split subtree

  • 20 May 2019
  • Tag: git

Consider you have the following repo:

Read more ...


Failed to pull docker image in pod - Status: ImagePullBackOff

Why did that fail?

Read more ...


.NET on Emacs

Read more ...


Line Ending

  • 16 May 2019
  • Tag: git

or either in .gitignore or ./git/config:

Read more ...


Find a lost commit

  • 16 May 2019
  • Tag: git

Git reflog contains the complete history of everything that happened. So if you committed something and then lost the commit due to a reset or a rebase, you can still find the commit by looking into the reflog:

Read more ...


netstat

net-tools

Read more ...


Load Balancer

Read more ...


Open gnome settings on Xmonad

On xmonad

Read more ...


Install Mono

Read more ...


F# Resources

Cheat Sheet

Read more ...


Displaylink on Ubuntu 18.04

I want to use additional monitors and I got a ThinkPad Hybrid USB-C with USB-A Dock It looks like this:

Read more ...


Connect to a windows machine

Read more ...


Azure Key Vault

Get the value of the secret:

Read more ...