Menu

Blogs

Lots of our people have lots of opinions. Here are just a few of them

ThoughtWorks embraces the individuality of the people in the organization and hence the opinions expressed in the blogs may contradict each other and also may not represent the opinions of ThoughtWorks.

Exhibiting Movies in Office

Many times, I received requests from colleagues and friends seeking legal opinion on showing a movie in their office premises. In most of the situations, it may be an exhibition of a documentary or a short film of social significance to a small gathering of employees. As a basic legal principle, a copyright is created...

Suresh babu Kalarikkal
15 September 2019

Original Link

Add Redux custom middleware dynamically

Redux middlewares can be used for a variety of things. You can basically tap into a redux event and perform some action with it. Logging…

Random Presence
13 September 2019

Original Link

Start nginx when upstream is unavailable

Upstreams in Nginx is an nginx directive to define groups of servers. Servers can listen on differnt ports, and it is possible to mix and…

Random Presence
13 September 2019

Original Link

Dealing with SOAP in clojure

Simple Object Access Protocol (SOAP) SOAP brings its own protocol and focuses on exposing pieces of application logic (not data) as services…

Random Presence
13 September 2019

Original Link

Asynchronous calls in React component

All network calls that are necessary to load data needed by the component should go inside From React docs componentDidMount() is invoked…

Random Presence
13 September 2019

Original Link

Flyway migrations in lein clojure

Leiningen is the easiest way to start with clojure project automation. The project under discussion is a webservices written in clojure…

Random Presence
13 September 2019

Original Link

Card slider using CSS Keyframes

CSS Keyframes is a powerful feature to create animations in CSS. Below is a small snippet I created for slider like animation. Most of the…

Random Presence
13 September 2019

Original Link

Storing a function in the Redux store

Redux is a predictable state container for Javascript. Redux state has to be serializable all the time. Object serialization is the process…

Random Presence
13 September 2019

Original Link

Mock toLocaleString in Jest

We had to use with a specific country-code. . This works perfectly in all the browsers. However, not in jest tests. Our Jest tests were…

Random Presence
13 September 2019

Original Link

Spring security session timeouts

Using Spring security we were building an application which has 2 types of users Internal and External. Our requirement was Internal and…

Random Presence
13 September 2019

Original Link

Angular resource and http interceptor

Once you set up your project with angular and ngResource you will be able to access $resource object. $resource will serve as a factory…

Random Presence
13 September 2019

Original Link

Post browser logs to server in an Angular app

We were looking for an efficient way of capturing all the Javascript errors from browsers in our backend so it appears in our Kibana…

Random Presence
13 September 2019

Original Link

Expanding Amazon EBS Volume in a EC2 instance.

I had an AWS image which was created using an EC2 instance of size 8 GB. Whenever i try to launch an instance i usually change the storage…

Random Presence
13 September 2019

Original Link

Set deployed Git revision using Capistrano 3

We use Capistrano to deploy our Rails application. Recently i upgraded our capistrano version from 2 to 3 Capistrano 3 has a complete DSL…

Random Presence
13 September 2019

Original Link

UrlGenerationError after upgrading to Rails 4.2

On upgrading my rails app from 4.0 to 4.2.5 i steeped onto a wierd issue where my form _ for tag breaks and starts throwing exception. A…

Random Presence
13 September 2019

Original Link

Integrating CKEditor with Rails asset pipeline.

We are using ckeditor in our rails application (Rails 4.2). Number of network calls made by the ckeditor and its plugins are quite alot…

Random Presence
13 September 2019

Original Link

Deploying Jekyll site for Github pages through rake script

This blog is powered by Jekyll and I use Github pages as web server. Branch structure in Github Github by default publish the contents of…

Random Presence
13 September 2019

Original Link

Integrating Netflix Hystrix to a Spring Application

After reading Martin Fowler’s Circuit breaker post i thought of implementing the same to my application. While looking for possible…

Random Presence
13 September 2019

Original Link

Testing APIary using Dredd.

API Blueprint is a documentation-oriented API description language. A couple of semantical assumptions over the plain Markdown. Dredd is a…

Random Presence
13 September 2019

Original Link

Making HTTPS call using Apache HttpClient.

This post details about making Secure HTTP(HTTPs) call from a server using Apache HTTPClient library. The simplest will be to ignore the ssl…

Random Presence
13 September 2019

Original Link