Skip to content

Instantly share code, notes, and snippets.

View syphernl's full-sized avatar

Frank syphernl

  • The Netherlands
View GitHub Profile
diogok / OnlineUsers.php
Created May 4, 2011 19:48
Online Users using PHP and Redis
View OnlineUsers.php
include 'predis/predis.phar';
class OnlineUsers {
/* time to consider user online */
private $minutes = 5 ;
function online() {
/* current hour and minute */
mtigas / gist:952344
Last active February 23, 2024 11:41
Mini tutorial for configuring client-side SSL certificates.
View gist:952344

Client-side SSL

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: