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
#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
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
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
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
{ | |
"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
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; | |
} |
NewerOlder