|
|
@ -34,6 +34,7 @@ for SCANNETWORK in $(ls ~/irclogs/); do echo -n -e "$SCANNETWORK\t" && grep http |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
String.prototype.ColorHash = function(){ |
|
|
|
String.prototype.ColorHash = function(){ |
|
|
|
|
|
|
|
// from http://werxltd.com/wp/2010/05/13/javascript-implementation-of-javas-string-hashcode-method/
|
|
|
|
var hash = 0; |
|
|
|
var hash = 0; |
|
|
|
if (this.length == 0) return hash; |
|
|
|
if (this.length == 0) return hash; |
|
|
|
for (i = 0; i < this.length; i++) {
|
|
|
|
for (i = 0; i < this.length; i++) {
|
|
|
|