Skip to content

Instantly share code, notes, and snippets.

View Zero-Fanker's full-sized avatar
🧐
I may be slow to respond.

Zero Fanker Zero-Fanker

🧐
I may be slow to respond.
  • Ottawa, ON, Canada
View GitHub Profile
@baymaxium
baymaxium / content.md
Created October 18, 2017 09:00
探索Kubernetes的网络原理及方案

原文:Docker

2016年ClusterHQ容器技术应用调查报告显示,一年来容器技术应用于生产的比例增长了96%,Kubernetes的使用率达到了40%,成为了最受欢迎的容器编排工具;那么Kubernetes到底是什么呢?它是一个用于容器集群的自动化部署、扩容以及运维的开源平台;那么通过Kubernetes能干什么呢?它能快速而有预期地部署你的应用,极速地扩展你的应用,无缝对接新的应用功能,节省资源,优化硬件资源的使用。随着Kubernetes王者时代的到来,计算、网络、存储、安全是Kubernetes绕不开的话题,本次交流与大家分享下Kubernetes网络原理及方案。

一、Kubernetes网络模型

@hzhou
hzhou / 170331_2.md
Created April 1, 2017 02:55
Rust's return

A comment for: http://stackoverflow.com/questions/27961879/why-is-using-return-as-the-last-statement-in-a-function-considered-bad-style/43146646?noredirect=1#comment73380218_43146646

"It just is." is not a good answer for adults.

Conventions and styles are in the eyes of the users. If the majority of users find using return intuitive, then it is a good style, regardless what the language designers' opinions. If the majority of users use the "return" style, then it will be the convention.

Rust is quite new, so at this point, there is not really much convention or "good/bad" styles, it is just recommendations and guidelines. You have the choice of following them (a particularly good choice when you don't have much of your own opinions) or ignore them as long as it is still correct (a not bad choice if you have sufficient self-confidence).

@rxaviers
rxaviers / gist:7360908
Last active August 29, 2024 17:07
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue: