Skip to content

Instantly share code, notes, and snippets.

View felixfong227's full-sized avatar
😏
Hunting Source Code

FeliΞ felixfong227

😏
Hunting Source Code
View GitHub Profile
@felixfong227
felixfong227 / version_compare.js
Created August 31, 2019 04:20 — forked from pc035860/version_compare.js
Function to compare two version strings (e.g. "1.6.1" is smaller than "1.7"). Developed in order to answer http://stackoverflow.com/a/6832721/50079.
/**
* Compares two software version numbers (e.g. "1.7.1" or "1.2b").
*
* This function was born in http://stackoverflow.com/a/6832721.
*
* @param {string} v1 The first version to be compared.
* @param {string} v2 The second version to be compared.
* @param {object} [options] Optional flags that affect comparison behavior:
* <ul>
* <li>
@felixfong227
felixfong227 / README.md
Created January 24, 2019 18:38 — forked from cocoastorm/README.md
rexray/s3fs Docker Plugin Install with Minio

Getting Started

Make sure Docker is installed!

Get your Minio endpoint url, accesskey, and secretkey ready!

Install Docker Plugin

docker plugin install rexray/s3fs \