Localizing a non-trivial application can be a huge undertaking. This card will give you an overview over the many...

...pev2, a handy tool for analyzing execution plans. You can download the attached standalone HTML file (original source) to use the app offline—simply open the file in your browser...

Note If you cannot use type="number", you can use the inputmode HTML attribute to control the virtual keyboard's appearance on mobile/tablet devices. There is also the...

...only available for input[type=text], textarea Related cards Preventing interactivity on elements using HTML or CSS

if mail.body.parts.any? mail.body.parts.first.body.to_s else mail.body.to_s end end let(:dom) { Nokogiri::HTML(body) } The only difference will the src attributes of your image tags. As mentioned above...

When a nginx reverse proxy complains about upstreams sending too big headers, tweaking the buffers responsibly can help to prevent...

mail-tester.com

...records, reverse DNS lookup, etc). However, your application should provide plain-text bodies for HTML e-mails. This can be done automatically. Free plan is limited to 3 e-mails...

developer.mozilla.org

...the Google search, where the preview text in the search is highlighted in the HTML after you followed the link. Example: https://example.com/#:~:text=for%20use%20in Browser Support: https://caniuse.com/?search=text%20fragment (good...

end end # app/controllers/jasmine_controller.rb class JasmineController < ApplicationController layout false def index end end -# app/views/jasmine/index.html.haml !!! %html %head = stylesheet_pack_tag 'jasmine', :media => 'all' %link{href: image_pack_tag('jasmine_favicon.png'), rel: 'icon...

...the foot during maintenance: If all your routes send a "200 OK" with a HTML body "We're back soon", Google will index "We're back soon" as the text...

Nearly all jQuery traversal functions ignore elements that are not HTML tags. To work with other type of nodes (like text, comment or CDATA sections) you need to: Retrieve child...

...return this.nodeType === 3; }); } Also check out this list of existing node types. 1 is HTML tag, 3 is text, 8 is comment, etc...

...in its own window, like a PDF. Capybara/Selenium freaks out because there is no HTML document on the other side. Below you can find multiple methods how to test file...

developer.mozilla.org

Today I learned that you can animate HTML elements using the Web Animation API's method .animate(keyframes, options) (which seems to be Baseline for all browsers since 2022).

To return non-HTML responses (like XLS spreadsheets), we usually use the respond_to do |format| format.xls do # send spreadsheet end end This is often, but not always the same...

...agreed on a common format to do this: OpenGraph tags that go into your HTML's : Note The property og:image must be a full URL. It cannot be a...

Einschub: Was ist XSS? XSS = Cross Site Scripting. Passiert wenn ein User ungefiltertes HTML in die Webseite einfügen kann. Danke für den interessanten Beitrag! alert('you have been hacked') Rails löst das Problem weitgehend...

makandra dev

RubyMine has a HTTP Client that can be useful to test web APIs. Just create a .http scratch file an...

github.com

...Coverage. This gives a benefit because changes in JavaScript often correlate with changes in HTML. This may partly also be influenced by the fact that features are harder to prioritize...

...above the browser would now load your frontend bundle in multiple steps: Load initial HTML

Frontend Frameworks like Unpoly Wysiwyg (What You See Is What You Get) HTML editors Datepickers Sliders Tooltips Dialogs ... We generally use the yarn add command to add third...

workingdraft.de

The robots.txt file and HTML tag can be used to control the behavior of search engine crawlers. Both have different effects. robots.txt Marking a URL path as "disallowed" in robots.txt...

...code base will grow a collection of different file types including: Ruby (business logic) HTML fragments (layouts and views) CSS/Sass/SCSS (styles) JavaScript (client-side behavior) Static media (images, fonts, videos...

thegnar.com

...a subject block. You can also use describe to specify which parts of your html you are currently interested in naming it with it's actual selector. The context can...

makandra Curriculum

...a class WebsiteSizer that measures the number of characters in the given URL's HTML body: website_sizer = WebsiteSizer.new website_sizer.size_of('https://makandra.com') # => 27448 website_sizer.size_of('https://railslts.com') # => 2145364

...class should cache its results so subsequent calls for the same URLs return the HTML size instantly, without making an additional HTTP request. Write two versions of WebsiteSizer: