Skip to content

Instantly share code, notes, and snippets.

燒賣 蝦餃 魚蛋 雞蛋仔 格仔餅 橙色生腸 煎釀三寶
西多士 紅豆冰 凍奶茶 凍檸茶
雲吞麵 牛腩河 魚蛋腸粉
燒味飯 煲仔飯
潮州菜 魚香茄子煲 老火湯
車仔麵
西多士 常餐 沙嗲牛肉麵 菠蘿油
譚仔 米線豬耳土匪
m記脆辣雞翼
kfc 蘑菇飯 白汁雞皇飯 mcdonald

##分布式系统(Distributed System)资料


#####希望转载的朋友,你可以不用联系我.但是一定要保留原文链接,因为这个项目还在继续也在不定期更新.希望看到文章的朋友能够学到更多.

介绍:这是一篇介绍在动态网络里面实现分布式系统重构的paper.论文的作者(导师)是MIT读博的时候是做分布式系统的研究的,现在在NUS带学生,不仅仅是分布式系统,还有无线网络.如果感兴趣可以去他的主页了解.

@dyhpoon
dyhpoon / list.md
Created July 2, 2022 14:04 — forked from ih2502mk/list.md
Quantopian Lectures Saved
@dyhpoon
dyhpoon / docker-compose.yml
Created November 8, 2020 13:41 — forked from LiveOverflow/docker-compose.yml
flaglab - Real World CTF 2018
web:
image: 'gitlab/gitlab-ce:11.4.7-ce.0'
restart: always
hostname: 'gitlab.example.com'
environment:
GITLAB_OMNIBUS_CONFIG: |
external_url 'http://gitlab.example.com'
redis['bind']='127.0.0.1'
redis['port']=6379
gitlab_rails['initial_root_password']=File.read('/steg0_initial_root_password')
@dyhpoon
dyhpoon / papers.md
Created September 6, 2020 04:15 — forked from dominictarr/papers.md
Distributed Systems Papers

(dominic: this list of papers was originally recommended to me by Brain Noguchi @bnoguchi, and was a great start to understanding distributed systems)

Here's a selection of papers that I think you would find helpful and interesting:

Time, Clocks, and the Ordering of Events in a Distributed System

The seminal paper about event ordering and concurrency. The important result is that events in a distributed system define a partially ordered set. The connection to what we're working on is fundamental, as this defines how to detect concurrent updates. Moreover, the chosen algorithm to turn the partially ordered set into a totally ordered set defines the conflict resolution algorithm.

http://research.microsoft.com/en-us/um/people/lamport/pubs/time-clocks.pdf

$ - rename session
s - sessions
q - select pane
z - zoom
d - detach
[ - scroll
] - paste
? - show shortcuts
@dyhpoon
dyhpoon / example.js
Last active March 4, 2019 07:11
js loosely comparisons
Boolean(undefined) // false
Boolean(null) // false
// however
false == undefined // false
false == null // false
// example in a security check
var user = {
name: 'Karl'
# This tells kubecfg to read its config from the local directory
export KUBECONFIG=./kubeconfig
# Looking at the cluster
kubectl get nodes
kubectl get pods --namespace=kube-system
# Running a single pod
kubectl run --generator=run-pod/v1 --image=gcr.io/kuar-demo/kuard-amd64:1 kuard
kubectl get pods
@dyhpoon
dyhpoon / Enhance.js
Created January 6, 2017 10:37 — forked from sebmarkbage/Enhance.js
Higher-order Components
import { Component } from "React";
export var Enhance = ComposedComponent => class extends Component {
constructor() {
this.state = { data: null };
}
componentDidMount() {
this.setState({ data: 'Hello' });
}
render() {
@dyhpoon
dyhpoon / gist:1799df4656c3ff88e622
Last active November 17, 2015 07:13
Fix .gitignore not working properly
1) Commit all changed code / stash it first.
2) Fix .gitignore
3) git rm -r --cached .
This removes everything from the index.
4) git add .