Skip to content

Instantly share code, notes, and snippets.

I may be slow to respond.

Harshavardhana harshavardhana

I may be slow to respond.
Block or report user

Report or block harshavardhana

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
harshavardhana / minio-gateway-azure.bat
Last active Feb 8, 2018
Minio windows batch examples
View minio-gateway-azure.bat
rem This program starts the minio batch.
@echo off
set MINIO_ACCESS_KEY=accountname1
set MINIO_SECRET_KEY=secretForAccountName
call minio gateway azure --address=:9001 >c:\test\c1.out
harshavardhana / upload-minio.html
Last active Dec 14, 2017
Upload to from browser using minio-js
View upload-minio.html
<!DOCTYPE html>
<title>Minio SDK for JavaScript - Sample Application</title>
harshavardhana /
Created Nov 18, 2017
Watch for CLOSE events and upload the file to S3
import inotify.adapters
from minio import Minio
from minio.error import ResponseError
minioClient = Minio('',
def _main():

Keybase proof

I hereby claim:

  • I am harshavardhana on github.
  • I am y4m4 ( on keybase.
  • I have a public key ASAufnZvMt56rQ9785OSHLgz8g3ed1v-P_uBfie-iG5FRAo

To claim this, I am signing this object:


Database parameters

MariaDB [(none)]> CREATE DATABASE minio_event_db CHARACTER SET utf8 COLLATE utf8_bin;
Query OK, 1 row affected (0.00 sec)

MariaDB [(none)]> CREATE USER 'minio'@'%' IDENTIFIED BY '@0bjectst0rage';
Query OK, 0 rows affected (0.00 sec)

MariaDB [(none)]> GRANT ALL PRIVILEGES ON minio_event_db.* to minio@'%' identified by '0bjectst0rage';
Query OK, 0 rows affected (0.00 sec)
View putobject-sse.go
package main
import (
View putobject-part.go
package main
import (

Minio B2 Gateway Slack

Minio Gateway adds Amazon S3 compatibility to Backblaze B2 Cloud Storage.

Run Minio Gateway for Backblaze B2 Cloud Storage

Please follow this guide to create an account on to obtain your access credentisals for B2 Cloud storage.

Using Binary

Please download the test binary for gateway B2 support

View redirect.go
package main
import (
func RedirectHandler(code int) http.Handler {
return &redirectHandler{code}
harshavardhana /
Last active Jul 19, 2019
REX-Ray with Minio

Getting Started

The following command will install the latest version of REX-Ray to /usr/bin/rexray on Linux systems:

$ sudo apt install s3fs
$ curl -sSL | sh

Depending on the Linux distribution REX-Ray will be registered as either a SystemD or SystemV service.


REX-Ray requires a configuration file for storing details used to communicate with storage providers. This can include authentication credentials and driver specific configuration options. After REX-Ray has been installed, copy and paste the contents below to a new file on the host at /etc/rexray/config.yml to configure s3fs storage driver.

You can’t perform that action at this time.