Skip to content

Instantly share code, notes, and snippets.

Yang He abruzzihraig

Block or report user

Report or block abruzzihraig

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
abruzzihraig / font-family.css
Last active Aug 29, 2015
View font-family.css
font-family: Helvetica, Tahoma, Arial, STXihei, "华文细黑", "Microsoft YaHei", "微软雅黑", SimSun, "宋体", Heiti, "黑体", sans-serif;
abruzzihraig / index.html
Last active Aug 29, 2015
A Pen by abruzzi.
View index.html
<img class="pic" src="" alt="github" />
<div class="scroller-container">
<div class="scroller"></div>
abruzzihraig / jQuery.reduce patch
Last active Aug 29, 2015
This is a patch that supports reduce function for jQuery.
View jQuery.reduce patch
$.reduce = function(arr, reduce_cb, prev) {
arr = arr.toArray();
if (Array.prototype.reduce) {
return, reduce_cb, prev);
$.each(arr, function(i, cur) {
result =, prev, cur, i, arr);
prev = cur;
return result;
You can’t perform that action at this time.