-
Open a browser
# start an instance of firefox with selenium-webdriver $browser_type = 'firefox' $host = 'http://localhost:4444/wd/hub'
$capabilities = array(\WebDriverCapabilityType::BROWSER_NAME => $browser_type);
# extract: Extract most know archives with one command | |
# --------------------------------------------------------- | |
extract () { | |
if [ -f $1 ] ; then | |
case $1 in | |
*.tar.bz2) tar xjf $1 ;; | |
*.tar.gz) tar xzf $1 ;; | |
*.bz2) bunzip2 $1 ;; | |
*.rar) unrar e $1 ;; | |
*.gz) gunzip $1 ;; |
#! /bin/bash | |
# pipe input from column | |
# | |
# Usage | |
# | |
# ex. cat output.txt | column -t | ./profileMappingMapping.sh | |
# | |
# for funzies you can pipe out to column again | |
# |
<VirtualHost *:80> | |
ServerName {zietlow.dev} | |
ServerAlias {*.zietlow.dev} | |
DocumentRoot {/home/aczietlow/Sites/zietlow/dev/www} | |
# Optional per project error logging. | |
ErrorLog {/home/aczietlow/Sites/zietlow/dev/zietlow.log} | |
<Directory {/home/aczietlow/Sites/zietlow/dev/www/}> | |
Options Indexes FollowSymLinks MultiViews |
#!/bin/sh | |
# | |
# A hook script to prepare the commit log message. | |
# Called by "git commit" with the name of the file that has the | |
# commit message, followed by the description of the commit | |
# message's source. The hook's purpose is to edit the commit | |
# message file. If the hook fails with a non-zero status, | |
# the commit is aborted. | |
# | |
# To enable this hook, rename this file to "prepare-commit-msg" and |
diff --git a/config_ignore_drush/composer.json b/config_ignore_drush/composer.json | |
new file mode 100644 | |
index 0000000..70e4fcd | |
--- /dev/null | |
+++ b/config_ignore_drush/composer.json | |
@@ -0,0 +1,15 @@ | |
+{ | |
+ "name": "drupal/config_ignore_drush", | |
+ "type": "drupal-drush", | |
+ "description": "Command replacement for config:import and config:export that applies sync and active storage filters rather than just sync.", |
<?php | |
/** | |
* @Given /^The element "(?P<selector>[^"]*)" should have a css property "(?P<property>[^"]*)" with a value of "(?P<value>[^"]*)"$/ | |
* | |
* @TODO Need to find a way to test for css styles on elements. | |
* Or possibly we should just be checking the markup, and not the styling... Research this more. | |
*/ | |
public function assertElementHasCssValue($selector, $property, $value) | |
{ | |
$page = $this->getSession()->getPage(); |
$form['auto_create_bundle'] = [ | |
'#type' => 'select', | |
'#title' => $this->t('Store new items in'), | |
'#options' => $bundles, | |
'#default_value' => $selection_handler_settings['auto_create_bundle'], | |
'#access' => count($bundles) > 1, | |
'#states' => [ | |
'visible' => [ | |
':input[name="settings[handler_settings][auto_create]"]' => ['checked' => TRUE], | |
], |
brew install python
pip install behave, selenium, ipdb, behave2cucumber
########################################### | |
# System Specific | |
########################################### | |
#mysql | |
#export PATH="$PATH:/usr/local/mysql/bin/mysql" | |
#alias mysql='/usr/local/mysql/bin/mysql' | |
#alias mysqldump='/usr/local/mysql/bin/mysqldump' | |
#alias mysqladmin='/usr/local/mysql/bin/mysqladmin' |