Skip to content

Instantly share code, notes, and snippets.

View zquestz's full-sized avatar

Josh Ellithorpe zquestz

View GitHub Profile

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

Verifying that "zquestz.id" is my Blockstack ID. https://onename.com/zquestz
@zquestz
zquestz / visago_sample.json
Last active October 16, 2016 01:51
Visago Sample
{
"all": {
"assets": [
{
"name": "http://digital-photography-school.com/wp-content/uploads/flickr/2746960560_8711acfc60_o.jpg",
"tags": {
"ancient": [
{
"name": "ancient",
"score": 0.07079402788556059,
<?php
function check_terms($line, $search_terms) {
$retval = true;
$matrix = array();
foreach ($search_terms as $term) {
if (strpos(strtolower($line), strtolower($term)) > 0) {
array_push($matrix, true);
} else {
array_push($matrix, false);
}