Skip to content

Instantly share code, notes, and snippets.

View laiwei's full-sized avatar
🎯
Focusing

Vicla laiwei

🎯
Focusing
View GitHub Profile
@laiwei
laiwei / jd-devops.md
Created June 5, 2017 05:47
滴滴运维研发JD

职位描述:

  1. 负责滴滴线上业务的日常运维、优化、容量规划等工作,保障线上业务安全、稳定、高效地运行。
  2. 负责公司运维基础设施开发和运行维护,包括监控系统,运维平台,自动化部署系统,弹性云平台等。
  3. 研究和探索运维新技术和方向,持续提高运维效率,降低运营成本,保障业务稳定。。

职位要求:

  1. 计算机相关专业
  2. 熟悉操作系统原理、计算机网络等,基础知识扎实
  3. 熟悉Linux系统操作原理,了解Linux的安全机制,在Linux平台有深度使用、开发经验
@laiwei
laiwei / jd-distributed-file-system.md
Last active June 5, 2017 05:48
滴滴分布式存储运维研发JD

Ceph运维研发工程师

岗位职责:

  • 负责公司内Ceph 核⼼模块的开发,挑战大规模,高并发分布式存储;
  • 通过⼤量Ceph使⽤和实践案例,归纳总结Ceph目前的不⾜,并对其可⽤性、可靠性、性能方⾯进⾏持续改进;
  • 持续跟进,参与社区高级特性,BlueStore,Cache tierv2,ErasureCode,Compression,Checksum,Deduplication,Encryption等研发工作;
  • 参与Ceph整体产品架构设计;

岗位要求:

  • 熟悉linux环境开发,能够熟练使用linux中常见调试及分析工具,如:gdb,iostat,blktrace等;
@laiwei
laiwei / 60_stats_per_cpu_core.py
Created June 30, 2015 09:48
open-falcon plugin stats per cpu core
#! /usr/bin/env python
# -*- coding: utf-8 -*-
import time, os, socket
import json
metric = ['usr', 'nice', 'sys', 'idle', 'iowait', 'irq', 'soft', 'steal', 'guest']
host = socket.gethostname()
def get_cpu_core_stat(num):
# vmc update is great for test and development, however it stops your old app and stages and starts the new one,
# resulting in dropped requests.
# If you want to update an application without dropping user requests, see below.
# NOTE: This change assumes your application can share services, etc with the new version.
# Assume my app is named foo
vmc push foo-v2 --url foov2.cloudfoundry.com
body {
font-family: Helvetica, arial, sans-serif;
font-size: 14px;
line-height: 1.6;
padding-top: 10px;
padding-bottom: 10px;
background-color: white;
padding: 30px; }
body > *:first-child {
@laiwei
laiwei / pyweb.md
Created April 8, 2013 07:50
python web dev

python web 开发

先学习python

div into python -- 中文版本

div into python 这是一本python入门的小书,非常经典,不用花太久就能读完,然后就能开始着手写代码了!

接口规范

在线查看

已经接入的数据示例

hbase metrics

@laiwei
laiwei / perf_counter.md
Last active June 27, 2017 02:32
perf-counter 接口规范

Perf-Counter 数据接口规范

数据接口协议:

  • http方式
  • json格式

数据格式:

@laiwei
laiwei / bashrc
Created February 21, 2012 10:10
bashrc
# some more ls aliases
alias ll='ls -lF'
alias la='ls -A'
alias l='ls -CF'
alias j="jobs"
alias findpy='find -name "*.py"'
alias diff='colordiff'
alias svndiff='svn diff --diff-cmd=colordiff'