Skip to content

Instantly share code, notes, and snippets.

View sujaybhowmick's full-sized avatar
🎯
Java, Koltin, Python, Kubernetes, Machine Learning

Sujay Bhowmick sujaybhowmick

🎯
Java, Koltin, Python, Kubernetes, Machine Learning
View GitHub Profile
@sujaybhowmick
sujaybhowmick / Useful commands
Last active December 27, 2015 13:19
DevOps
Quick way to check Service status
-----------------------------------------------------------------------------------------------------
prompt$ echo ruok | nc <hostname> <port>
** Example on a linux machine(for windows install http://sourceforge.net/projects/nmap-ncat/)
prompt$ echo ruok | nc localhost 8080
@sujaybhowmick
sujaybhowmick / tutorial1
Last active December 31, 2015 12:19
Java tutorials - Class/Object/Encapsulation
Identify the classes their properties and methods in the following problem description
I want to model a basic cellphone for an outgoing call. The phone should be able to dial a number,
initiate a call, ability to talk after successfulconnection to the dialed cell phone and then
disconnect. The cellphone should be enough battery to initiate a call and if the battery is dead
it should end the call gracefully. The phone should have ability to be switched on switched off.
For obvious reasons the user of the phone can make a call only if the phone is switched on. Also
For simplicity assume on 1 call is allowed at any given time (no hold and conference capabilities
are required).
openapi: "3.0.0"
info:
version: 1.0.3
title: Sentifi Intelligence
description: |
Sentifi Intelligence API
servers:
- url: https://apis.sentifi.com/v1.1/intelligence/markets
- url: https://apis.sentifi.com/v1/oauth
{
"openapi": "3.0.0",
"info": {
"version": "1.0.3",
"title": "Sentifi Intelligence",
"description": "Sentifi Intelligence API\n"
},
"servers": [
{
"url": "https://apis.sentifi.com/v1.1/intelligence/markets"
openapi: "3.0.0"
info:
version: 1.0.3
title: Sentifi API Authentication and Authorization
description: |
Sentifi API Authentication and Authorization
servers:
- url: https://apis.sentifi.com/v1/oauth
description: OAuth Url to retrieve the token
tags: