摘要: Tools markdownpad webstorm xmind evernote notepad++ pycharm visual studio jd gui everything jenkins sublime xshell visio 阅读全文
posted @ 2015-12-10 22:36 sam_rui 阅读(117) 评论(0) 推荐(0) 编辑
摘要: Test 阅读全文
posted @ 2015-12-10 22:34 sam_rui 阅读(115) 评论(0) 推荐(0) 编辑
摘要: Customize the admin page 阅读全文
posted @ 2015-12-10 22:34 sam_rui 阅读(101) 评论(0) 推荐(0) 编辑
摘要: Adding static files 阅读全文
posted @ 2015-12-10 22:34 sam_rui 阅读(70) 评论(0) 推荐(0) 编辑
摘要: Form 阅读全文
posted @ 2015-12-10 22:33 sam_rui 阅读(80) 评论(0) 推荐(0) 编辑
摘要: View In Django, each view is represented by a simple python function.To get from a URL to view, Django uses what are know as 'URLconfs'. A URL conf m... 阅读全文
posted @ 2015-12-10 22:32 sam_rui 阅读(168) 评论(0) 推荐(0) 编辑
摘要: Database Default database In the project setting file 'samsite/settings.py', there are some lines' code about the db. DATABASES = { 'default'... 阅读全文
posted @ 2015-12-10 22:31 sam_rui 阅读(178) 评论(0) 推荐(0) 编辑
摘要: Django Admin Django entirely automates creation of admin interfaces for models.The admin isn't intended to be used by site visitors.It's for site m... 阅读全文
posted @ 2015-12-10 22:31 sam_rui 阅读(164) 评论(0) 推荐(0) 编辑
摘要: Demo Install Verifing C:\Users\sam_rui python version Python 3.5.0 C:\Users\sam_rui python Python 3.5.0 (v3.5.0:374f501f4567, Sep 13 2015, ... 阅读全文
posted @ 2015-12-10 22:30 sam_rui 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 1.splunk feature indexing <br data source: packaged and custom applications, application servers, web servers, databases, networks, virtual machine... 阅读全文
posted @ 2015-12-10 22:23 sam_rui 阅读(267) 评论(0) 推荐(0) 编辑
摘要: splunk 6.3.1 Splunk splunk通过快速、灵活的IT搜索,实现企业IT管理、安全以及审计的根本性变革。splunk将出色的为您挖掘IT数据中的所有潜在价值。 索引全部IT数据 索引范围涵盖应用、服务器、网络设备中的所有日志、配置、信息、trap、告警、度量以及其他系统性能数... 阅读全文
posted @ 2015-12-10 22:21 sam_rui 阅读(393) 评论(0) 推荐(0) 编辑
摘要: flume + HDFS + MapReduce,flume高可用、高可靠,分布式的海量日志采集、聚合和传输系统,目前是apache的一个子项目。使用语言java。agent和collector,collector和store之间都有容错性。agent和collector间,collector和s... 阅读全文
posted @ 2015-12-10 22:18 sam_rui 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 有些日志文件甚至为日志编制索引,以便搜索起来既快速又方便,像splunk这些商用的工具就提供了这种增值类型的日志服务。 面对这些商用日志工具,开源社区祭出的利器就是logstash,这项日志服务提供了一种选择,可以通过web界面搜索现有的日志条目。 logstash本身是个java应用程序,l... 阅读全文
posted @ 2015-12-10 22:15 sam_rui 阅读(98) 评论(0) 推荐(0) 编辑
摘要: YouTube platform apache python linux(suse) mysql psyco(compile python to c) lighttpd statistics 支持每天1亿的视频点击量 阅读全文
posted @ 2015-12-10 22:14 sam_rui 阅读(131) 评论(0) 推荐(0) 编辑
摘要: Youku statistics 2010年,pv达到17亿。 database evolution 单台数据库服务器 主从复制 SSD优化 垂直分库 水平分库 The master and slave duplication can bring some performance bottle... 阅读全文
posted @ 2015-12-10 22:13 sam_rui 阅读(141) 评论(0) 推荐(0) 编辑
摘要: the diff between var and dynamic 1. var表示“变量的类型是在编译时决定的”, var让你在初始化变量时少输入一些字,编译器会根据右值来推断出变量的类型, var只能用于局部变量的定义,你不能把类的属性定义成 var,也不能把方法的返回值类型或者是参数类型定义成... 阅读全文
posted @ 2015-12-10 22:05 sam_rui 阅读(1735) 评论(0) 推荐(0) 编辑
摘要: C coding style 代码总体原则 清晰第一。清晰性是易于维护、易于重构的程序必须具备的特征。 简洁为美。简介就是易于理解并且易于实现。 选择合适的风格,与源代码风格保持一致。 头文件 头文件的设计体现了大部分的系统设计,不合理的头文件布局是编译时间过长的根因,实际上是... 阅读全文
posted @ 2015-12-10 21:59 sam_rui 阅读(3692) 评论(0) 推荐(0) 编辑
摘要: Sam's Study Records. 阅读全文
posted @ 2015-12-10 13:09 sam_rui 阅读(216) 评论(0) 推荐(0) 编辑