Skip to content

Instantly share code, notes, and snippets.

View donatello's full-sized avatar

Aditya Manthramurthy donatello

  • Bay Area, California
  • 00:02 (UTC -07:00)
View GitHub Profile

Admin API Version 1 Specification (WIP)

This document contains the REST API specification for version 1 of the Administration API provided by the Minio server.

Common Conventions

  • All response bodies when present are JSON encoded (regardless of
@donatello
donatello / git-ghrw
Last active October 12, 2017 13:37
A git script to pull branches of github users to a local clone - for reviewing and testing Github PRs locally
#!/bin/bash
USER=$1
BRANCH=$2
function show_help {
cat <<HEREDOC
Summary:
@donatello
donatello / run-dist-https.sh
Last active January 18, 2021 23:14
Run Minio on localhost (4 node distributed on ports 9001-9004)
#!/bin/bash
uuid1="export1"
uuid2="export2"
uuid3="export3"
uuid4="export4"
DATA_DIR=/tmp
MINIO=$HOME/Code/minio/go/minio/minio
@donatello
donatello / config.md
Created September 7, 2018 14:53 — forked from 0xDE57/config.md
Firefox about:config privacy settings

ABOUT

about:config settings to harden the Firefox browser. Privacy and performance enhancements.
To change these settings type 'about:config' in the url bar. Then search the setting you would like to change and modify the value. Some settings may break certain websites from functioning and rendering normally. Some settings may also make firefox unstable.

I am not liable for any damages/loss of data.

Not all these changes are necessary and will be dependent upon your usage and hardware. Do some research on settings if you don't understand what they do. These settings are best combined with your standard privacy extensions (HTTPS Everywhere, NoScript/Request Policy, uBlock origin, agent spoofing, Privacy Badger etc), and all plugins set to "Ask To Activate".

@donatello
donatello / GPG-File-Encryption.md
Created April 12, 2019 22:14
GPG based AES256 file encryption example

Encrypting a file /tmp/out

gpg --output /tmp/out.enc --symmetric --cipher-algo AES256 /tmp/out

The above will prompt for a password.

Decrypting a file /tmp/out.enc