Skip to content

Instantly share code, notes, and snippets.


Phil McClure overture8

View GitHub Profile
overture8 /
Last active Jan 9, 2018
Bcrypt NIF Issue

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

Keybase proof

I hereby claim:

  • I am overture8 on github.
  • I am 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 / 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)
overture8 / 0_reuse_code.js
Last active Aug 29, 2015
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
View meteor-must-knows.markdown
  • Meteor apps, by default, have an insecure package. It's best to keep this in at the start to make development easier but ulltimately this will need to be removed and secure operation need to be added manually.

  • Same with a package called autopublish. This publishs all data up to the clients automatically. Ultimately this needs to be removed and publish/subscribe needs to be managed manually.

  • Meteor Methods can be used to make things more secure. Meteor methods use RPC calls to methods defined on the server. The nice thing is, you also define them on the client. So, when you call a meteor method it executes on the client and the server - the client returns instantly then, once the server returns, if there's a difference, it will patch up the client. (This is latency compensation).

  • As mentioned before, some things are defined on the client, some are defined on the server, and some are defined on the server and the client. It's a bit hard to get you're head around this at the st

View plivo-nav-commands.xml
<?xml version="1.0" encoding="UTF-8"?>
<DTMF async="false">wwwwww1wwwwww6"></DTMF>
View twilio-nav-commands.xml
<?xml version="1.0" encoding="UTF-8"?>
<Play digits="wwwwww1wwwwww6"></Play>
<Gather action="/url">
<Say loop="1000">Please press 1 for customer information</Say>
View test.xml
<?xml version="1.0" encoding="UTF-8"?>
<Say>Hi this is a test</Say>
<Dial record="true">
<Say>Connecting User</Say>
View gist:7525998
<Speak>Hi, it worked</Speak>