Skip to content

Instantly share code, notes, and snippets.

View arusso's full-sized avatar

Aaron Russo arusso

View GitHub Profile
### Keybase proof
I hereby claim:
* I am arusso on github.
* I am arusso (https://keybase.io/arusso) on keybase.
* I have a public key whose fingerprint is FE82 76B3 AC8E E00B 8A55 9C0D 138D EBE5 AC61 CFAA
To claim this, I am signing this object:
@arusso
arusso / make-san-cert.rb
Last active June 1, 2021 21:20
Generating a SAN Certificate in Ruby
require 'openssl'
require 'openssl-extensions/all'
keyfile = '/tmp/mycert.key'
csrfile = '/tmp/mycert.csr'
file = File.new(keyfile,'w',0400)
key = OpenSSL::PKey::RSA.new 2048
file.write(key)
@arusso
arusso / keybase.md
Last active September 29, 2018 06:53

Keybase proof

I hereby claim:

  • I am arusso on github.
  • I am arusso (https://keybase.io/arusso) on keybase.
  • I have a public key ASCkl756VlwTKTeW_vSQ20824E6NZ1E0BBAM9beXd0UaBgo

To claim this, I am signing this object:

@arusso
arusso / 82-slacker-duplicate-responses.go
Last active August 25, 2021 05:19
Attempt to reproduce duplicate messages with threads
package main
import (
"context"
"fmt"
"log"
"os"
"github.com/shomali11/slacker"
"github.com/slack-go/slack/socketmode"