I hereby claim:
- I am grilldos on github.
- I am grilldos (https://keybase.io/grilldos) on keybase.
- I have a public key whose fingerprint is 43E5 C6E1 4F8A 0E2C F091 433F 09BB 97D1 2741 3CB7
To claim this, I am signing this object:
| ### Keybase proof | |
| I hereby claim: | |
| * I am grilldos on github. | |
| * I am grilldos (https://keybase.io/grilldos) on keybase. | |
| * I have a public key whose fingerprint is ADD4 C0FE B312 D61A 99C2 2F36 5CA6 C4BB 98C7 537B | |
| To claim this, I am signing this object: |
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| # define constants and globals | |
| global $VIEWER_NAME, $FORM, $SETTINGS; | |
| $FORM = $_REQUEST; // legacy compatibility - eventually we'll remove $FORM and only use $_REQUEST | |
| # load modules | |
| $libDir = pathinfo(__FILE__, PATHINFO_DIRNAME); | |
| require_once "$libDir/init.php"; | |
| require_once "$libDir/viewer_functions_old.php"; |
| /* STEP 1: LOAD RECORDS - Copy this PHP code block near the TOP of your page */ | |
| // load viewer library | |
| $libraryPath = 'cmsAdmin/lib/viewer_functions.php'; | |
| $dirsToCheck = array('/home/viridiandfw/public_html/data/','','../','../../','../../../'); | |
| foreach ($dirsToCheck as $dir) { if (@include_once("$dir$libraryPath")) { break; }} | |
| if (!function_exists('getRecords')) { die("Couldn't load viewer library, check filepath in sourcecode."); } | |
| // load record from 'viridian_specs' | |
| list($viridian_specsRecords, $viridian_specsMetaData) = getRecords(array( |
| function gag(tid,dh,dp,cn) { | |
| var guid = (function() { | |
| function s4() { return Math.floor((1 + Math.random()) * 0x10000).toString(16).substring(1); } | |
| return function() { return s4() + s4() + '-' + s4() + '-' + s4() + '-' + s4() + '-' + s4() + s4() + s4(); }; | |
| })(); | |
| var uuid = guid(); | |
| var url = "http://www.google-analytics.com/collect?v=1&t=pageview&dr="+encodeURIComponent(window.location)+ | |
| "&tid="+encodeURIComponent(tid)+ | |
| "&cid="+encodeURIComponent(uuid)+ | |
| "&dh="+encodeURIComponent(dh)+ |
| #!/bin/bash | |
| wget "https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz" | |
| tar -xf libevent-2.0.21-stable.tar.gz | |
| cd libevent-2.0.21-stable/ | |
| ./configure | |
| make | |
| make verify | |
| sudo make install |