Skip to content

Instantly share code, notes, and snippets.

View terenceponce's full-sized avatar

Terence Ponce terenceponce

View GitHub Profile
@terenceponce
terenceponce / shufti.json
Created September 7, 2022 16:00
Shufti Callback for status change
{"reference"=>"a0372417-2529-485c-a231-74d1f87320b2",
"event"=>"verification.declined",
"country"=>nil,
"proofs"=>
{"document"=>
{"proof"=>
"https://api.shuftipro.com/storage/8WlU2XYXo2SjV5yGOPRBtczXag0OvHb1wskRTMPIZppIxRHBHHaQTYGIfHTsheyh/document/proof.png?access_token=a6eb4d75a06c2059ea9739076fb1a1765ddd1fe9",
"additional_proof"=>
"https://api.shuftipro.com/storage/8WlU2XYXo2SjV5yGOPRBtczXag0OvHb1wskRTMPIZppIxRHBHHaQTYGIfHTsheyh/document/additional_proof.png?access_token=a6eb4d75a06c2059ea9739076fb1a1765ddd1fe9"},
"address"=>
@terenceponce
terenceponce / instructions.md
Created September 26, 2012 08:25
Setting up Thinking-Sphinx on Mac OS X using Homebrew

Out of the box, Homebrew does a default installation on Sphinx:

$ brew install sphinx

However, if you're using MySQL, the thinking-sphinx gem won't work because it needs to use MySQL libraries.

If you managed to screw up the first time, uninstall sphinx first:

$ brew remove sphinx