For excessively paranoid client authentication.
Updated Apr 5 2019:
because this is a gist from 2011 that people stumble into and maybe you should AES instead of 3DES in the year of our lord 2019.
some other notes:
| <?php | |
| echo $this->navigation('default-navigation') | |
| ->menu() | |
| ->setPartial('default/navigation/sub_menu') | |
| ->render( | |
| null, | |
| array( | |
| 'indent' => 4, | |
| 'ulClass' => '', | |
| 'minDepth' => 1, |
| <?php | |
| /** | |
| * @author Antoine Hedgecock | |
| */ | |
| /** | |
| * @namespace | |
| */ | |
| namespace Application; | |
| use Zend\Acl\Acl, |
| #!/bin/bash | |
| # Takes one parameter: a remote git repository URL. | |
| # | |
| # This is the stuff this script does: | |
| # | |
| # 1. Clones the repository | |
| # 2. Fetches all remote branches | |
| # 3. Compresses the folder | |
| # 4. Deletes the cloned folder. |
| function Gauge(placeholderName, configuration) | |
| { | |
| this.placeholderName = placeholderName; | |
| var self = this; // for internal d3 functions | |
| this.configure = function(configuration) | |
| { | |
| this.config = configuration; | |
| <?php | |
| include 'predis/predis.phar'; | |
| class OnlineUsers { | |
| /* time to consider user online */ | |
| private $minutes = 5 ; | |
| function online() { | |
| /* current hour and minute */ |