Skip to content

Instantly share code, notes, and snippets.

View charlesdevandiere's full-sized avatar
🐧

Charles de Vandière charlesdevandiere

🐧
View GitHub Profile
# status bar
set -g status-position top
set -g status-style 'bg=blue'
set -g status-right '%Y-%m-%d %H:%M '
set -g window-status-current-style 'bg=orange fg=black'
set -g window-status-current-format ' #I #W '
set -g window-status-last-style 'italics'
set -g window-status-style 'bg=lightblue fg=black'
set -g window-status-format ' #I #W '
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"foreground": "lightGreen",
"style": "plain",
"template": "{{ .UserName }}@{{ .HostName }}",
@charlesdevandiere
charlesdevandiere / RequiredArgument.cs
Last active April 28, 2022 11:31
RequiredArgument
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
internal static class RequiredArgument
{
/// <summary>Verifies argument is not null.</summary>
/// <param name="param">The parameter.</param>
/// <param name="paramName">The parameter name.</param>