Skip to content

Instantly share code, notes, and snippets.

View GiamPy5's full-sized avatar
:shipit:
Focusing

Giampaolo GiamPy5

:shipit:
Focusing
  • Reply
  • Gdansk, Poland
View GitHub Profile
@GiamPy5
GiamPy5 / selectHierarchicalMenu.js
Last active March 17, 2021 13:55
Hierarchical Tree Menu with Select Box (instantsearch)
var customMenuRenderFn = function (renderParams, isFirstRendering) {
var container = renderParams.widgetParams.container;
var title = renderParams.widgetParams.title;
var templates = renderParams.widgetParams.templates;
var cssClasses = renderParams.widgetParams.cssClasses || "";
var attributes = renderParams.widgetParams.attributes.map(function (attribute) {
return attribute.replace('.', '___');
});
var currentSelectedValue = null;
@GiamPy5
GiamPy5 / blur_detector
Created January 16, 2017 10:41 — forked from pceres/blur_detector
blurry photos detection
#! /bin/bash
#
# Author: Pasquale Ceres (pasquale_c@hotmail.com)
# License: GPL ver. 3
#
# Script originally developed for the
# "San Lorenzo Martire Caposele Church Records Digitalization Project"
#
# http://www.facebook.com/group.php?gid=188973755117&v=photos
<?php
var_dump($query->toSql());
var_dump($query->getBindings());
die();
?>
@GiamPy5
GiamPy5 / keybase.md
Created May 26, 2015 18:48
keybase.md

Keybase proof

I hereby claim:

  • I am GiampaoloFalqui on github.
  • I am giampy (https://keybase.io/giampy) on keybase.
  • I have a public key whose fingerprint is EA38 5C21 263E ED40 D765 6B5E D8E8 D635 1BFE 4386

To claim this, I am signing this object: