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
// Router.js 0.1.0 | |
// (c) 2011 Doc Ritezel | |
// Freely distributable under the MIT license. | |
// | |
// Load this before rails_routes.js (generated by routes_to_javascript.rb) | |
// Enables: | |
// var c = new Backbone.Controller({ routes: { Routes.root(): 'index' } }); | |
// $('a.delete').attr('href', Routes.delete_item(3)); | |
(function(){ |
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
#!/usr/bin/env bash | |
# Copyright (c) 2011 Concurrent, Inc. | |
mt_path=`pwd` | |
content=`cat $0 | sed 's/^\s*#.*//g' | tr "\n" " " | sed 's/.*!#//'` | |
exec $mt_path/bin/multitool `eval echo $content` | |
!# | |
# set the source |
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
for file in $(\ls -1 ${HOME}/.bash_profile_includes/*.sh); do | |
source $file; | |
done |
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
editor | |
foreground: F8F8F8 | |
background: 141414 | |
caret: A7A7A7 | |
editor-selection | |
background: 33363a | |
COMMENT | |
foreground: 5F5A60 |
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
> 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 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
sample () { | |
case "$1" in | |
test) | |
echo "Successfully ran sample test!" | |
;; | |
*) | |
return 1 | |
;; | |
esac | |
} |
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
// 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 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
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 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
# 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 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
command_timeout = 1000 | |
format = """ | |
$time\ | |
$username\ | |
$shlvl\ | |
$kubernetes\ | |
$red\ | |
$ruby\ | |
${custom.rbenv_gemset}\ | |
$hostname\ |
OlderNewer