自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

OSSRS

https://github.com/ossrs

  • 博客(12)
  • 资源 (30)
  • 收藏
  • 关注

原创 linux的errno

/**g++ error_test.cpp -g -O0 -o error_test./error_test 9*/#include #include #include #include int main(int argc, char** argv){ if(argc <= 1){ printf("Usage: %s \nFor example:\n

2012-12-29 22:40:14 855

翻译 Linus Torvalds:用户程序被破坏永远是Kernel的问题!

http://www.csdn.net/article/2012-12-25/2813136-linus-says-Mauro-shut-upLinus Torvalds:用户程序被破坏永远是Kernel的问题!发表于2小时前| 499次阅读| 来源CSDN| 4 条评论| 作者王然LinusLinux摘要:一直以“大嘴”著称的Linux之父——

2012-12-25 13:12:42 1744

原创 zmq: transport bridging, the pub-sub forward proxy

/*g++ pub-sub-bridge-publisher.cpp -lzmq -g -O0 -o objs/pub-sub-bridge-publisher*/#include #include #include #include #include #include int main(int argc, char** argv){ void* context = zm

2012-12-23 12:33:57 1592

原创 zmq: reqester-replyer router-dealer pattern.

/**g++ req-rep-router-dealer-requester.cpp -lzmq -g -O0 -o objs/req-rep-router-dealer-requester*/#include #include #include #include #include int main(int argc, char** argv){ void* context

2012-12-23 12:03:32 1699

原创 zmq: request-reply multiple clients to multiple server, brute force way

/**g++ req-res-N2M-brute-force-server.cpp -lzmq -g -O0 -o objs/req-res-N2M-brute-force-server*/#include #include #include #include #include #include int main(int argc, char** argv){ void

2012-12-23 10:53:59 1332

原创 zmq: dynamic discovery problem

/**g++ pub-sub-dynamic-discover-publisher.cpp -lzmq -g -O0 -o objs/pub-sub-dynamic-discover-publisher*/#include #include #include #include #include #include int main(int argc, char** argv){

2012-12-23 10:16:12 1674

原创 四个梦中的解决方案

梦中想到了几个靠谱的方案:1. Edge直播推流:直接使用代理方式即可,不需要做缓存。2. Edge点播方案:没有cache时使用代理方式,并发起一个cache请求,由cache进程完成后改为本地点播方式。3. 服务器不能同时使用两套架构,ST和ZeroMQ不能同时用,他们的方案不一样。换言之,只能用ST。4. 客户端应提供js方式的as接口,譬如js实现的NetConnectio

2012-12-23 08:49:42 1163

原创 zmq: basic patterns Request-Reply, Publisher-Subscriber, Denvilator-worker-sink.

#include#include /*g++ req-rep-server.cpp -lzmq -g -O0 -o objs/req-rep-server*/int main(int argc, char** argv){ void* context = zmq_ctx_new(); void* responder = zmq_socket(context, ZMQ_

2012-12-22 13:50:23 1245

转载 程序员如何做出“不难看”的设计

今天学了下色彩,这篇文章说的很对,特别是色彩使用,用HSB代替RGB。对比下面两个图:哪个看着舒服?前面的图是RGB选的颜色,后面的是用HSB调出来的。摘要:程序员在写代码的时候往往只注重功能的实现和性能的提升,忽视了外观和易用性,其实很多时候只要注意一些基本的规则,就可以大幅度提高产品的观感。经常看到程序员展示自己做的东西,有一些是创业项目

2012-12-12 18:09:31 994

原创 linux加载指定目录的so文件

例如,有个so在/tmp/libs/libzmq.so.3:[winlin@dev6 libs]$ ls /tmp/libs/ -lhtotal 2.5Mlrwxrwxrwx 1 winlin winlin 15 Dec 12 12:58 libzmq.so -> libzmq.so.3.0.0lrwxrwxrwx 1 winlin winlin 15 Dec 12 12:58

2012-12-12 13:12:05 8096

转载 Multithreaded Magic with ØMQ

http://zeromq.wdfiles.com/local--files/whitepapers%3Amultithreading-magic/imatix-multithreaded-magic.pdfMultithreadedMagic with ØMQFast multicore applications inany language with no painA

2012-12-09 13:38:03 4932

转载 Solving 11 Likely Problems In Your Multithreaded Code

http://msdn.microsoft.com/en-us/magazine/cc817398.aspxConcurrency HazardsSolving 11 Likely Problems In Your Multithreaded CodeJoe DuffyConcurrency is everywhere. Se

2012-12-09 13:22:36 3512

Effective Go (中文版).pdf

Effective Go (中文版) .

2015-11-11

nginx-rtmp

nginx-rtmp

2014-01-01

LDD 英文版

LDD 英文版

2013-12-05

H.264-AVC-ISO_IEC_14496-15.pdf

H.264-AVC-ISO_IEC_14496-15.pdf

2013-11-24

nginx-rtmp build script

build nginx rtmp base one nginx1.5

2013-11-14

OOAD booch 3rd edition

OOAD booch 3rd edition

2013-10-14

新一代视频压缩编码标准H.264

新一代视频压缩编码标准H.264

2013-04-08

Effective.STL

Effective.STL Effective.STL

2013-03-22

effective stl 中文版

effective stl 中文版

2013-03-22

android桌面小组件最简实例

android桌面小组件最简实例,最少代码。

2013-01-06

android桌面小组件

android桌面小组件官网实例 android桌面小组件

2013-01-06

zeromq guide

zeromq guide zeromq指南

2012-12-23

Pattern.Oriented.Software.Architecture.Volume.2

Pattern.Oriented.Software.Architecture.Volume.2

2012-11-29

ISO_IEC_14496-1

ISO_IEC_14496-1

2012-11-18

ISO_IEC_14496-3

ISO_IEC_14496-3

2012-11-18

ISO_IEC_14496-10

ISO_IEC_14496-10

2012-11-17

f4v-moov

f4v-moov

2012-11-16

ISO_IEC_14496-15

ISO_IEC_14496-15

2012-11-16

学习Go语言

学习Go语言,中文版

2012-11-12

Node.js开发指南

Node.js开发指南, about the node.js

2012-11-05

mp4 file format引用文档

mp4 file format引用文档 mp4 file format是 ISO_IEC_14496-14,引用了“ ISO_IEC_14496-12”文档。

2012-11-04

原版 mp4 file format

mp4-file-format ISO/IEC 14496-14

2012-11-04

ISO_IEC_14496-14_mp4-file-format

ISO_IEC_14496-14_mp4-file-format

2012-11-04

mp4 file format

mp4 file format, ISO_IEC_14496-14

2012-11-04

amf3_spec_121207

adobe amf3_spec_121207 format.

2012-10-29

amf0_spec_121207

adobe amf0_spec_121207 for amf0 format.

2012-10-29

video_file_format_spec_v10_1

video_file_format_spec_v10_1

2012-10-29

rtmp_specification_1.0

rtmp_specification_1.0

2012-10-29

The.Cpp.Programming.Language.Special.Edition

The.Cpp.Programming.Language.Special.Edition

2012-10-29

gperftools-2.0.tar.gz

gperftools-2.0.tar.gz

2012-08-04

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除