As configured in my dotfiles.
start new:
tmux
start new with session name:
As configured in my dotfiles.
start new:
tmux
start new with session name:
#!/bin/bash | |
HUB_HOST="hostname" | |
HUB_PORT="4444" | |
LOCAL_IP="ip" | |
SOCAT_PORT="8081" | |
JSON="{'configuration': {'registerCycle': 5000, 'hub': 'http://<HUB_HOST>:<HUB_PORT>/grid/register', 'host': '<LOCAL_IP>', 'proxy': 'org.openqa.grid.selenium.proxy.DefaultRemoteProxy', 'maxSession': 1, 'port': <SOCAT_PORT>, 'hubPort': <HUB_PORT>, 'hubHost': '<HUB_HOST>', 'url': 'http://<LOCAL_IP>:<SOCAT_PORT>', 'remoteHost': 'http://<LOCAL_IP>:<SOCAT_PORT>', 'register': true, 'role': 'node'}, 'class': 'org.openqa.grid.common.RegistrationRequest', 'capabilities': [{'seleniumProtocol': 'WebDriver', 'platform': 'ANDROID', 'browserName': 'android', 'version': null, 'maxInstances': 1}]}" | |
JSON=${JSON//<HUB_HOST>/$HUB_HOST} | |
JSON=${JSON//<HUB_PORT>/$HUB_PORT} |
public class Consumer { | |
@Inject ExampleClass.Factory exampleClassFactory; | |
public void fireZeMissles() { | |
ExampleClass ex = exampleClassFactory.createForUser(42); | |
ex.doThings(); | |
} | |
} |
tell application "Spotlight" to inject SIMBL into Snow Leopard