Skip to content

Instantly share code, notes, and snippets.

I may be slow to respond.

Harshavardhana harshavardhana

I may be slow to respond.
View GitHub Profile
harshavardhana / maintainers.txt
Created Feb 9, 2017 — forked from abperiasamy/maintainers.txt
Maintainer's Responsibilities
View maintainers.txt
## Upstream Maintainer's Responsibilities
- Maintainer is also the top contributor of the project.
- Keep upsteam branch at production quality at all times.
- Work with the release maintainer to keep the release branch stay as close as possible.
- Accept only high quality pull-requests. Provide code reviews and guidance on incomming pull requests.
- Maintainer's Github keys must be password protected securely.
- Any public facing API or UI or architectural or significant changes requires approval from the architect.
## Sub-Maintainer's Responsibilities
- When maintainer is offline, sub-maintainer takes his/her responsibilities.
View minio_compose_sizes
version: '2'
# starts 4 docker containers running minio server instances. Each
# minio server's web interface will be accessible on the host at port
# 9001 through 9004.
hostname: minio1
image: minio/minio:edge
size: s4
from minio import Minio
from minio.error import ResponseError
from sys import stdout
from itertools import cycle
import string
import sys
import datetime
import random
harshavardhana /
Created Oct 12, 2016
bash script for deploying minio on DigitalOcean; this was removed from my kubernetes deployment (now just, but will function to serve the binary if added to your and the is invoked as your user-data
pwd_set () {
cd /root/
dl_kubernetes_archive () {
curl -sSL RELEASE_URL -O && \
import com.amazonaws.regions.Region;
import com.amazonaws.regions.Regions;
import com.amazonaws.auth.BasicAWSCredentials;
import com.amazonaws.auth.AWSCredentials;
harshavardhana / xl-meta-parse_test.go
Created Aug 24, 2016 — forked from hackintoshrao/xl-meta-parse_test.go
comparison between GJson and json.UnMarshal for XLMetadata parsing for varying part sizes.Run using go test xl-meta-parse_test.go -run=xxx -bench=.
View xl-meta-parse_test.go
* Minio Cloud Storage, (C) 2016 Minio, Inc.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* Unless required by applicable law or agreed to in writing, software
harshavardhana / parallel-delete.go
Last active Mar 18, 2016 — forked from Rauk/gist:457be89a59c33220ab30
Delete All the objects in the bucket
View parallel-delete.go
package main
import (
func main() {
accessKey := "accessKey"
harshavardhana / Gulpfile.js
Created Jan 31, 2016 — forked from wrouesnel/Gulpfile.js
webpack, react, golang self-contained gulpfile
View Gulpfile.js
var path = require('path');
var gulp = require('gulp');
var run = require('gulp-run');
var gutil = require('gulp-util');
var minimist = require('minimist');
var options = minimist(process.argv.slice(2), {
string: 'env',
# Original version by Grant Parnell is offline (
# Update July 2014: no longer offline, see
# Looks for "Apple" string in HD kext, changes it to a wildcard match for anything
# Alternative to
# Method behind this madness described:
# See discussion in comments here:
# And here:
You can’t perform that action at this time.