Skip to content

Instantly share code, notes, and snippets.

Laurent B. lolo32

  • Indre-et-Loire, France
Block or report user

Report or block lolo32

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@lolo32
lolo32 / randomize.go
Last active Aug 9, 2018
Fast (>100MBps) CSPRNG to randomize hard drive before encryption. Compile one time, use without any dependency everywhere with static compilation.
View randomize.go
// Based on https://gist.github.com/aeris/2a0f9beeed94102fd0cb2a8caad964d0
package main
import (
"crypto/aes"
"crypto/cipher"
"crypto/rand"
"encoding/binary"
"os"
@lolo32
lolo32 / generating_tlsa_dane.sh
Last active May 16, 2017
Creating TLSA/DANE DNS record
View generating_tlsa_dane.sh
#!/bin/sh
# Usage Number 0 – CA specification
# Specifies the Certificate Authority (CA) who will provide TLS certificates
# for the domain. We can only say that the domain will use TLS certificates
# from a specific CA. Like we are using Geotrust as CA. It only will allow
# Geotrust. It is difficult to get a SSL/TLS certificate from Geotrust
# without being WE.
# Usage Number 1 – Specific TLS certificate
# Specifies the exact TLS certificate that should be used for the domain.
@lolo32
lolo32 / .vimrc
Last active Jan 12, 2017
Configuration de Vim
View .vimrc
" Active la coloration syntaxique
syntax on
" Coloration à utiliser
colorscheme elflord
" Affichage des caractères invisibles (tabulations, espaces de fin de ligne)
set list
set listchars=trail:·,tab:»·,nbsp:%,extends:╕,precedes:
" Affichage des paires correspondantes
@lolo32
lolo32 / LET'S ENCRYPT SUBSCRIBER AGREEMENT
Last active Jul 11, 2016
LET'S ENCRYPT SUBSCRIBER AGREEMENT - Differences between releases
We couldn’t find that file to show.
View nginx-1.10.1_http2-spdy.patch
From https://github.com/cloudflare/sslconfig/blob/master/patches/nginx__http2_spdy.patch
From: Lolo32
Date: Wed, 15 Jun 2016 22:35:52 +0200
Subject: [PATCH] Add SPDY support back to Nginx with HTTP/2, based on cloudflare patch
This patch was based on https://github.com/cloudflare/sslconfig/blob/master/patches/nginx__http2_spdy.patch
that is for v.0.9. It's tested and working, but need, maybe, additional tests for high load charge.
This work on v.1.10.1 and v.1.11.1 of Nginx.
---
View CLang Optimizations.md

CLang optimizations on Mac OSX

Version:

Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.1.0
Thread model: posix

This was made with commands:

You can’t perform that action at this time.