Skip to content

Instantly share code, notes, and snippets.

Avatar
🚀

Frank syphernl

🚀
  • The Netherlands
View GitHub Profile
@tomerd
tomerd / gauge.js
Last active Aug 6, 2022
google style gauges using javascript d3.js
View gauge.js
function Gauge(placeholderName, configuration)
{
this.placeholderName = placeholderName;
var self = this; // for internal d3 functions
this.configure = function(configuration)
{
this.config = configuration;
@diogok
diogok / OnlineUsers.php
Created May 4, 2011
Online Users using PHP and Redis
View OnlineUsers.php
<?php
include 'predis/predis.phar';
class OnlineUsers {
/* time to consider user online */
private $minutes = 5 ;
function online() {
/* current hour and minute */
@mtigas
mtigas / gist:952344
Last active Nov 26, 2022
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: