EPS to SVG using Inkscape 
Author: Josef Jezek
# Install Inkscape on Ubuntu
sudo apt-get install inkscape
#/bin/bash | |
if [ $# -eq 0 ] ; then | |
echo 'Please provide a site install to work with.' | |
exit 0 | |
fi | |
git co 8.x | |
git pull origin 8.x | |
mysql -uroot -e 'drop database d8; create database d8'; |
Author: Josef Jezek
# Install Inkscape on Ubuntu
sudo apt-get install inkscape
<?php | |
use Behat\Behat\Context\ClosuredContextInterface, | |
Behat\Behat\Context\TranslatedContextInterface, | |
Behat\Behat\Context\BehatContext, | |
Behat\Behat\Exception\PendingException; | |
use Behat\Gherkin\Node\PyStringNode, | |
Behat\Gherkin\Node\TableNode; | |
/** |
/** | |
* @Then I fill in wysiwyg on field :locator with :value | |
*/ | |
public function iFillInWysiwygOnFieldWith($locator, $value) { | |
$el = $this->getSession()->getPage()->findField($locator); | |
if (empty($el)) { | |
throw new ExpectationException('Could not find WYSIWYG with locator: ' . $locator, $this->getSession()); | |
} |
// -------------------------------------------------- | |
// Flexbox SASS mixins | |
// The spec: http://www.w3.org/TR/css3-flexbox | |
// -------------------------------------------------- | |
// Flexbox display | |
@mixin flexbox { | |
display: -webkit-box; | |
display: -moz-box; | |
display: -ms-flexbox; |