This file contains 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
function NamedValuesTransformer(name, fields) { | |
this.name = name | |
this.fields = fields | |
} | |
NamedValuesTransformer.prototype.toAttachment = function() { | |
var self = this | |
var fields = Object.keys(this.fields).map(function(key) { return new FieldTransformer(key, self.fields[key]).toField() }) | |
return({fallback: "New Google Forms Contact", title: this.name, fields: fields}) | |
} |
This file contains 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
# spec/support/axe.rb | |
module Capybara | |
class Session | |
alias_method :execute_async_script, :evaluate_async_script | |
end | |
module Cuprite | |
class Browser | |
alias_method :execute_async_script, :evaluate_async |
This file contains 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
Apache License | |
Version 2.0, January 2004 | |
http://www.apache.org/licenses/ | |
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION | |
1. Definitions. |
This file contains 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
command_timeout = 1000 | |
format = """ | |
$time\ | |
$username\ | |
$shlvl\ | |
$kubernetes\ | |
$red\ | |
$ruby\ | |
${custom.rbenv_gemset}\ | |
$hostname\ |
This file contains 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
# Gemfile | |
group :test do | |
gem 'webdrivers' | |
end | |
# app/packs/spec.js | |
const specContext = require.context("../../spec/javascript", true, /_spec\.js$/) | |
specContext.keys().forEach(specContext) |
This file contains 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
Do your team's technical discussions devolve into tense confrontations? Are you frequently confused by other people's code changes? Is there someone who you just can't seem to get along with? Software peer review on a modern development team is essential to healthy code and a happy team. But it's riddled with human-sized pitfalls. Learn why talking about code in person is important, how to talk about code without burning bridges, and most importantly, how to take dread out of your workplace. |
This file contains 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
// Your Javascript will go here! | |
function randomValue() { | |
return 127 + Math.floor(Math.random() * 128); | |
} | |
$(document).ready(function() { | |
/* Add code from the next steps here. */ | |
$(document).keydown(function(event) { | |
var color = [randomValue(), randomValue(), randomValue()]; | |
$('body').css('background-color', 'rgb(' + color.join(',') + ')'); |
This file contains 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
sample () { | |
case "$1" in | |
test) | |
echo "Successfully ran sample test!" | |
;; | |
*) | |
return 1 | |
;; | |
esac | |
} |
This file contains 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
> container:start | |
[info] jetty-7.4.5.v20110725 | |
[info] NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet | |
[info] started o.e.j.w.WebAppContext{/,[file:...]} | |
11:19:17.307 [pool-6-thread-8] INFO d.elasticsearch.servlet.NodeServlet - Initializing elasticsearch Node 'elasticsearchNode' | |
11:19:17.310 [pool-6-thread-8] DEBUG d.elasticsearch.servlet.NodeServlet - Initializing elasticsearch Node in development mode | |
11:19:17.310 [pool-6-thread-8] DEBUG d.elasticsearch.servlet.NodeServlet - ElasticSearch node using path.home=./temp | |
11:19:17.379 [pool-6-thread-8] INFO org.elasticsearch.node - [Stallior] {0.18.4}[6798]: initializing ... | |
11:19:17.385 [pool-6-thread-8] INFO org.elasticsearch.plugins - [Stallior] loaded [], sites [] | |
11:19:17.723 [pool-6-thread-8] TRACE org.elasticsearch.monitor - failed to load sigar |
This file contains 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
editor | |
foreground: F8F8F8 | |
background: 141414 | |
caret: A7A7A7 | |
editor-selection | |
background: 33363a | |
COMMENT | |
foreground: 5F5A60 |
NewerOlder