This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
必胜公考 | |
1. 产品定位 | |
公务员在线备考服务平台 | |
课程,题库,问答,资讯,班级 | |
2. 盈利(转化路径) | |
新增 - 低价课/免费课 - 系统课 - 线下封闭班 | |
3. 提供公司运营效率 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
一、基本介绍 | |
LVS是工作在内核内间的TCP/IP协议栈上,且监控在INPUT链上,所以一般情况下LVS 和iptables 最好不要同时使用. | |
Keepalived是一个基于ARRP协议来实现高可用的服务,keepalived能够自己调用ipvsadm命令生成规则,能够自动实现,将主节点的VIP以及ipvs规则“拿过来”,应用在从节点上,继续为用户服务。还可以实现对后端realserver的健康状况做检测。 | |
LVS三种工作模式(NAT、DR、TUN), 通常用的最多的是DR模式 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grep rw-p /proc/$1/maps | sed -n 's/^\([0-9a-f]*\)-\([0-9a-f]*\) .*$/\1 \2/p' | while read start stop; do; done | |
grep rw-p /proc/25396/maps | |
gdb --batch --pid 25396 -ex "dump memory a.dump 0x2ab09ee3f000 0x2ab176e40000" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local redis = { | |
_VERSION = 'redis-lua 2.0.5-dev', | |
_DESCRIPTION = 'A Lua client library for the redis key value storage system.', | |
_COPYRIGHT = 'Copyright (C) 2009-2012 Daniele Alessandri', | |
} | |
-- The following line is used for backwards compatibility in order to keep the `Redis` | |
-- global module name. Using `Redis` is now deprecated so you should explicitly assign | |
-- the module to a local variable when requiring it: `local redis = require('redis')`. | |
Redis = redis |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
div {border:1px;border-color:#ECE} | |
div#one p{display:inline;width:50px} | |
div#two p{display:block} | |
div#three p{display:inline-block;width:50px} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
body{ | |
background: #f06; | |
background: linear-gradient(45deg, #f06, yellow); | |
min-height:100%;} | |
div {color:white;} | |
p:first-letter{color:#ECE;font-size:30px;} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
body{ | |
background: #f06; | |
background: linear-gradient(45deg, #f06, yellow); | |
min-height:100%;} | |
div {color:white;} | |
p:first-letter{color:#ECE;font-size:30px;} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
body{ | |
background: #f06; | |
background: linear-gradient(45deg, #f06, yellow); | |
min-height:100%; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
body{ | |
background: #f063; | |
background: linear-gradient(45deg, #f06, yellow); | |
min-height:100%; | |
font-size: 20px; | |
line-height: 2em; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
body{ | |
background: #f063; | |
background: linear-gradient(45deg, #f06, yellow); | |
min-height:100%; | |
font-size: 20px; | |
line-height: 2em; |
NewerOlder