Skip to content

Commit

Permalink
update resume
Browse files Browse the repository at this point in the history
  • Loading branch information
JianMeng committed Jan 4, 2017
1 parent c4859f4 commit 4499d0e
Show file tree
Hide file tree
Showing 3 changed files with 99 additions and 1 deletion.
1 change: 0 additions & 1 deletion _config.yml
@@ -1 +0,0 @@
pygments: true
96 changes: 96 additions & 0 deletions _layouts/resume.html
Expand Up @@ -480,6 +480,8 @@
nav a.next{ float: right; margin-left: 10px; }

</style>
<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
</head>

<body class="{{page.index}}">
Expand All @@ -497,10 +499,104 @@ <h1>{{page.title}}</h1>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-37379857-1']);
_gaq.push(['_trackPageview']);
function mkDIV() {
var dom = document.createElement('div');
dom.style.minWidth = '310px';
dom.style.height = '400px';
dom.style.maxWidth = '600px';
dom.style.margin = '0 auto'
return dom;
}
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
var dom, i, len, job,
jobs = document.getElementsByTagName('h3'),
config = {
chart: {
plotBackgroundColor: null,
plotBorderWidth: null,
plotShadow: false,
type: 'pie'
},
title: {
text: 'Language Used'
},
tooltip: {
pointFormat: '{series.name}: <b>{point.percentage:.1f}%</b>'
},
plotOptions: {
pie: {
allowPointSelect: true,
cursor: 'pointer',
dataLabels: {
enabled: true,
format: '<b>{point.name}</b>: {point.percentage:.1f} %',
style: {
color: (Highcharts.theme && Highcharts.theme.contrastTextColor) || 'black'
}
}
}
},
series: [{
name: 'used times',
colorByPoint: true,

}]
},
data = [
[{
name: 'javascript',
y: 90
}, {
name: 'java',
y: 10
}],
[{
name: 'python',
y: 20
}, {
name: 'javascript',
y: 30
}, {
name: 'erlang',
y: 2
}, {
name: 'C++',
y: 2
}, {
name: 'TCL',
y: 1
}, {
name: 'C',
y: 40,
sliced: true,
selected: true
}],
[{
name: 'C++',
y: 100,
sliced: true,
selected: true
}],
[{
name: 'C',
y: 60
}, {
name: 'C++',
y: 40,
sliced: true,
selected: true
}]
];
for (i = 0, len = jobs.length; i < len ;i++) {
dom = mkDIV();
job = jobs[i];
config.series[0].data = data[i];
job.parentNode.insertBefore(dom, job.nextSibling);
Highcharts.chart(dom, config);
}
})();
</script>
</body>
Expand Down
3 changes: 3 additions & 0 deletions _posts/2013-01-08-Resume-EN.md
Expand Up @@ -43,6 +43,9 @@ Current using [angular.js](https://angularjs.org) as web framework.
### Emerson eResource (Xi'an) Co.,Ltd, Xi'an, China

#### Web Developer - Feb 2013 to Now
* jquery, [angular.js](https://angularjs.org), [bootstrap](http://getbootstrap.com/), [sproutcore](http://sproutcore.com/)
* apache lucene document search
* Human computer design(HCD)protetype

### [Huawei Technologies Co., Ltd](http://www.huawei.com) , Shenzhen and Xi'an, China

Expand Down

0 comments on commit 4499d0e

Please sign in to comment.