This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.gfk.echo.senbot.cucumber.views; | |
import org.openqa.selenium.WebElement; | |
import org.openqa.selenium.support.FindBy; | |
import org.openqa.selenium.support.How; | |
public class MyView { | |
@FindBy(how = How.ID, using = "WhateverID") | |
public WebElement someElement; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"packages": { | |
"iron-router": { | |
"path": "pathtomycheckout" | |
}, | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var formCollection = new Meteor.Collection(null); | |
var itemId = 'SEDatkPtyfAKvGgpj'; | |
Template.form.rendered = function () { | |
}; | |
Template.form.changed = function () { | |
var form = formCollection.findOne(itemId); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http { | |
proxy_cache_path /tmp/nginx/cache | |
levels=1:2 | |
keys_zone=main:10m | |
max_size=1g inactive=1d; | |
proxy_temp_path /tmp/nginx/tmp; | |
server { | |
listen 80; | |
server_name app.example.com; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http { | |
server { | |
listen 80; | |
server_name nvqhq.com; | |
location / { | |
proxy_pass http://localhost:3000/marketing; | |
proxy_http_version 1.1; | |
proxy_set_header Upgrade $http_upgrade; | |
proxy_set_header Connection "upgrade"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Log hours | |
jira --action addWork --issue BADDR-66 --timeSpent 8h --date '9/5/2014 4:00' | |
#Add comment to a issue | |
jira --action addComment --issue BADDR-66 --comment 'Just testing out the CLI [~desoes]' | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var oldDestroy = Blaze.DOMRange._destroy; | |
var counter, domTimeout, startTime, endTime; | |
Blaze.DOMRange._destroy = function () { | |
//I love monkey-patching | |
if(monitorBlaze) { | |
endTime = new Date().getTime(); | |
if(domTimeout) { | |
Meteor.clearTimeout(domTimeout); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vagrant.configure("2") do |config| | |
config.vm.box = "trusty" | |
config.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/trusty/trusty-server-cloudimg-amd64-juju-vagrant-disk1.box" | |
# we’ll forward the port 8000 from the VM to the port 8000 on the host (OS X) | |
config.vm.network :forwarded_port, host: 8000, guest: 8000 | |
#config.vm.synced_folder("vagrant-docker", "/vagrant") | |
config.vm.provider :virtualbox do |vb| | |
# vb.gui = true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Called by "git push" after it has checked the remote status, | |
# but before anything has been pushed. | |
# | |
# If this script exits with a non-zero status nothing will be pushed. | |
# | |
# Steps to install, from the root directory of your repo... | |
# 1. Copy the file into your repo at `.git/hooks/pre-push` | |
# 2. Set executable permissions, run `chmod +x .git/hooks/pre-push` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Everything is tamas' fault | |
2. If in doubt revert to rule 1 |
OlderNewer