Skip to content

Instantly share code, notes, and snippets.

View oangeor's full-sized avatar
😀
hello world

Chuncheng oangeor

😀
hello world
View GitHub Profile
@oangeor
oangeor / gist:bacf92e8815b1c2d509d11149a72960e
Created September 14, 2022 14:58
gid:rckBttgDcgJtzsYookJeRg
gid:rckBttgDcgJtzsYookJeRg
@oangeor
oangeor / 分布式系统学习资料.md
Created September 27, 2017 05:48 — forked from Mrlang/分布式系统学习资料.md
分布式系统学习资料

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


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

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

@oangeor
oangeor / 0_reuse_code.js
Created December 27, 2015 09:07
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@oangeor
oangeor / gitconfig.text
Last active August 29, 2015 14:17
~/.gitconfig
[user]
name = chuncheng
email = hi@chuncheng.me
[alias]
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --
d = difftool
st = status
ci = commit
co = checkout
@oangeor
oangeor / goagent.md
Last active December 13, 2015 23:48
Goagent使用
SUFFIXES = {1000: ['KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'],
1024: ['KiB', 'MiB', 'GiB', 'TiB', 'PiB', 'EiB', 'ZiB', 'YiB']}
def approximate_size(size, a_kilobyte_is_1024_bytes=True):
'''Convert a file size to human-readable form.
Keyword arguments:
size -- file size in bytes
a_kilobyte_is_1024_bytes -- if True (default), use multiples of 1024
if False, use multiples of 1000