When you need information about a gem (like version(s) or install path(s)), you can use the gem binary...
tl;dr: Use the URLSearchParams API to make your live easier if you want to get or manipulate query parameters...
Jasmine is a great tool to unit test your JavaScript components without writing an expensive end-to-end test for...
JavaScript code can access and manipulate the browser's DOM tree. Using JavaScript we can add interactive behavior to our...
Elasticsearch defaults to go into readonly mode when you run low on disk space (< 95%). You might then see an...
This RailsCast demonstrated a very convenient method to activate VCR for a spec by simply tagging it with :vcr.
Event delegation is a pattern where a container element has a single event listener that handles events for all descendants...
When using RestClient to make an HTTP request, it will raise an exception when receiving a non-successful response.
When your application is open for public sign up and sends out transactional e-mails to a large number of...
Browsers blocks abusable JavaScript API calls until the user has interacted with the document. Examples would be opening new tab...
In Ruby (almost) everything is an Object. While this enables a lot of powerful features, this concept might be confusing...
Sometimes you want to have a time in a given timezone independent from you Rails timezone settings / system timezone. I...
A rough guide how to implement a REST API. The discussion here includes some interesting points as well: Timestamps: ISO8601...
Insomnia is a GUI tool to help you communicating with an API. There are also other tools to do this...
Scroll and touch event listeners tend to be computationally expensive as they are triggered very often. Every time the event...
Sometimes you want to find the inverse of an ActiveRecord scope. Depending on what you want to achieve, this is...
This is an extract from the linked article. It shows an approach on how to implement encrypted passwords with the...
When you use Sentry to monitor exceptions, an important feature is Sentry's error grouping mechanism. It will aggregate similar...
We use Sentry to be informed about different kinds of issues. One of the key features is that you are...
# Basic HTML example # Javascript API (notable methods and properties) video = document.querySelector('video') video.play() video.pause() video.load() // Reset to the beginning and...
RubyMine has a HTTP Client that can be useful to test web APIs. Just create a .http scratch file an...
Code comments allow for adding human readable text right next to the code: notes for other developers, and for your...
Or: How to avoid and refactor spaghetti code Please note that I tried to keep the examples small. The effects...
This is a personal post-mortem analysis of a project that was mainly build to provide a REST API to...