makandra dev

...you should never do this (notice the whitespace in front of #): <% # my comment %> my html This leads to strange html output. To avoid long debugging sessions, you should never have...

...Rails project directory call regularly: geordi remove-executable-flags Runs chmod -x on Ruby, HTML, CSS, image, Rake and similar files. This script is part of our geordi gem on...

makandra dev
github.com

Clamps (ie. cuts off) an HTML element's content by adding ellipsis to it if the content inside is too long. While you can only truncate single lines with CSS...

...a form an autocomplete attribute with the value off: ... Rails example form_for @model, :html => { :autocomplete => "off" } do |form...

rubyforge.org

...came up with was to replace all occurrences of UTF-8 chars with their HTML entities (so "ü" instead of "ü" etc...

...breaking spaces are hard to distinguish for a human. Instead of using the &nbsp; HTML entity or code like " " # this is an nbsp, use a well-named helper method instead...

en.wikipedia.org

...connect to or communicate with a server other than server1.example.com. An exception is the HTML...

airpair.com

}); // Do this: app.controller('TodoCtrl', function () { this.input = 'ex. buy milk'; });

If you have a FooController and also have a layout app/views/layouts/foo.html, Rails will use this without being told so.

makandra dev
browsercookielimits.squawky.net

...size of all cookies <= 4093 bytes) Behind the link, you'll find a simple HTML page that offers some cookie tests (how large, how many etc) and an overview of...

reactarmory.com

Also, sanitizing user input for CSS injection is much harder than sanitizing HTML...

plnkr.co

...sets flex-basis: 0 which IE fails to support properly. Example Consider the following HTML and CSS. foo bar .container { display: flex; flex-direction: column; } .child { flex: 1; }

lesscss.org

...web browser. As any JavaScript, you include a link to the script in your HTML, and…that’s that. LESS is now going to process LESS code so instead of...

makandra dev
build.phonegap.com

Write your app using HTML, CSS or JavaScript, upload it to the PhoneGap Build service and get back app-store ready apps for Apple iOS, Google Android, Windows Phone...

litmus.com

You know that layouting HTML e-mails is terrible. For more fun, check Litmus' list of top 10 e-mail developments of 2015 that did not make things better...

duri.me

...and generate a base64-encoded version of it. You can copy the result as HTML tag with data URI, CSS rule with background-image and data URI, plain Base64-encoded...

makandra dev
github.com

...related matchers like toBeVisible() or toHaveCss(css) It gives you a function to load HTML from fixture files. Without this you would have to manually add elements to and clean...

github.com

Using this gem, whenever a Capybara test in Cucumber, Rspec or Minitest fails, the HTML for the failed page and a screenshot (when using capybara-webkit, Selenium or poltergeist) is...

snook.ca

CSS3 comes with new unit rem. It works like em but it is always relative to the element instead of...

makandra dev
css-tricks.com

Examples how to create dozens of shapes using pure CSS and a single HTML element...

github.com

As the title says: this jQuery plugin creates bar charts from HTML tables. It comes in some different flavors. Check the examples page: http://alphagov.github.com/magna-charta/.

makandra dev
github.com

pjax loads HTML from your server into the current page without a full reload. It's ajax with real permalinks, page titles, and a working back button that fully degrades...

makandra dev
softwareishard.com

All you need to do is right click on an element in the HTML panel, pick Log Events from the context menu and switch to the Console panel to...

teddevito.com

...in regular textareas to make them suitable for in-browser coding of languages like HTML, CSS, Javascript, or your favorite server-side language. The idea is to be able to...