Skip to content

Instantly share code, notes, and snippets.

View mcbenjemaa's full-sized avatar
🐢

Mohamed Chiheb Ben Jemaa mcbenjemaa

🐢
View GitHub Profile
@mcbenjemaa
mcbenjemaa / gcp-ccm.yaml
Created August 22, 2024 16:42
GCP CCM (cloud provider)
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: cloud-controller-manager
namespace: kube-system
labels:
component: cloud-controller-manager
addon.kops.k8s.io/name: gcp-cloud-controller.addons.k8s.io
spec:
selector:
@mcbenjemaa
mcbenjemaa / update-go.md
Created November 3, 2020 14:21
How to update the Go version

How to update the Go version

Remove the existing go package

sudo rm -rvf /usr/local/go

Install the new Go version

Download specific binary release for your system

@mcbenjemaa
mcbenjemaa / curl.md
Created June 2, 2020 09:10 — forked from subfuzion/curl.md
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@mcbenjemaa
mcbenjemaa / .tmux.conf
Created December 2, 2019 16:22 — forked from rodricels/.tmux.conf
tmux configuration, mouse copy & paste added
# My tmux configuration, partly based on https://github.com/wbkang/wbk-stow/blob/master/tmux-config/.tmux.conf
# Scroll History
set -g history-limit 50000
# show messages for 4 seconds instead
set -g display-time 4000
# set first window to index 1 (not 0) to map more to the keyboard layout
set-option -g renumber-windows on