Skip to content

Instantly share code, notes, and snippets.

View TheoBrigitte's full-sized avatar
👾
compiling ...

Théo Brigitte TheoBrigitte

👾
compiling ...
View GitHub Profile
# running github.com/TheoBrigitte/crypto/blob/master/cmd/debug.go
2021/12/03 12:11:38 knownHostFile: /home/theo/.ssh/known_hosts
2021/12/03 12:11:39 client sent *ssh.kexInitMsg &ssh.kexInitMsg{Cookie:[16]uint8{0xca, 0xd1, 0x29, 0xd, 0x67, 0x22, 0xd9, 0x76, 0xfd, 0x58, 0x73, 0xb7, 0xa1, 0xcd, 0x3a, 0x20}, KexAlgos:[]string{"curve25519-sha256@libssh.org", "ecdh-sha2-nistp256", "ecdh-sha2-nistp384", "ecdh-sha2-nistp521", "diffie-hellman-group14-sha1"}, ServerHostKeyAlgos:[]string{"rsa-sha2-512-cert-v01@openssh.com", "rsa-sha2-256-cert-v01@openssh.com", "ssh-rsa-cert-v01@openssh.com", "ssh-dss-cert-v01@openssh.com", "ecdsa-sha2-nistp256-cert-v01@openssh.com", "ecdsa-sha2-nistp384-cert-v01@openssh.com", "ecdsa-sha2-nistp521-cert-v01@openssh.com", "ssh-ed25519-cert-v01@openssh.com", "ecdsa-sha2-nistp256", "ecdsa-sha2-nistp384", "ecdsa-sha2-nistp521", "rsa-sha2-512", "rsa-sha2-256", "ssh-rsa", "ssh-dss", "ssh-ed25519"}, CiphersClientServer:[]string{"aes128-gcm@openssh.com", "chacha20-poly1305@openssh.com", "aes128-c
@TheoBrigitte
TheoBrigitte / azure-sdk-filter.go
Created August 17, 2018 14:36
Program used to Azure API $filter query parameters
package main
import (
"context"
"fmt"
"log"
"github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-02-01/resources"
"github.com/Azure/go-autorest/autorest"
"github.com/Azure/go-autorest/autorest/adal"
@TheoBrigitte
TheoBrigitte / azure-sdk-responder.go
Last active August 17, 2018 13:46
Program used to attest memory leak in Azure sdk when not using "*Responder" functions after issuing API calls
package main
import (
"context"
"log"
"os"
"runtime"
"runtime/pprof"
"github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network"
@TheoBrigitte
TheoBrigitte / Gopkg.toml
Last active March 29, 2018 16:35
run with: dep ensure -v && go run azure_issue_935.go
[[constraint]]
name = "github.com/Azure/azure-sdk-for-go"
version = "v12.1.0-beta"
[[constraint]]
name = "github.com/Azure/go-autorest"
version = "v9.6.0"
[prune]

Keybase proof

I hereby claim:

  • I am theobrigitte on github.
  • I am theo01 (https://keybase.io/theo01) on keybase.
  • I have a public key ASA-GWR9pCNDo-VaQ8OG7H_BxVjWt5-OXQCukFVCrLJh9go

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am theo-brigitte on github.
  • I am theo01 (https://keybase.io/theo01) on keybase.
  • I have a public key whose fingerprint is 559B 498D 2850 E56E 4EDB E0D4 A98F 1ECA A518 0DDE

To claim this, I am signing this object:

g6Rib2R5hqhkZXRhY2hlZMOpaGFzaF90eXBlCqNrZXnEIwEg2F+Qz6ZvaPoKXEuTSlDyQeHkJ+dAP8FXZlvmMHiL6KwKp3BheWxvYWTFAud7ImJvZHkiOnsia2V5Ijp7ImVsZGVzdF9raWQiOiIwMTAxMTUxYjliMDg5ZTZjNTQ3MWVhYmE1NGMzOWM4MDViMDEyNzkxZmViNmUwODgzMDMzOGMxOWZhNDQwMTUwN2YwZDBhIiwiaG9zdCI6ImtleWJhc2UuaW8iLCJraWQiOiIwMTIwZDg1ZjkwY2ZhNjZmNjhmYTBhNWM0YjkzNGE1MGYyNDFlMWU0MjdlNzQwM2ZjMTU3NjY1YmU2MzA3ODhiZThhYzBhIiwidWlkIjoiNmI3YTM1MmJiM2U4MzFiNTVjZDI4YWU1ODA3MjY5MTkiLCJ1c2VybmFtZSI6InRoZW8wMSJ9LCJzZXJ2aWNlIjp7Im5hbWUiOiJnaXRodWIiLCJ1c2VybmFtZSI6InRoZW8wMSJ9LCJ0eXBlIjoid2ViX3NlcnZpY2VfYmluZGluZyIsInZlcnNpb24iOjF9LCJjbGllbnQiOnsibmFtZSI6ImtleWJhc2UuaW8gZ28gY2xpZW50IiwidmVyc2lvbiI6IjEuMC44In0sImN0aW1lIjoxNDUzMzA0MTYwLCJleHBpcmVfaW4iOjUwNDU3NjAwMCwibWVya2xlX3Jvb3QiOnsiY3RpbWUiOjE0NTMzMDQxMDgsImhhc2giOiIzMTdjNTgzNmNhMjY3OGQ3MTgwN2E3NWFlZDgxNjQzYWRjMzE0MTEwYWNkZWI5YThjMWIwM2U2ZWU2YjZjOTIzNGQ5NzU3MDY0Yjg2YjA2ZDhhZjVjY2MyYjY3YWIyYzU5OGZhZjk5ZWRmMDczYWU1YWYyMDNmOTE4NzA3ZGQ5YiIsInNlcW5vIjozNTI0MjB9LCJwcmV2IjoiNjJiN2QyZmE4MTAxYjI2YjExYTU5YmYyZGMyNjdkN2YzNTYzNjQ5
@TheoBrigitte
TheoBrigitte / commerce_rma-all-in-one.patch
Created April 24, 2014 08:51
Commerce RMA patch fixing order reference field bundle restriction, commerce_customer_rma field entities restriction. Apply on f382cb06edbb086c0bb5960e1d5536b9c6019550
diff --git a/modules/return/commerce_return.install b/modules/return/commerce_return.install
--- a/modules/return/commerce_return.install
+++ b/modules/return/commerce_return.install
@@ -267,11 +267,6 @@ function commerce_return_configure_return_type($type = 'commerce_return') {
'settings' => array(
'handler' => 'base',
'target_type' => 'commerce_order',
- 'handler_settings' => array(
- 'target_bundles' => array(
- 'commerce_order' => 'commerce_order'