Skip to content

Instantly share code, notes, and snippets.

View AHPanna's full-sized avatar
👺
the devil himself

Panna ABDUL HAKIM AHPanna

👺
the devil himself
View GitHub Profile
@daehahn
daehahn / wsl2-network.ps1
Last active April 21, 2025 03:30
WSL 2 TCP NETWORK FORWARDING
# WSL2 network port forwarding script v1
# for enable script, 'Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser' in Powershell,
# for delete exist rules and ports use 'delete' as parameter, for show ports use 'list' as parameter.
# written by Daehyuk Ahn, Aug-1-2020
# Display all portproxy information
If ($Args[0] -eq "list") {
netsh interface portproxy show v4tov4;
exit;
}
@matteyeux
matteyeux / k8s.md
Last active February 14, 2020 16:58

Installation de Kubernetes

Installation de kubernetes en mode cluster pour ISR-ORC4.

Prérequis

  • 2G de RAM pour chaque machine
  • 1 Socket, 2 coeurs
  • Swap désactivé (sudo swapoff -a + edit de /etc/fstab)
  • Docker CE

Installation des repos et paquets pour kubernetes :

@nathan-osman
nathan-osman / win32.go
Last active March 27, 2025 21:00
Simple Windows GUI application written in Go
package main
import (
"log"
"syscall"
"unsafe"
)
var (
kernel32 = syscall.NewLazyDLL("kernel32.dll")
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active May 24, 2025 08:22
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@spicycode
spicycode / tmux.conf
Created September 20, 2011 16:43
The best and greatest tmux.conf ever
# 0 is too far from ` ;)
set -g base-index 1
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
#set -g default-terminal screen-256color
set -g status-keys vi
set -g history-limit 10000