Skip to content

Instantly share code, notes, and snippets.

View Julianhm9612's full-sized avatar
💭
Make it happen!

Julian Henao Marin Julianhm9612

💭
Make it happen!
View GitHub Profile
@Julianhm9612
Julianhm9612 / openssl-example.php
Created February 27, 2018 15:01 — forked from viccherubini/openssl-example.php
OpenSSL PHP example
<?php
class protector {
private $passphrase = null;
private $private_key = null;
private $public_key = null;
public function __construct() {
@Julianhm9612
Julianhm9612 / mapOrder.js
Created February 9, 2018 16:15 — forked from ecarter/mapOrder.js
Order an array of objects based on another array order
/**
* Sort array of objects based on another array
*/
function mapOrder (array, order, key) {
array.sort( function (a, b) {
var A = a[key], B = b[key];
@Julianhm9612
Julianhm9612 / .css
Created September 28, 2017 16:24 — forked from abemedia/.css
Pure CSS horizontal accordion slider
.donslide {
display: table;
width: 100%;
}
.donslide .item {
display: table-cell;
width: 1%;
transition: 0.6s ease-in-out all;
overflow: hidden;
position: relative;