Skip to content

Instantly share code, notes, and snippets.

@umohi
umohi / README.md
Last active November 16, 2021 15:53 — forked from pedronauck/README.md
Sample file for README.md

Project Name

TODO: Write a project description

Usage

TODO: Give a couple of examples of how to use

Dev Environment Setup

@umohi
umohi / Vault.txt
Last active March 16, 2020 10:05 — forked from TonyNguyen87/Vault.txt
Gist for setting up Vault server with Consul backend.
// Set up Ubuntu on Ec2 instance
// Install unzip.
sudo apt-get install unzip
// Download Vault and Consul(if necessary)
wget https://releases.hashicorp.com/vault/0.6.2/vault_0.6.2_linux_amd64.zip
@umohi
umohi / download-github-artifact
Created September 21, 2018 22:48
use curl to download release artifact from github private repository
# in order to download release artifacts from github, you have to first retreive the
# list of asset URLs using the github repo REST API. Use the asset URL to download
# the artifact as a octet-stream data stream. You will need to get an access token
# from "settings -> developer settings -> personal access tokens" on the github UI
#!/bin/bash -e
owner="MY_ORG_NAME"
repo="MY_REPO_NAME"
tag="ARTIFACT_TAG"
artifact="ARTIFACT_NAME"
@umohi
umohi / designer.html
Last active August 29, 2015 14:15
designer
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../paper-item/paper-item.html">
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../paper-button/paper-button.html">
<polymer-element name="my-element">
<template>