Skip to content

Instantly share code, notes, and snippets.

View naz19's full-sized avatar

Nazeer Hussain Shaik naz19

View GitHub Profile
@naz19
naz19 / gcrgc.sh
Last active June 27, 2019 08:59 — forked from ahmetb/gcrgc.sh
Script to clean up Google Container Registry untagged images pushed before a particular date
#!/bin/bash
# Copyright © 2017 Google 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
@naz19
naz19 / nginx-conf-apache-superset
Created October 12, 2018 17:32
NGINX configuration for Apache Superset
location /superset/ {
proxy_pass http://localhost:8088/superset/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
# required as superset has hardcoded base path urls
location /static/ {
proxy_pass http://localhost:8088/static/;
@naz19
naz19 / hdp-2.5-sandbox-installation.md
Created July 27, 2017 11:56
HDP v2.5 Sandbox Installation Guide

HDP v2.5 Sandbox Installation Guide

  1. Download docker image using this URL

  2. Load the download file as an image in docker

    $ sudo docker load -i /path/to/downloaded/file