Skip to content

Instantly share code, notes, and snippets.

Avatar
😃
Enjoy Coding

Hongmeng Wang hongmengwang

😃
Enjoy Coding
View GitHub Profile
@hongmengwang
hongmengwang / defauly.yaml
Created February 19, 2020 05:53
istio-playbook
View defauly.yaml
apiVersion: install.istio.io/v1alpha2
kind: IstioControlPlane
spec:
hub: docker.io/istio
tag: 1.4.3
defaultNamespace: istio-system
# Traffic management feature
trafficManagement:
enabled: true
@int128
int128 / RequestAndResponseLoggingFilter.java
Last active February 19, 2023 13:34
Spring Web filter for logging request and response
View RequestAndResponseLoggingFilter.java
/*
Copyright 2017 Hidetake Iwata
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
@StevenACoffman
StevenACoffman / _MicroService Proxy Gateway Solutions.md
Last active January 15, 2023 12:17
Microservice Proxy/Gateway Solutions
View _MicroService Proxy Gateway Solutions.md

MicroService Proxy Gateway Solutions

Kong, Traefik, Caddy, Linkerd, Fabio, Vulcand, and Netflix Zuul seem to be the most common in microservice proxy/gateway solutions. Kubernetes Ingress is often a simple Ngnix, which is difficult to separate the popularity from other things.

Github Star Trend:

Github Star History for Kong vs traefik vs fabio vs caddy vs Zuul

This is just a picture of this link from March 2, 2019

Originally, I had included some other solution

@bastman
bastman / docker-cleanup-resources.md
Created March 31, 2016 05:55
docker cleanup guide: containers, images, volumes, networks
View docker-cleanup-resources.md

Docker - How to cleanup (unused) resources

Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...

delete volumes

// see: https://github.com/chadoe/docker-cleanup-volumes

$ docker volume rm $(docker volume ls -qf dangling=true)

$ docker volume ls -qf dangling=true | xargs -r docker volume rm

@PurpleBooth
PurpleBooth / README-Template.md
Last active March 30, 2023 21:49
A template to make good README.md
View README-Template.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@joseluisq
joseluisq / terminal-git-branch-name.md
Last active March 24, 2023 19:08
Add Git Branch Name to Terminal Prompt (Linux/Mac)
View terminal-git-branch-name.md

Add Git Branch Name to Terminal Prompt (Linux/Mac)

image

Open ~/.bash_profile in your favorite editor and add the following content to the bottom.

# Git branch in prompt.

parse_git_branch() {
View CentOS7に"MySQL Client"をインストール.sh
rpm -Uvh http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm
yum -y install mysql-community-client
@XVilka
XVilka / TrueColour.md
Last active March 15, 2023 19:56
True Colour (16 million colours) support in various terminal applications and terminals
View TrueColour.md

THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.

PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!

@dypsilon
dypsilon / frontendDevlopmentBookmarks.md
Last active March 18, 2023 04:37
A badass list of frontend development resources I collected over time.
View frontendDevlopmentBookmarks.md
@pauloconnor
pauloconnor / gist:4707710
Last active December 1, 2022 09:33
Logstash Mutate Filter for stripping Linux color codes from log files
View gist:4707710
# Get rid of color codes
mutate {
gsub => ["message", "\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]", ""]
}