Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am sebastianheuer on github.
  • I am sebastianheuer (https://keybase.io/sebastianheuer) on keybase.
  • I have a public key ASDU204OY1YU706LMMuWhSWbenWq1PHdVCKGJAdD79ZAWQo

To claim this, I am signing this object:

@sebastianheuer
sebastianheuer / keybase.md
Created November 24, 2017 14:00
keybase.md

Keybase proof

I hereby claim:

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am belanur on github.
  • I am phar_io (https://keybase.io/phar_io) on keybase.
  • I have a public key ASDDkzfLCwUoRcUcnbnXK-lB5YtfsRDQx0f89ZSuB6cv5wo

To claim this, I am signing this object:

### Keybase proof
I hereby claim:
* I am belanur on github.
* I am sebastianheuer (https://keybase.io/sebastianheuer) on keybase.
* I have a public key whose fingerprint is 7E90 6F26 3F0C EF40 41A8 E3A1 7A64 E00D 0E79 2C7D
To claim this, I am signing this object:
@sebastianheuer
sebastianheuer / token.php
Last active May 11, 2018 06:40
Unique Token Generator in PHP
<?php
/**
* Token Generator
*
* Generates a unique hashed token using various sources for random data
*/
class Token
{
/**
* @var string
@sebastianheuer
sebastianheuer / gist:7770315
Last active December 30, 2015 03:38
Aus dem PHP Summit Workshop "Relational, Normal, Optimal? - Redis vs. SQL": Mit SMOVE in einer atomaren Operation einen Sitzplatz in Redis buchen.
<?php
namespace Summit13\DataPool;
class RedisWriter implements WriterInterface
{
/**
* @var \Redis
*/
private $_client;