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

shipping costs to Ireland from 100 popular online retailers

Shipping is an issue that comes up time and time again for companies that are selling online. How much do we charge? How to we calculate shipping? Do we offer free shipping for orders over a certain amount? Do we offer free shipping on the first order only? Do we take a hit on shipping costs in the hope lower (or free) shipping will be the trigger that pushes people over the line?

Read moreshipping costs to Ireland from 100 popular online retailers