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
-- be sure to find out what the actual issues status number is for your workflow | |
update [jira].[dbo].[jiraissue] | |
set RESOLUTION = 10000, RESOLUTIONDATE = GETDATE() | |
where issuestatus = 10002 and resolution is null |
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
// enable keyboard shortcuts in views | |
Ember.View.reopen({ | |
bindKey: function (shortcut, action) { | |
var controller = this.controller; | |
window.key(shortcut, function () { | |
controller.send(action); | |
}); | |
}, | |
unbindKey: function (shortcut) { | |
window.key.unbind(shortcut); |
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
'use strict'; | |
var portscanner = require('portscanner'); | |
var port = 3001; | |
module.exports = function (grunt) { | |
grunt.registerTask('waitForPort', 'Waits until a port is open', function() { | |
grunt.log.write('Waiting to the development server to come online...'); | |
var done = this.async(); |
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
<?xml version="1.0"?> | |
<root> | |
<item> | |
<name>Fix Euro</name> | |
<identifier>private.fix_euro</identifier> | |
<autogen>__KeyToKey__ KeyCode::KEY_4, VK_OPTION, KeyCode::KEY_2, ModifierFlag::OPTION_L | ModifierFlag::SHIFT_L</autogen> | |
</item> | |
</root> |
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 system = require('system'); | |
var fs = require('fs'); | |
if (system.args.length !== 2) { | |
console.log('Usage: runner.js website-base-path'); | |
phantom.exit(1); | |
} | |
var basePath = system.args[1]; | |
var outputFile = basePath + '/test.html'; |
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
App.DataAccess = Ember.Object.create({ | |
namespace: 'api', | |
cache: {}, | |
getTypeName: function (type) { | |
return type.toString().match(/\w+$/); | |
}, | |
isId: function (query) { | |
return typeof query === 'string' || typeof query == 'number'; |
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
window.App = Ember.Application.create({}) | |
require('./applicationController') |
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
// enable emberjs globally | |
GLOBAL.Ember = { lookup: GLOBAL } | |
require('./vendor/ember/ember-runtime') | |
// define the client App object | |
GLOBAL.App = Ember.Application.create({}) | |
// include ember models | |
require('./public/js/login') |
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
#entry point for js/coffee dependency tree | |
rootfile = 'root.js' | |
#get the file names and content | |
files = snockets.getCompiledChain rootfile, { async: false } | |
#package each file in eval with trailing //@ sourceURL | |
scripts = [] | |
for file in files | |
script = file.js.replace(/\\/g, '\\\\').replace(/\n/g, '\\n').replace(/'/g, '\\\'') |