Skip to content

Instantly share code, notes, and snippets.

View amitaibu's full-sized avatar

Amitai Burstein amitaibu

View GitHub Profile
jspm bundle '*' \
+ aurelia-bootstrapper \
+ aurelia-http-client \
+ aurelia-dependency-injection \
+ aurelia-router app-bundle.js \
--inject --minify
BACKEND_URL=http://192.168.1.30/shoov/www nodemon bin/www
alias run="docker run -e "BACKEND_URL=http://192.168.1.30/shoov/www" -it amitaibu/php-ci /home/shoov/main.sh 25 SJ9YWRxniaR9WcY1BSDWm402Ob-MfO4ctWOiZ70641Q"
$handler = restful_get_restful_handler('encrypt');
$request = array(
'key' => 'foo',
'value' => 'bar',
);
$result = $handler->post('12', $request);
{
"dependencies": {
"webdrivercss": "^1.1.3",
"webdriverio": "^2.4.5"
}
}
$query = new EntityFieldQuery();
$result = $query
->entityCondition('entity_type', 'node')
->entityCondition('bundle', 'ci_build')
->propertyOrderBy('nid')
->execute();
$nodes = node_load_multiple(array_keys($result['node']));
dpm(count($nodes));
foreach ($nodes as $node) {
docker run --rm --name=ch -p=0.0.0.0:8484:8484 -p=0.0.0.0:2222:2222 \
-p=0.0.0.0:4470:4444 -p=0.0.0.0:5920:5900 \
-e SCREEN_WIDTH=1920 -e SCREEN_HEIGHT=1080 \
-e VNC_PASSWORD=hola -e WITH_GUACAMOLE=true \
-e SSH_PUB_KEY="$(cat ~/.ssh/id_rsa.pub)" \
elgalu/selenium@sha256:e7698b35ca2bbf51caed32ffbc26d1a653ba4a4d26adbbbaab98fb5d02f92fbf
tunnels:
client:
addr: 9000
proto: http
subdomain: TRAVIS-client
backend:
addr: 8080
proto: http
subdomain: TRAVIS-backend
-- INFO: Container USER var is: 'application', $(whoami) returns 'application', UID is '999'
-- INFO: Will use $USER 'application' and $(whoami) is 'application'
stored passwd in file: /home/application/.vnc/passwd
INFO: $SSH_PUB_KEY detected! will add to /home/application/.ssh/authorized_keys
INFO: Starting OpenSSH server...
INFO: JAVA_OPTS are -Xmx1644876k
-- Retrying/waiting for VNC Server in 0.1 seconds...
01/06/2015 13:07:15 passing arg to libvncserver: -rfbport
01/06/2015 13:07:15 passing arg to libvncserver: 5900
01/06/2015 13:07:15 passing arg to libvncserver: -rfbauth
docker run --rm --name=ch -p=0.0.0.0:8081:8484 -p=0.0.0.0:2222:2222 \
-p=0.0.0.0:4444:4444 -p=0.0.0.0:5920:5900 \
-e SCREEN_WIDTH=1800 -e SCREEN_HEIGHT=1110 \
-e VNC_PASSWORD=hola -e WITH_GUACAMOLE=true \
-e SSH_PUB_KEY="$(cat ~/.ssh/id_rsa.pub)" \
elgalu/selenium:v2.45.0-ssh2
env:
- secure: "0a89c69f2a2b7679334c"
- secure: "0a89c69f2a2b7679334d"
- foo: "bar"