How to make an interactive serverless slack app with NodeJS, AWS Lambda & API Gateway

An easy way to start a fight is to ask a bunch of developers which team communication platform is best. People can spend a large chunk of their time using it so the stakes can be quite high. Using one platform over another can be the difference between no change in workflow -v- a steep … Read moreHow to make an interactive serverless slack app with NodeJS, AWS Lambda & API Gateway

Getting a PageSpeed score of 100 with WordPress

Google’s PageSpeed Insights tool is a quick and easy way of checking site performance on desktop and mobile. It provides you with suggestions on what to improve and this can help you to figure out if there are any quick wins to be had. It can also help to troubleshoot performance and give clues as … Read moreGetting a PageSpeed score of 100 with WordPress

How to get the start and end time of every month between two dates

So you can get a list of daily values from an endpoint and maybe you can even specify ‘to’ and ‘from’ times to get values in between certain dates. Fantastic. But what you *really* want to do is group data by months. How do you do it? This is a problem I ran in to … Read moreHow to get the start and end time of every month between two dates

Ridiculously lightweight, responsive CSS & SVG device shapes

We’ve all come across startup or app websites that display their product within a realistic smartphone or laptop image. Sometimes it’s used to show that the app or website is responsive and has been built for multiple platforms. When working on one particular project, I decided against using stock images for a variety of reasons … Read moreRidiculously lightweight, responsive CSS & SVG device shapes

How to determine whether a time is the start of a day in vanilla javascript

Let’s say you have an endpoint returning the hourly prices for gold. But you don’t want to display hourly values, you want to only display the value at the start of a new day (i.e. at midnight). How do you go about it? This was a problem I faced working on a project and I … Read moreHow to determine whether a time is the start of a day in vanilla javascript