Skip to content

Instantly share code, notes, and snippets.

function tab1_gen_report(){
var team = $('#ms_team_tab1').val(),
granularity = $('#ms_granularity_tab1').val();
gen_chart('stacked_column', 'get_case_volume_by_ttc', 'chart_case_volume_by_ttc', team, granularity, start_date, end_date);
gen_chart('stacked_column', 'get_case_volume_by_ttc_sev_5_1', 'chart_case_volume_by_ttc_sev_5_1', team, granularity, start_date, end_date);
gen_chart('stacked_column', 'get_case_volume_by_ttc_sev_2_3_4', 'chart_case_volume_by_ttc_sev_2_3_4', team, granularity, start_date, end_date);
gen_chart('spline', 'get_avg_ttc', 'chart_avg_ttc', team, granularity, start_date, end_date);
gen_chart('spline', 'get_avg_ttc_by_severity', 'chart_avg_ttc_by_severity', team, granularity, start_date, end_date);
}
@elbertwang
elbertwang / describe_ec2_vpc_boto2.py
Created December 18, 2015 10:46
describe_ec2_vpc_boto2.py
from boto import vpc
connvpc = vpc.connect_to_region('cn-north-1')
vpcs = connvpc.get_all_vpcs()
subnets = connvpc.get_all_subnets()
print vpcs
print subnets
@elbertwang
elbertwang / sike-css
Last active August 29, 2015 14:21
sike css
.info-section{
background-color: #fff;
padding: 30px 60px;
}
.info-section header{
text-align: center;
}
.info-section header h2 {