You want to use fields in your applications. However, your desktop users may encounter some weird quirks: Aside from allowing...

Sometimes a link or input field has no visible label. E.g. a text field with a magnifying glass icon 🔎 and...

makandra dev

Besides their default styling properties, HTML elements have a semantic meaning. For example, an h1 tag is usually styled with...

Most browsers have built-in drag and drop support for different page elements like text and images. While this may...

This bookmarklet grabs a PivotalTracker story title, transforms it into a valid git branch name and automatically prepends your initials...

After switching a project from Sprockets to Webpack, I started observing a bug that was hard to debug: Our...

We recently noticed issues with Chrome 75+ when having the w3c option enabled within the Selenium webdriver. It looks like...

Matching the "space" character class For matching whitespaces in a regular expression, the most common and best-known shorthand expression...

makandra dev

Rails 6 includes a WYSIWYG editor, Action Text. It works out of the box quite well, but chances are that...

In case Ruby does not detected the expected encoding of a file automatically you can specify the known encoding manually...

makandra dev

This card is mainly an explanation how variable fonts work in CSS, not necessarily a recommendation to actually use them...

github.com

Minidusen lets you find text in associated records. Assume the following model where a Contact record may be associated with...

web.archive.org

There is a common view that extracting text from a PDF document should not be too difficult. After all, the...

To find a version containing the regular expression foo in the history of any branch: git grep foo $(git rev...

Ruby's File class has a handy method binary? which checks whether a file is a binary file. This method...

If you have a :string or :text field, you should pair it with a model validation that restricts its length...

postgresql.org

PostgreSQL offers three character types for your columns: character varying(n) (also called varchar or just string): Contents are limited...

makandra dev
select2.org

Select2 comes with AJAX support built in, using jQuery's AJAX methods. ... For remote data sources only, Select2 does not...

When we write a form with date fields, we often use graphical data picker like Rome to get a consistent...

makandra dev

Code comments allow for adding human readable text right next to the code: notes for other developers, and for your...

This is a personal post-mortem analysis of a project that was mainly build to provide a REST API to...

So I had the issue that User input (coming from many different sources and users) often contains the...

This is a bookmarklet you can add to Chrome or Firefox which will allow you to create a story in...

When text renders differently in Firefox and Chrome, it may be caused by a font alias that both browsers handle...