Skip to content

Instantly share code, notes, and snippets.

View sandvige's full-sized avatar
🎯
\o/

COLE Edouard sandvige

🎯
\o/
View GitHub Profile
@sandvige
sandvige / meeting_info.sh
Created March 18, 2020 14:14
Dump meeting info
#!/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)
@sandvige
sandvige / gist:cdbf042dc732a0cb9da2164e7a8ee6c7
Created August 14, 2019 13:08
EldoS Corporation Certificate
-----BEGIN CERTIFICATE-----
MIIFZDCCBEygAwIBAgIQf81c1ITc99V+w1lkVc1g2TANBgkqhkiG9w0BAQUFADCB
tDELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQL
ExZWZXJpU2lnbiBUcnVzdCBOZXR3b3JrMTswOQYDVQQLEzJUZXJtcyBvZiB1c2Ug
YXQgaHR0cHM6Ly93d3cudmVyaXNpZ24uY29tL3JwYSAoYykxMDEuMCwGA1UEAxMl
VmVyaVNpZ24gQ2xhc3MgMyBDb2RlIFNpZ25pbmcgMjAxMCBDQTAeFw0xNDAxMjUw
MDAwMDBaFw0xNzAzMjUyMzU5NTlaMIGnMQswCQYDVQQGEwJHQjEPMA0GA1UECBMG
TG9uZG9uMQ8wDQYDVQQHEwZMb25kb24xGjAYBgNVBAoUEUVsZG9TIENvcnBvcmF0
aW9uMT4wPAYDVQQLEzVEaWdpdGFsIElEIENsYXNzIDMgLSBNaWNyb3NvZnQgU29m
dHdhcmUgVmFsaWRhdGlvbiB2MjEaMBgGA1UEAxQRRWxkb1MgQ29ycG9yYXRpb24w

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:

<?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 August 29, 2015 14:11
Doctrine PDOCassandra Driver
<?php
namespace RG\CassandraBundle\Driver\PDOCassandra;
use Doctrine\DBAL\DBALException;
use Doctrine\DBAL\Platforms\AbstractPlatform;
class CassandraPlatform extends AbstractPlatform
{
public function getBooleanTypeDeclarationSQL(array $columnDef)
@sandvige
sandvige / Bundle\Driver\PDODblib\Connection.php
Created November 20, 2013 11:24
MSSQL on Linux using DBLib
<?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)