Skip to content

Instantly share code, notes, and snippets.


Dmitri Dimitrioglo ddimitrioglo

  • Republic of Moldova
View GitHub Profile
ddimitrioglo / mocha-runner.js
Last active Jan 19, 2018
Mocha test runner
View mocha-runner.js
'use strict';
const fs = require('fs');
const path = require('path');
const Mocha = require('mocha');
const uuidv1 = require('uuid/v1');
class MochaRunner {
* @param {Object} options
ddimitrioglo / TwitterGnipClientV1.php
Last active Oct 6, 2016
Since twitter has switched to streaming his API, we have to collect the data by ourselves. So I investigated a bit Tweeter's GNIP api and wrote a helper class. I hope it will be helpful for someone!
View TwitterGnipClientV1.php
use GuzzleHttp\Client as HttpClient;
use GuzzleHttp\Middleware;
use Psr\Http\Message\RequestInterface;
class TwitterGnipClient
const RULES_ENDPOINT = '';