Skip to content

Commit ce45817

Browse files
committed
Update site
1 parent fc0c758 commit ce45817

File tree

10 files changed

+38
-27
lines changed

10 files changed

+38
-27
lines changed

_octopress/source/_includes/custom/community.html

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ <h2>Contributors (53)</h2>
33
<p>People coding</p>
44
<a target="_blank" rel="tooltip" data-placement="bottom" title="kvz" href="https://github.com/kvz"><img src="https://avatars.githubusercontent.com/u/26752&s=64" /></a>
55
<a target="_blank" rel="tooltip" data-placement="bottom" title="brettz9" href="https://github.com/brettz9"><img src="https://avatars.githubusercontent.com/u/20234&s=64" /></a>
6-
<a target="_blank" rel="tooltip" data-placement="bottom" title="Theriault" href="https://github.com/Theriault"><img src="https://avatars.githubusercontent.com/u/150607&s=64" /></a>
7-
<a target="_blank" rel="tooltip" data-placement="bottom" title="louisstow" href="https://github.com/louisstow"><img src="https://avatars.githubusercontent.com/u/164316&s=64" /></a>
86
<a target="_blank" rel="tooltip" data-placement="bottom" title="kukawski" href="https://github.com/kukawski"><img src="https://avatars.githubusercontent.com/u/346655&s=64" /></a>
97
<a target="_blank" rel="tooltip" data-placement="bottom" title="onnomarsman" href="https://github.com/onnomarsman"><img src="https://avatars.githubusercontent.com/u/736516&s=64" /></a>
8+
<a target="_blank" rel="tooltip" data-placement="bottom" title="Theriault" href="https://github.com/Theriault"><img src="https://avatars.githubusercontent.com/u/150607&s=64" /></a>
109
<a target="_blank" rel="tooltip" data-placement="bottom" title="marcuswestin" href="https://github.com/marcuswestin"><img src="https://avatars.githubusercontent.com/u/131967&s=64" /></a>
1110
<a target="_blank" rel="tooltip" data-placement="bottom" title="codemasher" href="https://github.com/codemasher"><img src="https://avatars.githubusercontent.com/u/592497&s=64" /></a>
11+
<a target="_blank" rel="tooltip" data-placement="bottom" title="louisstow" href="https://github.com/louisstow"><img src="https://avatars.githubusercontent.com/u/164316&s=64" /></a>
1212
<a target="_blank" rel="tooltip" data-placement="bottom" title="Petah" href="https://github.com/Petah"><img src="https://avatars.githubusercontent.com/u/134799&s=64" /></a>
1313
<a target="_blank" rel="tooltip" data-placement="bottom" title="tersmitten" href="https://github.com/tersmitten"><img src="https://avatars.githubusercontent.com/u/3392962&s=64" /></a>
1414
<a target="_blank" rel="tooltip" data-placement="bottom" title="ironmagma" href="https://github.com/ironmagma"><img src="https://avatars.githubusercontent.com/u/484422&s=64" /></a>
@@ -58,6 +58,18 @@ <h2>Contributors (53)</h2>
5858
<div class="in-the-githubs">
5959
<h2>Collaborators (45)</h2>
6060
<p>People commenting</p>
61+
<a target="_blank" rel="tooltip" data-placement="bottom" title="mgcrea" href="https://github.com/mgcrea"><img src="https://avatars.githubusercontent.com/u/108273&s=64" /></a>
62+
<a target="_blank" rel="tooltip" data-placement="bottom" title="berkerpeksag" href="https://github.com/berkerpeksag"><img src="https://avatars.githubusercontent.com/u/26338&s=64" /></a>
63+
<a target="_blank" rel="tooltip" data-placement="bottom" title="pfeifi" href="https://github.com/pfeifi"><img src="https://avatars.githubusercontent.com/u/138233&s=64" /></a>
64+
<a target="_blank" rel="tooltip" data-placement="bottom" title="jbutz" href="https://github.com/jbutz"><img src="https://avatars.githubusercontent.com/u/736696&s=64" /></a>
65+
<a target="_blank" rel="tooltip" data-placement="bottom" title="elhoyos" href="https://github.com/elhoyos"><img src="https://avatars.githubusercontent.com/u/577520&s=64" /></a>
66+
<a target="_blank" rel="tooltip" data-placement="bottom" title="thekid" href="https://github.com/thekid"><img src="https://avatars.githubusercontent.com/u/696742&s=64" /></a>
67+
<a target="_blank" rel="tooltip" data-placement="bottom" title="SignpostMarv" href="https://github.com/SignpostMarv"><img src="https://avatars.githubusercontent.com/u/304403&s=64" /></a>
68+
<a target="_blank" rel="tooltip" data-placement="bottom" title="Freyskeyd" href="https://github.com/Freyskeyd"><img src="https://avatars.githubusercontent.com/u/1394604&s=64" /></a>
69+
<a target="_blank" rel="tooltip" data-placement="bottom" title="ghost" href="https://github.com/ghost"><img src="https://avatars.githubusercontent.com/u/10137&s=64" /></a>
70+
<a target="_blank" rel="tooltip" data-placement="bottom" title="cyildirim" href="https://github.com/cyildirim"><img src="https://avatars.githubusercontent.com/u/1422426&s=64" /></a>
71+
<a target="_blank" rel="tooltip" data-placement="bottom" title="terrafrost" href="https://github.com/terrafrost"><img src="https://avatars.githubusercontent.com/u/214474&s=64" /></a>
72+
<a target="_blank" rel="tooltip" data-placement="bottom" title="meglio" href="https://github.com/meglio"><img src="https://avatars.githubusercontent.com/u/282177&s=64" /></a>
6173
<a target="_blank" rel="tooltip" data-placement="bottom" title="dannykopping" href="https://github.com/dannykopping"><img src="https://avatars.githubusercontent.com/u/373762&s=64" /></a>
6274
<a target="_blank" rel="tooltip" data-placement="bottom" title="hilmishariff" href="https://github.com/hilmishariff"><img src="https://avatars.githubusercontent.com/u/6244335&s=64" /></a>
6375
<a target="_blank" rel="tooltip" data-placement="bottom" title="timgluz" href="https://github.com/timgluz"><img src="https://avatars.githubusercontent.com/u/1223889&s=64" /></a>
@@ -74,26 +86,14 @@ <h2>Collaborators (45)</h2>
7486
<a target="_blank" rel="tooltip" data-placement="bottom" title="mlataza" href="https://github.com/mlataza"><img src="https://avatars.githubusercontent.com/u/1750947&s=64" /></a>
7587
<a target="_blank" rel="tooltip" data-placement="bottom" title="spyesx" href="https://github.com/spyesx"><img src="https://avatars.githubusercontent.com/u/372514&s=64" /></a>
7688
<a target="_blank" rel="tooltip" data-placement="bottom" title="Avinash-Bhat" href="https://github.com/Avinash-Bhat"><img src="https://avatars.githubusercontent.com/u/1468910&s=64" /></a>
77-
<a target="_blank" rel="tooltip" data-placement="bottom" title="ghost" href="https://github.com/ghost"><img src="https://avatars.githubusercontent.com/u/10137&s=64" /></a>
7889
<a target="_blank" rel="tooltip" data-placement="bottom" title="Costent" href="https://github.com/Costent"><img src="https://avatars.githubusercontent.com/u/1873880&s=64" /></a>
7990
<a target="_blank" rel="tooltip" data-placement="bottom" title="jarodium" href="https://github.com/jarodium"><img src="https://avatars.githubusercontent.com/u/1470446&s=64" /></a>
8091
<a target="_blank" rel="tooltip" data-placement="bottom" title="ruafozy" href="https://github.com/ruafozy"><img src="https://avatars.githubusercontent.com/u/1799942&s=64" /></a>
8192
<a target="_blank" rel="tooltip" data-placement="bottom" title="ylluminate" href="https://github.com/ylluminate"><img src="https://avatars.githubusercontent.com/u/248440&s=64" /></a>
8293
<a target="_blank" rel="tooltip" data-placement="bottom" title="YOMorales" href="https://github.com/YOMorales"><img src="https://avatars.githubusercontent.com/u/154674&s=64" /></a>
8394
<a target="_blank" rel="tooltip" data-placement="bottom" title="tristanleboss" href="https://github.com/tristanleboss"><img src="https://avatars.githubusercontent.com/u/1431508&s=64" /></a>
8495
<a target="_blank" rel="tooltip" data-placement="bottom" title="rbro" href="https://github.com/rbro"><img src="https://avatars.githubusercontent.com/u/195605&s=64" /></a>
85-
<a target="_blank" rel="tooltip" data-placement="bottom" title="jbutz" href="https://github.com/jbutz"><img src="https://avatars.githubusercontent.com/u/736696&s=64" /></a>
8696
<a target="_blank" rel="tooltip" data-placement="bottom" title="nbcoder" href="https://github.com/nbcoder"><img src="https://avatars.githubusercontent.com/u/430715&s=64" /></a>
87-
<a target="_blank" rel="tooltip" data-placement="bottom" title="mgcrea" href="https://github.com/mgcrea"><img src="https://avatars.githubusercontent.com/u/108273&s=64" /></a>
88-
<a target="_blank" rel="tooltip" data-placement="bottom" title="berkerpeksag" href="https://github.com/berkerpeksag"><img src="https://avatars.githubusercontent.com/u/26338&s=64" /></a>
89-
<a target="_blank" rel="tooltip" data-placement="bottom" title="pfeifi" href="https://github.com/pfeifi"><img src="https://avatars.githubusercontent.com/u/138233&s=64" /></a>
90-
<a target="_blank" rel="tooltip" data-placement="bottom" title="elhoyos" href="https://github.com/elhoyos"><img src="https://avatars.githubusercontent.com/u/577520&s=64" /></a>
91-
<a target="_blank" rel="tooltip" data-placement="bottom" title="thekid" href="https://github.com/thekid"><img src="https://avatars.githubusercontent.com/u/696742&s=64" /></a>
92-
<a target="_blank" rel="tooltip" data-placement="bottom" title="SignpostMarv" href="https://github.com/SignpostMarv"><img src="https://avatars.githubusercontent.com/u/304403&s=64" /></a>
93-
<a target="_blank" rel="tooltip" data-placement="bottom" title="Freyskeyd" href="https://github.com/Freyskeyd"><img src="https://avatars.githubusercontent.com/u/1394604&s=64" /></a>
94-
<a target="_blank" rel="tooltip" data-placement="bottom" title="cyildirim" href="https://github.com/cyildirim"><img src="https://avatars.githubusercontent.com/u/1422426&s=64" /></a>
95-
<a target="_blank" rel="tooltip" data-placement="bottom" title="terrafrost" href="https://github.com/terrafrost"><img src="https://avatars.githubusercontent.com/u/214474&s=64" /></a>
96-
<a target="_blank" rel="tooltip" data-placement="bottom" title="meglio" href="https://github.com/meglio"><img src="https://avatars.githubusercontent.com/u/282177&s=64" /></a>
9797
<a target="_blank" rel="tooltip" data-placement="bottom" title="tacone" href="https://github.com/tacone"><img src="https://avatars.githubusercontent.com/u/659801&s=64" /></a>
9898
<a target="_blank" rel="tooltip" data-placement="bottom" title="dnukem" href="https://github.com/dnukem"><img src="https://avatars.githubusercontent.com/u/4870821&s=64" /></a>
9999
<a target="_blank" rel="tooltip" data-placement="bottom" title="liverbool" href="https://github.com/liverbool"><img src="https://avatars.githubusercontent.com/u/206804&s=64" /></a>

