Skip to content

Instantly share code, notes, and snippets.

Phil McClure overture8

Block or report user

Report or block overture8

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
@overture8
overture8 / byrpyt_error.md
Last active Jan 9, 2018
Bcrypt NIF Issue
View byrpyt_error.md

The following error was appearing when making use of bcrypt with the following versions on a Mac.

  • Elixir - 1.5.1
  • Erlang - 20.1
  • bcrypt_elixir - 1.0
        ** (EXIT) an exception was raised:
            ** (UndefinedFunctionError) function Bcrypt.Base.gensalt_nif/3 is undefined (module Bcrypt.Base is not available)
                (bcrypt_elixir) Bcrypt.Base.gensalt_nif([233, 62, 8, 4, 149, 169, 187, 161, 3, 67, 113, 26, 15, 100, 16, 225], 12, 98)
View employee_induction
* Contact signed
* Access to github repos
* Invite to Slack
* Access to AWS
* Desk
View keybase.md

Keybase proof

I hereby claim:

  • I am overture8 on github.
  • I am overture8 (https://keybase.io/overture8) on keybase.
  • I have a public key whose fingerprint is E2AE 4F16 FF5F 8117 06F7 6973 A837 279C 6559 E768

To claim this, I am signing this object:

@overture8
overture8 / cardstream_ruby.rb
Last active May 16, 2016
Ruby Cardstream Payment Gateway code
View cardstream_ruby.rb
require "net/https"
require "uri"
require "cgi"
require "digest"
class Cardstream
def initialize(post_data)
url_params = escape_params(post_data)
@post_data = hash_post_data(url_params)
end
View test.xml
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Say>Hi this is a test</Say>
<Dial record="true">
<Number>+447726000027</Number>
</Dial>
<Say>Connecting User</Say>
</Response>
View gist:7525998
<Response>
<Speak>Hi, it worked</Speak>
</Response>
View gist:7489929
<Response>
<DTMF>1</DTMF>
<DTMF>W</DTMF>
<DTMF>W</DTMF>
<DTMF>W</DTMF>
<DTMF>W</DTMF>
<DTMF>W</DTMF>
<DTMF>4</DTMF>
</Response>
View gist:7489438
<Response>
<Wait length="4" />
<DTMF>1</DTMF>
<Wait length="4" />
<DTMF>3</DTMF>
</Response>
View gist:7489404
<Response>
<DTMF>1</DTMF>
<Wait length="4" />
<DTMF>3</DTMF>
</Response>
View gist:7488807
<Response>
<DTMF>1</DTMF>
<Wait length="4" />
<DTMF>3</DTMF>
</Response>
You can’t perform that action at this time.