View ConsumerCommand.php
declare(strict_types = 1);
namespace App\Kafka;
use RdKafka;
use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
View Base62.php
class Base62
const BASE_OCT = 8;
const BASE_DEC = 10;
const BASE_HEX = 16;
const BASE_62 = 62;
View desc.txt
In my lightning talk I show you how to build devstack based on Gulp an Webpack.
You will learn how to modularize you application into small units.
You can draw line in your life - before and after you start using hot-reloading.
Use smart devstack that helps you to scale your React.js application.
Vote for my presentation at by staring this gist.
Thank you :)

Keybase proof

I hereby claim:

  • I am srigi on github.
  • I am srigi ( on keybase.
  • I have a public key whose fingerprint is 3444 4B61 B418 BB36 45C4 21D9 E6AE B6C9 A8A3 FB9B

To claim this, I am signing this object:

View test.js
// 1st, let us repeat JS variables 101
$ node
> var arr1 = ['foo', 'bar', 5, 42]
> var arr2 = arr1
> console.log(arr2)
[ 'foo', 'bar', 5, 42 ] // arr1 and arr2 are pointing to the same place in memory
> arr1.push(23) // If we modify data in first reference,
> console.log(arr2) // second will "see" that.
[ 'foo', 'bar', 5, 42, 23 ]
View gist:f81ce80d5c5c8f815e40
# !/bin/bash
initialCommit=`git rev-parse HEAD` # commit of the repository before we start the work
# use sed to remove duplicate lines with commit ID, git-rev-list not fully accepting my format, arrrgh
if [[ $1 = "--help" || $1 = "-h" ]]; then
echo "Generate 'cloc per commit' stats from a GIT repository by following the parent links from the given commit."
View storage.amd.js
define(function() {
var storage = window.sessionStorage || {
getItem: function(key) {
return this[key];
setItem: function(key, value) {
this[key] = value;
View gist:1565135
10 New Year’s Resolutions Every Web Developer Should Make
1 - Learn a New Language, Framework or Methodology
We must continue learning about the latest technologies.
2 - Get Better At What You Know
Set aside some time to also focus on existing languages and software.
View BaseController.php
// all Controllers extends from this class
class BaseController extends PhpFrameworkBaseController
public function init() // executed before every action