Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
\o/

COLE Edouard sandvige

🎯
\o/
View GitHub Profile
View meeting_info.sh
#!/bin/bash
# Dump fresh statistics
kill -10 $(pidof meeting)
# Pick policies
POLICIES=$(cat /tmp/meeting_statistics | grep policies | cut -d " " -f 2)
# Pick bandwidth
BW=$(cat /tmp/meeting_statistics | grep traffic | grep -v pretty | cut -d " " -f 2)
View gist:cdbf042dc732a0cb9da2164e7a8ee6c7
-----BEGIN CERTIFICATE-----
MIIFZDCCBEygAwIBAgIQf81c1ITc99V+w1lkVc1g2TANBgkqhkiG9w0BAQUFADCB
tDELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQL
ExZWZXJpU2lnbiBUcnVzdCBOZXR3b3JrMTswOQYDVQQLEzJUZXJtcyBvZiB1c2Ug
YXQgaHR0cHM6Ly93d3cudmVyaXNpZ24uY29tL3JwYSAoYykxMDEuMCwGA1UEAxMl
VmVyaVNpZ24gQ2xhc3MgMyBDb2RlIFNpZ25pbmcgMjAxMCBDQTAeFw0xNDAxMjUw
MDAwMDBaFw0xNzAzMjUyMzU5NTlaMIGnMQswCQYDVQQGEwJHQjEPMA0GA1UECBMG
TG9uZG9uMQ8wDQYDVQQHEwZMb25kb24xGjAYBgNVBAoUEUVsZG9TIENvcnBvcmF0
aW9uMT4wPAYDVQQLEzVEaWdpdGFsIElEIENsYXNzIDMgLSBNaWNyb3NvZnQgU29m
dHdhcmUgVmFsaWRhdGlvbiB2MjEaMBgGA1UEAxQRRWxkb1MgQ29ycG9yYXRpb24w
View keybase.md

Keybase proof

I hereby claim:

  • I am sandvige on github.
  • I am sandvige (https://keybase.io/sandvige) on keybase.
  • I have a public key whose fingerprint is E418 EFB6 1A90 3799 DF55 274C E124 4FD4 3688 D320

To claim this, I am signing this object:

View SendEmailCommand.php
<?php
namespace XXX\XXX\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Bundle\SwiftmailerBundle\Command\SendEmailCommand as OriginalSendEmailCommand;
@sandvige
sandvige / CassandraPlatform.php
Last active Aug 29, 2015
Doctrine PDOCassandra Driver
View CassandraPlatform.php
<?php
namespace RG\CassandraBundle\Driver\PDOCassandra;
use Doctrine\DBAL\DBALException;
use Doctrine\DBAL\Platforms\AbstractPlatform;
class CassandraPlatform extends AbstractPlatform
{
public function getBooleanTypeDeclarationSQL(array $columnDef)
View Bundle\Driver\PDODblib\Connection.php
<?php
namespace RG\CoreBundle\Driver\PDODblib;
use Doctrine\DBAL\Driver\PDOConnection;
use Doctrine\DBAL\Driver\Connection as BaseConnection;
class Connection extends PDOConnection implements BaseConnection
{
public function lastInsertId($name = null)
You can’t perform that action at this time.