If you do this, you are awesome.
- Update to node 0.4.0
- Go to https://github.com/ry/node/issues
- Pick a bug.
- Try to reproduce it.
- Comment with either:
- "works for me on 0.4.0"
#!/bin/bash | |
NAME=`basename $(pwd)` | |
CORE=./bin/$NAME.dll | |
TEST=./bin/$NAME.specs.dll | |
find lib -name '*.dll' > refs | |
ref=`paste -sd, refs` | |
rm refs |
If you do this, you are awesome.
define(function (require, exports, module) { | |
var ns = require('namespace'), | |
Backbone = require('use!backbone'), | |
Marionette = require('use!marionette'), | |
// the tpl require.js plugin extends the text plugin to compile the text into an underscore template | |
// The require.js optimizer will minify and concatenate them to your apps single JS | |
ordersViewTpl = require('tpl!templates/orders.html'); | |
var Orders = ns.module(); |
public static class TemplateExtensions | |
{ | |
public static string ToMustacheKey(this string name) | |
{ | |
return "{{" + name + "}}"; | |
} | |
public static string ToMustacheKey<T>(this Expression<Func<T, object>> expression) | |
{ | |
return expression.ToAccessor().Name.ToMustacheKey(); |
#!/bin/bash | |
# | |
# transcode-video.sh | |
# | |
# Copyright (c) 2013-2015 Don Melton | |
# | |
about() { | |
cat <<EOF | |
$program 5.13 of April 8, 2015 |
#!/bin/bash | |
# | |
# detect-crop.sh | |
# | |
# Copyright (c) 2013-2015 Don Melton | |
# | |
about() { | |
cat <<EOF | |
$program 3.3 of January 22, 2015 |
#!/bin/bash | |
# | |
# convert-video.sh | |
# | |
# Copyright (c) 2013-2014 Don Melton | |
# | |
about() { | |
cat <<EOF | |
$program 2.0 of December 3, 2014 |
The regex patterns in this gist are intended only to match web URLs -- http, | |
https, and naked domains like "example.com". For a pattern that attempts to | |
match all URLs, regardless of protocol, see: https://gist.github.com/gruber/249502 | |
# Single-line version: | |
(?i)\b((?:https?:(?:/{1,3}|[a-z0-9%])|[a-z0-9.\-]+[.](?:com|net|org|edu|gov|mil|aero|asia|biz|cat|coop|info|int|jobs|mobi|museum|name|post|pro|tel|travel|xxx|ac|ad|ae|af|ag|ai|al|am|an|ao|aq|ar|as|at|au|aw|ax|az|ba|bb|bd|be|bf|bg|bh|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|cr|cs|cu|cv|cx|cy|cz|dd|de|dj|dk|dm|do|dz|ec|ee|eg|eh|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gg|gh|gi|gl|gm|gn|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|in|io|iq|ir|is|it|je|jm|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mg|mh|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|mv|mw|mx|my|mz|na|nc|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|ps|pt|pw|py|qa|re|ro|rs|ru|rw|sa|sb|sc|sd|se|sg|sh|si|s |
Running selenium tests via Team City as a windows service has a resolution of 1024x768. I tryed adding/changing DefaultSettings.XResolution and YResolution in the registry with no luck. What did work was running TC agent in the console as a logged in user. | |
Use these instructions to setup a user to automatically log in when your box starts up | |
http://www.win2008workstation.com/configure-auto-logon/ | |
Add shortcut to the startup forlder on start menu: | |
C:\Users\YOUUSER\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup | |
that points to your team city agent's start.bat with 'start' parameter |