If you want to inspect the compiled code of your erb (or haml) templates, you can run the following code...

If you are on a Linux shell and want to open a file with whatever default application is configured for...

Let's say you want to find the element with the text hello in the following DOM tree: hello

Imagine you have a list you want to render inline on large screens, but stacked on small screens. high

makandra dev

Angular's directives have a transclude option, that allows for rendering an element's original content within the directive's...

github.com

Note The maintenance mode is enabled on all application server as soon as the file /public/system/maintenance.html is present. Installation

Once Rails knows a given string is html_safe, it will never escape it. However, there may be times when...

litmus.com

You know that layouting HTML e-mails is terrible. For more fun, check Litmus' list of top 10 e-mail...

There are cases when you need to select DOM elements without jQuery, such as: when jQuery is not available

docs.google.com

A very informative and interesting presentation about browsing performance, looking at efforts Google Chrome takes to increase it.

mail-tester.com

You can use mail-tester.com to check your application's e-mails for issues that might cause e-mails to be...

makandra dev
github.com

Note This card does not reflect the current state of lazy loading technologies. The native lazy attribute could be used...

Nobody needs HTML e-mails. However, you occasionally might have to write an HTML message for some weird reason. Here...

makandra dev

Installing SSL certificates usually implies additionally using intermediate certificates. If one of them is missing, some SSL client implementations might...

Our applications not only need to be functional, they need to be fast. But, to quote Donald Knuth, premature optimization...

stackoverflow.com

With ngAnimate, you can easily animate certain events (see directive support). We'll make use of ngClass animations to style...

makandra Curriculum

Understand how nested attributes appear in the params. See how the Rails form helpers encode the names of nested...

You have the following HTML structure:

If you want to run Javascript code whenever someone clicks on a ...

..., you...

makandra dev
blog.getbootstrap.com

Moved from Less to Sass. Bootstrap now compiles faster than ever thanks to Libsass, and we join...

makandra Curriculum

We've already learned how to integrate user-provided images uploads to our application in 205 basic file uploads and...

We are using the BEM pattern ("Block, Element, Modifier") to structure our CSS in all new projects. We try to...

In a web application you often need to move data between the client (HTML, Javascript) and the server (Ruby, Rails...

There is no single place to look up documentation for our stack. This card includes some hints where you can...

Web security basics Einführung in die Web Security 🇩🇪 provides essentials for the topic of this card. Read following chapters: