Monthly Shaarli

All links of one month in a single page.

August, 2017

Drupal 8 multilingual tidbits 10: context specific text translation APIs | Gábor Hojtsy on Drupal

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!

TACHYONS - Css Prototyping Toolkit

Create fast loading, highly readable, and 100% responsive interfaces with as little css as possible.

Stack2RSS

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.

Mobile-review.com Tele2, Звонки через Wi-Fi

Возможность звонить и принимать звонки через Wi-Fi со своего номера телефона сейчас «в тему», так как одна из самых востребованных ситуаций — звонки в международном роуминге. Хорошо, что запустили до начала сезона новогодних поездок. Также для компенсации отсутствия покрытия в метро и в проблемных местах. Есть ряд ограничений и неудобств, но работает и вполне может пригодиться

theming - Iterate through multiple value content field in Twig template - Drupal Answers

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 %}

Ben Kamens, Breaking down Amazon's mega dropdown

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.”

GitHub - infokiller/google-search-navigator

Chrome extension that enhances the keyboard shortcuts in Google Search

GitHub - EHLOVader/vvv-drupal

Tools to create and run Drupal sites in the VVV virtual machine.

multiple sites setup · Issue #1266 · geerlingguy/drupal-vm

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.

GitHub - sasstools/sass-lint

Pure Node.js Sass linting

How To Keep Your Trainers Looking Fresher For Longer | The Idle Man

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.

Cannïbal on Twitter: "This is why software requirements should be clear and understandable. https://t.co/Nky9EVYkIw"
thumbnail

This is why software requirements should be clear and understandable. https://t.co/Nky9EVYkIw

GitHub - anthonygelibert/QLColorCode

QLColorCode Quick Look plugin for source code with syntax highlighting.

Customizing Your Bash Command Prompt « Super User Blog

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.

Local Drupal development with Varying Vagrant Vagrants (VVV) | Hello, I'm Ash Matadeen

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.