Skip to content

Instantly share code, notes, and snippets.

View sushant-hiray's full-sized avatar

Sushant Hiray sushant-hiray

View GitHub Profile
@sushant-hiray
sushant-hiray / clearwater.md
Last active April 20, 2017 02:49
Installation Instructions for project clearwater

Prereqs

  • Atleast 7 VM's: 1 corresponding to each node and 1 for DNS Server.
  • Keep note of the IP's of each VM and assign them to a node.
  • A publicly accessible IP address of each of the above machines and a private IP address for each of them (these may be the same address depending on the machine environment). These will be referred to as <publicIP> and <privateIP> below.
  • The FQDN of the machine, which resolves to the machine's public IP address (if the machine has no FQDN, you should instead use the public IP). Referred to as <hostname> below.
  • A DNS root zone in which to install your repository and the ability to configure records within that zone. This root zone will be referred to as <zone> below. In setting of DNS, this is referred to as ims.hom

Setting up a DNS Server

from graphics import *
def get_y(x):
return x*x*x - 2*x +2
def main():
win = GraphWin("Graphing calulator", 300, 300)
win.yUp()
x_prev = -10
y_prev = get_y(x_prev)

##less command

Added the following support to less command

  • emoticon support
  • diagonal navigation support
@sushant-hiray
sushant-hiray / updateTitle.js
Created February 14, 2015 05:10
Frustrated seeing the live score at the top of starsports.com ? Run this script in your Javascript Console and enjoy!
setInterval(function(){
document.title = "Enjoy the world cup"
}, 500);

Steps to install Tensorflow Serving on Centos 7

Basic Prerequisites

sudo yum install git

sudo yum install gcc

sudo yum install gcc-c++