Skip to content

Instantly share code, notes, and snippets.

View ddimitrioglo's full-sized avatar

Dmitri Dimitrioglo ddimitrioglo

  • Republic of Moldova
View GitHub Profile
ddimitrioglo / mocha-runner.js
Last active January 19, 2018 21:55
Mocha test runner
'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 October 6, 2016 15:15
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!
use GuzzleHttp\Client as HttpClient;
use GuzzleHttp\Middleware;
use Psr\Http\Message\RequestInterface;
class TwitterGnipClient
const RULES_ENDPOINT = '';