bevacqua.github.io

Datetime picker that offers: simple UI without a specific framework several of customization options allows custom date/time validations Localization happens...

When you have an element you want to hide, you can add a ng-show='isOpen' attribute to that element...

trackduck.com

Service that you can integrate for user feedback. Super-simple integration: Add a tag to your layout, done. It will then add a button to the bottom right of your application. When a user clicks it, they can take a screenshot and leave a message. The screenshot then appears in TrackDuck's interface for you to work off. Current pricing is 9 USD per month for the smallest tier (1 project).

github.com

jquery-placeholder is a simple jQuery plugin that enables form placeholders in browsers that do not support them natively, i.e...

makandra dev
plugins.jetbrains.com

There are times when you have a chunk of text that you want to do something with, e.g. replace something...

iana.org

When using send_file (for example for attachments of any kind), make sure your application knows the correct mime types...

Rails comes with a Rake task notes that shows code comments that start with "TODO", "FIXME", or "OPTIMIZE".

makandra dev
yoyo.io

Fontawesome 4 ships with many useful CSS helper classes. Enlarge Icon Add fa-lg (133%), fa-2x, fa-3x, fa...

yoyo.io

Fontawesome 4 has introduced new naming conventions that make it easy to retrieve variants of a given icon.

edgeapi.rubyonrails.org

Starting from Rails 4.0, you can use a special form options helper called #collection_check_boxes. It behaves similar to...

When ending a Selenium test Capybara resets the browser state by closing the tab, clearing cookies, localStorage, etc.

techblog.livingsocial.com

Clever hack using data-attributes to assign labels to cells. It's still a massive duplication of code (labels), but...

If you want to rotate text, you can use CSS transforms in somewhat modern browsers to rotate the container element...

Here's a pretty useful steps that hasn't made it into Spreewald yet. It is best used with the...

makandra dev
github.com

Opinionated Angular style guide for teams by @john_papa Not everything in this guide works perfectly for us, but is...

github.com

You can hook into Slack when using Capistrano for deployment. The slackistrano gem does most of the heavy lifting for...

w3.org

Often times you want to give a bunch of elements the same style, except for the last. For example borders...

Write a // and indent every subsequent line by two spaces. This is great for documenting BEM blocks! // An action button...

patrickmarabeas.github.io

Webfonts are not always available when your JavaScript runs on first page load. Since fonts may affect element sizes, you...

makandra dev
stackoverflow.com

When a CSS3 animation makes the animated element flicker, it may well be due to pixel fragments being handled differently...

Be careful when using buttons without a type attribute, since browsers will consider them the default submit button of a...

tech.bellycard.com

The debate between using mixins or extends in Sass has been heating up recently. From the surface it appears they...

To achieve this goal you have to setup the session store like the following example: MyApp::Application.config.session_store( :cookie_store...

jQuery doesn't store information about event listeners and data values with the element itself. This information is instead stored...