Skip to content

Instantly share code, notes, and snippets.

View aristote's full-sized avatar

jme aristote

View GitHub Profile
### Keybase proof
I hereby claim:
* I am aristote on github.
* I am aristote (https://keybase.io/aristote) on keybase.
* I have a public key whose fingerprint is A021 B5A7 AE1F DF48 137A EE71 8F8C D5C6 78A1 7160
To claim this, I am signing this object:
@aristote
aristote / SSLconf
Last active December 31, 2015 04:49
#----------- 8<---Directives pour l'hôte virtuel -------------------------
SSLEngine On
SSLCompression Off
SSLInsecureRenegotiation Off
SSLHonorCipherOrder On
SSLProtocol -ALL +TLSv1 +TLSv1.1 +TLSv1.2
SSLCipherSuite "EECDH+ECDSA+AESGCM EECDH+aRSA+AESGCM EECDH+ECDSA+SHA384 EECDH+ECDSA+SHA256 EECDH+aRSA+SHA384 EECDH+aRSA+SHA256 EECDH EDH+aRSA !aNULL !eNULL !LOW !3DES !MD5 !EXP !PSK !SRP !DSS !RC4"
SSLCertificateFile /etc/apache2/ssl-keys/public.crt
SSLCertificateKeyFile /etc/apache2/ssl-keys/private.key
SSLCertificateChainFile /etc/apache2/ssl-keys/CertificateChain.pem
@aristote
aristote / gist:7906718
Created December 11, 2013 08:15
Gist test with crappy code.
int charToInt32(char * clearText, char * int32result[])
{
int i = 0, j = 0, pos = 0, clearSize;
int dec[4] = {24, 16, 8, 0};
unsigned int valeurRetour = 0;
printf(">> 1\n");
clearSize = strlen(clearText);
int32result = realloc(int32result, sizeof(int)*(clearSize+1));