Quantcast
Channel: tech cottage
Browsing all 48 articles
Browse latest View live

Format shell script

snap install shfmt  shfmt -i 2 -ci -w ./*.sh

View Article


Image may be NSFW.
Clik here to view.

grpc connect — rust, java and grpc-web

Gist: Route calls from browser(using grpc-web) to rust grpc application(implemented using tonic), which in turn delegates to java grpc and vice versa.Note: We use latest versions of various...

View Article


Install rust on ubuntu

curl https://sh.rustup.rs -sSf | sudo sh -s -- -ysource $HOME/.cargo/envsudo apt-get install -y build-essential

View Article

VPC native kubernetes cluster in GCP

 VPC native k8s clusters have quite a few advantages:POD IPs are directly routable. This eliminates the need for a load balancer to hop from node to pod. Instead traffic can reach PODs directly...

View Article

Cloud Foundry Now Supports Play!

Cloudfoundry now has now incorporated support for play 2.0. Following is the link:http://blog.cloudfoundry.com/2012/05/31/cloud-foundry-now-supports-play/Have fun!

View Article


scala xml wrapper utility

XDoc is a utility wrapper over scala.xml.Elem. It's simplifies xml processing. Following needs to be considered while using this utility:1) It does not support namespaces. That can easily incorporated...

View Article

Asynch concurrency: In the promised land of scala futures

The basics:The concept of future is not new - java added them in 1.5 -scala actors had futures from the start, lift webframework had its own futures. As more and more libraries and toolkits sprang up...

View Article

Image may be NSFW.
Clik here to view.

Rust counter program and client on solana

  https://github.com/ratulb/solana_counter_program

View Article

Browsing all 48 articles
Browse latest View live