Skip to content

Instantly share code, notes, and snippets.

Vladimir Nikolic nezaboravi

Block or report user

Report or block nezaboravi

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
@ilmsg
ilmsg / mapReduce-WordCounter.js
Created Apr 7, 2017 — forked from bradoyler/mapReduce-WordCounter.js
Using Map-Reduce in Javascript: counting words in a string.
View mapReduce-WordCounter.js
// for counting words in a string
var words="Hi there and hello there. Welcome and hello there.";
var wordcnt = words.replace(/[^\w\s]/g, "").split(/\s+/).reduce(function(map, word){
map[word] = (map[word]||0)+1;
return map;
}, Object.create(null));
@obiconbig
obiconbig / gist:5122390
Last active Jul 13, 2019
How to use Codeception on CodeIgniter 2.1.x
View gist:5122390

How to use Codeception on CodeIgniter 2.1.x

Using Codeception Test with CodeIgniter

Requirements

  • PHP >= 5.3
  • PHP CURL extension enabled
You can’t perform that action at this time.