Skip to content

Instantly share code, notes, and snippets.

View saisurya-kat's full-sized avatar

saisurya kattamuri saisurya-kat

View GitHub Profile
@saisurya-kat
saisurya-kat / commands.md
Created March 4, 2019 04:30
Useful commands
List all corrupted maven jars in local repo
~/.m2/repository/ -name "*jar" | xargs -L 1 zip -T | grep error | grep invalid
@saisurya-kat
saisurya-kat / Useful Powershell Commands.md
Created February 26, 2018 07:27
Powershell commands

Find Processes running on a port nnumber netstat -ano | findstr :<PortNumber>

Kill Process with PID taskkill /PID /F

@saisurya-kat
saisurya-kat / NodeJsInstallationUbuntu17.10.md
Created October 22, 2017 11:45
How to install NodeJs in Ubuntu 17.10 using tar file
  • Download Latest/LTS NodeJs version from Nodejs.org website.
  • Copy/Move the node-vx.y.z-linux-x64.tar to /usr/local.
  • Extract or untar the file using
    tar xf node-vx.y.z-linux-x64.tar.xz
  • Verify Installation of node and npm using the following commands
    node --version npm --version
@saisurya-kat
saisurya-kat / LagomFramework.md
Last active June 16, 2017 10:55
Lagom Framework

Microservice Capabilities

  • Service Authoring : Development interfaces that abstract the core patterns of microservice solutions.
  • Service Discovery : Infrastructure for dynamically publishing and discovery microservices in a specific domain.(Consul.io,Etcd etc.)
  • Service Description : Metadata models for describing the capabilities of microservices.(Swagger,Thrift etc.)
  • Persistence : Microservices require isolated data persistence models to maintain its state.(NO SQL Databases)
  • Messaging Middleware : Queueing,PuSub and other fundamental message exchange patterns should me enabled in microservice solutions.(Kafka,RabbitMQ etc.)
  • Deployment Automation : Microservices technologies should abstract the pr

Lagom uses Reactive Principles to develop microservice

The Reactive Principles are

@saisurya-kat
saisurya-kat / HibernateMisc.md
Last active May 8, 2017 10:38
Hibernate Relationships and associations
@saisurya-kat
saisurya-kat / Rest-Must.md
Last active May 21, 2021 05:38
Everything about REST REST REST

REST - Representational State Transfer is intended to evoke an image of how a well-designed web application behaves.

  • Facts of REST
    • REST is not a standard/protocol its an architectural style
    • REST is protocol agnostic
    • JSON is not part of REST
    • HTTP is also not part of REST
  • 6 REST Constraints
    • Client - Server Architecture : Client and server are separated and can evolve separately.

List of useful Docker commands:

Identifying an existing docker image

docker search <image_name>
Eg: docker search redis

Running a docker image