_octopress/source/functions/array_multisort/index.markdown

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ function array_multisort(arr) {
5555

5656
var sortFunctions = [
5757
[
58+
5859
function(a, b) {
5960
lastSort.push(a > b ? 1 : (a < b ? -1 : 0));
6061
return a > b ? 1 : (a < b ? -1 : 0);
@@ -65,6 +66,7 @@ function array_multisort(arr) {
6566
}
6667
],
6768
[
69+
6870
function(a, b) {
6971
lastSort.push(a - b);
7072
return a - b;
@@ -75,6 +77,7 @@ function array_multisort(arr) {
7577
}
7678
],
7779
[
80+
7881
function(a, b) {
7982
lastSort.push((a + '') > (b + '') ? 1 : ((a + '') < (b + '') ? -1 : 0));
8083
return (a + '') > (b + '') ? 1 : ((a + '') < (b + '') ? -1 : 0);

_octopress/source/functions/base64_decode/index.markdown

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ function base64_decode(data) {
2828
// bugfixed by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)
2929
// example 1: base64_decode('S2V2aW4gdmFuIFpvbm5ldmVsZA==');
3030
// returns 1: 'Kevin van Zonneveld'
31+
// example 2: base64_decode('YQ===');
32+
// returns 2: 'a'
3133

3234
var b64 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
3335
var o1, o2, o3, h1, h2, h3, h4, bits, i = 0,
@@ -64,7 +66,7 @@ function base64_decode(data) {
6466

6567
dec = tmp_arr.join('');
6668

67-
return dec;
69+
return dec.replace(/\0+$/, '');
6870
}
6971
{% endcodeblock %}
7072

_octopress/source/functions/base64_encode/index.markdown

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ function base64_encode(data) {
2626
// bugfixed by: Pellentesque Malesuada
2727
// example 1: base64_encode('Kevin van Zonneveld');
2828
// returns 1: 'S2V2aW4gdmFuIFpvbm5ldmVsZA=='
29+
// example 2: base64_encode('a');
30+
// returns 2: 'YQ=='
2931

3032
var b64 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
3133
var o1, o2, o3, h1, h2, h3, h4, bits, i = 0,

_octopress/source/functions/date/index.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,8 +290,8 @@ function date(format, timestamp) {
290290
that = this;
291291
jsdate = (timestamp === undefined ? new Date() : // Not provided
292292
(timestamp instanceof Date) ? new Date(timestamp) : // JS Date()
293-
new Date(timestamp * 1000) // UNIX timestamp (auto-convert to int)
294-
);
293+
new Date(timestamp * 1000) // UNIX timestamp (auto-convert to int)
294+
);
295295
return format.replace(formatChr, formatChrCb);
296296
};
297297
return this.date(format, timestamp);

_octopress/source/functions/in_array/index.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function in_array(needle, haystack, argStrict) {
3535

3636
var key = '',
3737
strict = !! argStrict;
38-
38+
3939
//we prevent the double check (strict && arr[key] === ndl) || (!strict && arr[key] == ndl)
4040
//in just one for, in order to improve the performance
4141
//deciding wich type of comparation will do before walk array

_octopress/source/functions/metaphone/index.markdown

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,14 @@ function metaphone(word, max_phonemes) {
5959
leadingNonAlpha = new RegExp('^[^' + alpha + ']+');
6060

6161
word = typeof word === 'string' ? word : '';
62-
word = word.toUpperCase().replace(leadingNonAlpha, '');
62+
word = word.toUpperCase()
63+
.replace(leadingNonAlpha, '');
6364

6465
if (!word) {
6566
return '';
6667
}
6768

68-
var is = function (p, c) {
69+
var is = function(p, c) {
6970
return c !== '' && p.indexOf(c) !== -1;
7071
};
7172

@@ -235,7 +236,7 @@ function metaphone(word, max_phonemes) {
235236
}
236237

237238
return meta;
238-
239+
239240
/*
240241
" abc", "ABK", // skip leading whitespace
241242
"1234.678!@abc", "ABK", // skip leading non-alpha chars

_octopress/source/functions/number_format/index.markdown

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ function number_format(number, decimals, dec_point, thousands_sep) {
6363
// returns 12: '1.200'
6464
// example 13: number_format('1 000,50', 2, '.', ' ');
6565
// returns 13: '100 050.00'
66+
// example 14: number_format(1e-8, 8, '.', '');
67+
// returns 14: '0.00000001'
6668

6769
number = (number + '')
6870
.replace(/[^0-9+\-Ee.]/g, '');
@@ -73,7 +75,8 @@ function number_format(number, decimals, dec_point, thousands_sep) {
7375
s = '',
7476
toFixedFix = function(n, prec) {
7577
var k = Math.pow(10, prec);
76-
return '' + Math.round(n * k) / k;
78+
return '' + (Math.round(n * k) / k)
79+
.toFixed(prec);
7780
};
7881
// Fix for IE parseFloat(0.55).toFixed(0) = 0;
7982
s = (prec ? toFixedFix(n, prec) : '' + Math.round(n))

_octopress/source/functions/str_getcsv/index.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ function str_getcsv(input, delimiter, enclosure, escape) {
2323
// example 2: str_getcsv('"row2""cell1","row2cell2","row2cell3"', null, null, '"');
2424
// returns 2: ['row2"cell1', 'row2cell2', 'row2cell3']
2525

26-
// These test cases allowing for missing delimiters are not currently supported
27-
/*
26+
// These test cases allowing for missing delimiters are not currently supported
27+
/*
2828
str_getcsv('"row2""cell1",row2cell2,row2cell3', null, null, '"');
2929
['row2"cell1', 'row2cell2', 'row2cell3']
3030

_octopress/source/functions/utf8_encode/index.markdown

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,16 @@ function utf8_encode(argString) {
5151
enc = String.fromCharCode(
5252
(c1 >> 6) | 192, (c1 & 63) | 128
5353
);
54-
} else if (c1 & 0xF800 != 0xD800) {
54+
} else if ((c1 & 0xF800) != 0xD800) {
5555
enc = String.fromCharCode(
5656
(c1 >> 12) | 224, ((c1 >> 6) & 63) | 128, (c1 & 63) | 128
5757
);
5858
} else { // surrogate pairs
59-
if (c1 & 0xFC00 != 0xD800) {
59+
if ((c1 & 0xFC00) != 0xD800) {
6060
throw new RangeError('Unmatched trail surrogate at ' + n);
6161
}
6262
var c2 = string.charCodeAt(++n);
63-
if (c2 & 0xFC00 != 0xDC00) {
63+
if ((c2 & 0xFC00) != 0xDC00) {
6464
throw new RangeError('Unmatched lead surrogate at ' + (n - 1));
6565
}
6666
c1 = ((c1 & 0x3FF) << 10) + (c2 & 0x3FF) + 0x10000;

0 commit comments

Comments
 (0)