Append quotes to strings in an array and make it comma separated string in Java
Java 8 has Collectors.joining() and its overloads. It also has String.join.Using a Stream and a Collector Happy Coding!
Java 8 has Collectors.joining() and its overloads. It also has String.join.Using a Stream and a Collector Happy Coding!
Ansible is the glue for VMware and DevOps, Many DevOps engineers use vRealize Automation to automate the Provisioning of VMs but there are a lot of chances that VMware isn’t the only infrastructure tool your company uses. Ansible helps you to do provisioning on multiple clouds, in this blog I try to explain the creation…
Creating a full backup in the SQL server using SSMS is very simple, but if you have 10’s of databases you find bit difficult to backup all databases in one go. So i write a small Powershell script which gets the list of databases and takes the backup except the system databases Run the script…
While testing our product Nimesa with Microsoft SQL Server 2016 on Microsoft Windows 2019 i hit with some scenarios my nodes in SQL cluster has some shadows, i wanted to check in all the machine and delete the shadows. What i did is, i wrote a small powershell script which connects to all the…
To do some testing of the on going release of Nimesa which do the application aware ( AppAware ) Backup of Microsoft SQL Server Cluster on SQL 2016 i created a small powershell scripts which create ( actually restores ) the databases from Adventure Works backup file Change the total and volume drive letter in…
With vSphere 6.7 web services SOAP API includes the creation date of a Virtual Machine and will be persisted with the life-cycle of the VM itself. You can get it from Virtual Machine -> Config -> createDate. Earlier to 6.7, we can track the VM Creation Time using EventManager. We should create an EventFilterSpec to…
To fetch the querystring parameters in Controller we usually use request().queryString() Map<String, String[]> queryString = request().queryString(); If we have multiple query-string keys and want to use a POJO to use query-string instead of parsing everything in Controller we can use QueryStringBindable If you have take a look in your project you will see just simple…
AWS Lambda lets you run code without provisioning or managing servers. You pay only for the compute time you consume – there is no charge when your code is not running. With Lambda, you can run code for virtually any type of application or backend service – all with zero administration. Just upload your code…
I have been working on a Cloud data protection application which would be running on AWS Cloud EC2 instance, for some information processing I need to get the instance id of my Amazon AWS EC2 instance which my software is running. Instance metadata is data about your instance that you can use to configure or…