# 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...
Browsers come with a set of built-in elements like or . When we need a new component not covered by...
You can use the Youtube API to get data from youtube. Here are some resources and some things that are...
Rubygems supports a 2FA for your account. Once enabled you need to provide your personal OTP code for every release...
The Ruby standard lib ships with a YAML Parser called Psych. But serializing and deserializing data seems not as obvious...
General hints on the DOM the root of the DOM is document custom elements inherit from HTMLElement. They need a...
TL;DR Most web applications do not require action on this. SameSite=None (old browser default) will continue to work...
Was ist Elastic? Suchmaschine, basierend auf Apache Lucene größtenteils Open-Source einige kommerzielle Features ("Elastic Stack", früher "X-Pack") Zugriffsrechte...
Tod is a gem for working with daytimes. That's a tuple of (hour, minute second) without a day, month...
In Rails, we usually have a mailer setup like this: class MyMailer < ActionMailer::Base def newsletter mail to: 'receiver@host.tld',
We forked trusty memoizer to make two changes: Memoized methods now preserve their arity. Previously all memoized methods had an...
See the attached link for a useful overview of modern (and classic) DOM API methods, like matches, contains, append, cssText...
This is a presentation from 2019-01-21. Summary We want to move away from jQuery in future projects
The standard way to abort async code is that your function takes a AbortSignal { signal } property. The caller can use...
When doing Basic Authentication, your browser will send an "Authorization" header. Its value is simply a Base64-encoded representation of...
In ruby you can easily read and write CSVs with the standard CSV library class. On top of this, you...
When upgrading Rails versions -- especially major versions -- you will run into a lot of unique issues, depending on the exact...
When you created a project on the Google API Console which is not being used, you may receive an e...
jQuery's removeClass removes the given class string from an element collection. If you want to remove multiple/unknown classes matching...
Mobile Chrome and Safari support the "web share API" which allow you to use the native share functionality of an...