Skip to content

Instantly share code, notes, and snippets.

View AidanDai's full-sized avatar
💭
I may be slow to respond.

Aidan AidanDai

💭
I may be slow to respond.
View GitHub Profile

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


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

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

@oliveratgithub
oliveratgithub / emojis.json
Last active November 14, 2024 11:47
Emoji-list with emojis, names, shortcodes, unicode and html entities [massive list]
{
"emojis": [
{"emoji": "👩‍👩‍👧‍👧", "name": "family: woman, woman, girl, girl", "shortname": ":woman_woman_girl_girl:", "unicode": "1F469 200D 1F469 200D 1F467 200D 1F467", "html": "👩‍👩‍👧‍👧", "category": "People & Body (family)", "order": ""},
{"emoji": "👩‍👩‍👧‍👦", "name": "family: woman, woman, girl, boy", "shortname": ":woman_woman_girl_boy:", "unicode": "1F469 200D 1F469 200D 1F467 200D 1F466", "html": "👩‍👩‍👧‍👦", "category": "People & Body (family)", "order": ""},
{"emoji": "👩‍👩‍👦‍👦", "name": "family: woman, woman, boy, boy", "shortname": ":woman_woman_boy_boy:", "unicode": "1F469 200D 1F469 200D 1F466 200D 1F466", "html": "👩‍👩‍👦‍👦", "category": "People & Body (family)", "order": ""},
{"emoji": "👨‍👩‍👧‍👧", "name": "family: man, woman, girl, girl", "shortname": ":man_woman_girl_girl:", "unicode": "1F468 200D 1F469 200D 1F467 200D 1F467", "html": "👨‍👩&z
#!/bin/bash
# 金融指数:s_sz399240
# 中证500:s_sz399905
# 中证白酒:s_sz399997
while :
do
echo -n "| `date +%H:%M` | "
output=`curl -s "http://hq.sinajs.cn/list=s_sh000001,s_sh000300,s_sz399905,s_sz399001,s_sz399006,s_sh000016" | iconv -f gbk -t utf8 | sed 's/中证 500/中证500/' | awk -F'[",]' 'BEGIN{ORS=" | "}{print $2,$3,$5"%"}'; curl -s "http://hq.sinajs.cn/?list=rt_hkHSI" | iconv -f gbk -t utf8 | awk -F'[",]' 'BEGIN{ORS=" | "}{print $3,$8,$10"%"}'`
@zmmbreeze
zmmbreeze / analytics.js
Last active August 13, 2024 08:08
GA的源码 analytics.js
(function() {
/**
* 记录方法使用情况的类
* @param {Array.<boolean>} umMap 初始的使用情况
*/
var UsageManager = function(umMap) {
this.umMap = umMap || [];
};
/**
* 记录新的使用情况
@zxhfighter
zxhfighter / bezier.md
Last active May 13, 2018 03:34
贝塞尔曲线

贝塞尔曲线

前言

如果你仔细留意的话,贝塞尔曲线其实无处不在,例如:

  • 英文字体
  • PS中的钢笔工具
  • CSS动画
  • SVG绘图
@yisibl
yisibl / HTML-tags.md
Last active September 15, 2024 14:09
常用的 HTML 头部标签

常用的 HTML 头部标签

详细介绍参见原文:yisibl/blog#1

<!DOCTYPE html> <!-- 使用 HTML5 doctype,不区分大小写 -->
<html lang="zh-cmn-Hans"> <!-- 更加标准的 lang 属性写法 http://zhi.hu/XyIa -->
<head>
    <meta charset='utf-8'> <!-- 声明文档使用的字符编码 -->
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <!-- 优先使用 IE 最新版本和 Chrome -->
@simondahla
simondahla / google-analytics-siteSpeedSampleRate.js
Last active August 4, 2018 17:45
Set proper Sample Rate for Site Speed http://blog.mythly.com/improve-site-speed-in-google-analytics/ Note: Google will automatically cap the sample rate to 10k pageviews a day.
_gaq.push(['_setSiteSpeedSampleRate', 100]);