Git is a widely adopted Version Control System known for its branching support. Recently I was required to find out all the remote branches with their author names. Upon browsing over the web I found that command git-for-each-ref can help me. Here is how I combined it with grep to get the desired output: [code] […]
This blog focusses on setting up Mcollective and puppet push-pull environment in open source puppet, configuration management tool. Puppet has a default behavior that agents pull their respective configurations (catalogs) at regular interval of time. The blog refers to certain use case where you don’t want an agent to make changes at their respective time […]
With fall in viewership across traditional television channels, video content owners are looking to augment their revenue from digital Over-The-Top (OTT) platforms such as YouTube, Hulu etc. Video content owners who are serious on setting up a sustainable revenue stream from digital platforms, need a clear focused digital strategy. Strategy should imbibe aspects related to video […]
Grails has done lot of changes with its latest release in Grails 3, using configuration is one of them. Now we can write application configurations in application.yml and application.groovy as well and to read these property we can need to write the following code. [code] class ExampleController { GrailsApplication grailsApplication def index() { render "Old […]
The CSS property “Display” is very useful and commonly used property of CSS which contains lots of values. In this blog we’ll talk about only “display:inline” and “display:inline-block”. We generally use both these properties to allow other elements to sit to their left and right but it has some difference which is explained below. Display:inline […]
In any DBMS, aggregations are operations that process data records and return computed results. MongoDB provides a rich set of aggregation operations that examine and perform calculations on the data sets. Running data aggregation on the mongod instance simplifies application code and limits resource requirements. In my current project, I had a requirement to show […]
This blog deeply discusses the autosigning feature of Puppet. During my journey to implement auto sign in our production environment, I came across various challenges related to security and making it as tight as possible and I was finally reached the last resort to achieve autosigning as per my requirement. Autosign is a feature of […]
Working with CSS- calc() These days CSS has the ability to do some cool stuff like animations, gradients, transforms, creating sophisticated interfaces with flexible box layouts etc. In this blog we will learn how to use the calc() CSS function, which is very useful for calculation in CSS. How to use it: calc() allow us […]
Now that Grails 3, the most anticipated release of Grails is out, which comes with lot of new features like: Gradle Build System. Notion of application profiles. Redesigned API based on Traits. New shell & Code generation API. Build in support for Spock/Geb functional tests. Gradle Test Running etc. The Grails core team always maintained […]