Skip to content

Instantly share code, notes, and snippets.

View propertunist's full-sized avatar

ura soul propertunist

View GitHub Profile
# Endpoint for P2P node to listen on
# p2p-endpoint=0.0.0.0:2001
# Maxmimum number of incoming connections on P2P endpoint
# p2p-max-connections =
# P2P nodes to connect to on startup (may specify multiple times)
# seed-node = seed.jesta.us:2001
#seed-node = anyx.co:2001
# seed-node = 149.56.108.203:2001
@propertunist
propertunist / elgg-profile-queries.php
Created October 10, 2015 23:40 — forked from mrclay/elgg-profile-queries.php
Elgg: profile MySQL queries on Elgg 1.10 - 1.x
<?php
/**
* Query profiler for Elgg 1.10-1.12
*
* Require this script inside settings.php and the JavaScript console will report all
* queries with their time in seconds, and the total time spent in mysql_query().
*
* This will not include queries performed after the "output", "page" hook.
*
* On production you could include this only if a particular query string is set: