$ tmux
CTRL+B C
-> create new pane
CTRL+B [num]
-> go to a pane
CTRL+D
-> finish bash session, closes the pane. Closing all panes will destroy the window and thus the tmux
sudo launchctl unload /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist | |
sudo launchctl load /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist | |
dscacheutil -flushcache | |
brew services restart dnsmasq |
<?php | |
class MyController extends ControllerBase implements ControllerInterface { | |
/** | |
* @var MyClass1 | |
* Object of Class 1 | |
*/ | |
protected $obj1; |
/** | |
* See if the element (name|label|id) is greater than the % of the window | |
* | |
* @Then /^the element "([^"]*)" should be "([^"]*)" percent or greater than the window$/ | |
*/ | |
public function theElementShouldBePercentOrGreaterThanTheWindow($arg1, $arg2) | |
{ | |
//1. make sure the target exists | |
//2. get the height of the target | |
//3. compare it to the window height |
<?php | |
/** | |
* A base class with getters and setters incorporated. | |
*/ | |
class ObjectBase { | |
/** | |
* Setter function for a generic attribute. | |
* | |
* @param string $property_name |
dependencies[] = ctools | |
; Views Handlers | |
files[] = views/mymodule_handler_handlername.inc |