Monthly Shaarli
August, 2017
In the previous tidbit, we looked at how Drupal 8 downloads software translations automatically, but what do software translations include? There are several new translation APIs for software translation in Drupal 8. Prior Drupal versions had the rule that you should use t() and format_plural() with little exceptions. Drupal 8 has much more complexity in this area, which may be a bliss or a curse depending on how you look at it. It definitely brings translation support to several areas that were not or poorly covered before. Buckle up, this 'tidbit' is more like a deep-dive into the woods of the API!
Create fast loading, highly readable, and 100% responsive interfaces with as little css as possible.
Stack2RSS provides RSS feeds for answers, questions, comments, suggested edits, badges, reputation changes, question timeline events, and more! Stay on top of what's happening like never before.
Возможность звонить и принимать звонки через Wi-Fi со своего номера телефона сейчас «в тему», так как одна из самых востребованных ситуаций — звонки в международном роуминге. Хорошо, что запустили до начала сезона новогодних поездок. Также для компенсации отсутствия покрытия в метро и в проблемных местах. Есть ряд ограничений и неудобств, но работает и вполне может пригодиться
I need to take control over the rendering of a field_tags field in a node.html.twig template.
{% for key, item in content.field_tags if key|first != '#' %}
<div class="item-{{ key + 1 }}">{{ item }}</div>
{% endfor %}
At every position of the cursor you can picture a triangle between the current mouse position and the upper and lower right corners of the dropdown menu. If the next mouse position is within that triangle, the user is probably moving their cursor into the currently displayed submenu. Amazon uses this for a nice effect. As long as the cursor stays within that blue triangle the current submenu will stay open. It doesn’t matter if the cursor hovers over “Appstore for Android” momentarily – the user is probably heading toward “Learn more about Cloud Drive.”
Chrome extension that enhances the keyboard shortcuts in Google Search
Tools to create and run Drupal sites in the VVV virtual machine.
Yep! You'd do the same kind of setup as the multisite docs mention. Instead of pointing each virtualhost to the same docroot, you'd point each virtualhost to a different docroot. And you can add multiple vagrant_synced_folders entries, one for each site.
Pure Node.js Sass linting
Are your trainers looking a bit worse for wear? Take a look at our handy guide for tips on how to keep your trainers looking fresher for longer.
This is why software requirements should be clear and understandable. https://t.co/Nky9EVYkIw
QLColorCode Quick Look plugin for source code with syntax highlighting.
When you’re working on your Linux or Mac OS X system’s command line, the prompt is the text to the left of the commands you enter. The default prompt varies for every system, but it usually gives you an indication of your username, your machine’s host name and your current working directory. Also, it ends with a dollar sign $ if you’re working as a normal user. If you’re working with root privileges, it ends with # instead.
I have been using Varying Vagrant Vagrants (VVV) for some time now as my development environment for WordPress projects. If you haven’t used VVV, I encourage you to try it out, it makes a lot of things easier in terms of setting up your local server. VVV’s primary use is for the development of WordPress itself but the Auto Site Setup feature allows you to use VVV for developing your own WordPress projects.