Skip to content

Instantly share code, notes, and snippets.

View Axelcouty's full-sized avatar

Axel COUTY Axelcouty

View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'">
<title>Hello World!</title>
</head>
<body>
<h1>Hello World!</h1>
module.exports = {
plugins: ["hyperterm-visor", "hyper-pane"],
config: {
visor: {
hotkey: 'shift+²',
position: 'bottom'
}
},
keymaps: {
'tab:new': 'ctrl+t',
@Axelcouty
Axelcouty / kfwd.sh
Created November 3, 2021 11:20
kubectl port-forward to POD using labels, auto-reconnect to alive pods
#!/bin/bash
# Usage
# kfwd.sh [label=labelValue] [port]
echo $1:$2
labels=${1}
port=${2}
pid=""
pod=
@Axelcouty
Axelcouty / Tmux configuration
Last active February 18, 2020 14:43
.tmux.conf
unbind C-b
set -g prefix C-a
bind C-a send-prefix
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
# line history buffer limit
set-option -g history-limit 100000
# configuration reload