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
root@ubuntu-c-4-8gib-nyc1-01:~# ab -n 10000 -c 50 http://159.223.163.7:3000/ | |
This is ApacheBench, Version 2.3 <$Revision: 1843412 $> | |
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ | |
Licensed to The Apache Software Foundation, http://www.apache.org/ | |
Benchmarking 159.223.163.7 (be patient) | |
Completed 1000 requests | |
Completed 2000 requests | |
Completed 3000 requests | |
Completed 4000 requests |
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
# Variation on Hashrocket's script for managing the git process | |
# as documented here: http://reinh.com/blog/2008/08/27/hack-and-and-ship.html | |
# Create shell scripts out of each of these, put them in your path (~/bin for example) | |
# chmod 755 them and use like this: | |
# | |
# This version of hack is totally different than Hackrockets. I feel that hack implies | |
# that you are getting started, not finishing up. sink is Hashrockets hack. | |
# | |
# $ hack branch_name | |
# Test and Implement until done |
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
require 'chef/knife' | |
module KnifeNeat | |
class NodeDead < Chef::Knife | |
banner "knife node dead ENVIRONMENT" | |
option :id_source, | |
short: '-i SOURCE', | |
long: '--id-source SOURCE', |
These are the Kickstarter Engineering and Data role definitions for both teams.
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
name := "id2-search-proxy" | |
version := "1.0" | |
scalaVersion := "2.11.7" | |
lazy val versions = new { | |
val scalatra = "2.4.0-RC2-2" | |
val specs2 = "3.6.4-20150916230958-8339115" | |
} |
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
[info] Compiling 13 Scala sources to /home/mauricio/projects/scala/id2-search-proxy/target/scala-2.11/classes... | |
[error] missing or invalid dependency detected while loading class file 'ScalatraServlet.class'. | |
[error] Could not access term servlet in package javax, | |
[error] because it (or its dependencies) are missing. Check your build definition for | |
[error] missing or conflicting dependencies. (Re-run with `-Ylog-classpath` to see the problematic classpath.) | |
[error] A full rebuild may help if 'ScalatraServlet.class' was compiled against an incompatible version of javax. | |
[error] missing or invalid dependency detected while loading class file 'ScalatraServlet.class'. | |
[error] Could not access type HttpServlet in value javax.http, | |
[error] because it (or its dependencies) are missing. Check your build definition for | |
[error] missing or conflicting dependencies. (Re-run with `-Ylog-classpath` to see the problematic classpath.) |
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
npm install | |
npm WARN package.json VoteWise@0.0.1 No license field. | |
npm WARN deprecated pangyp@2.3.2: use node-gyp@3+, it does all the things | |
/ | |
> node-sass@3.2.0 install /Users/mauricio/projects/node/VoteWise/node_modules/node-sass | |
> node scripts/install.js | |
Cannot download "https://github.com/sass/node-sass/releases/download/v3.2.0/darwin-x64-46_binding.node": HTTP error 404 Not Found | |
> node-sass@3.2.0 postinstall /Users/mauricio/projects/node/VoteWise/node_modules/node-sass |
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
using System; | |
using SpiShared; | |
namespace SpiController.Queue | |
{ | |
public interface IQueueService | |
{ | |
Option<QueueMessage<T>> Poll<T>(Func<string,T> parser); |
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
module OnSomething | |
def self.included(base) | |
base.extend(ClassMethods) | |
end | |
module ClassMethods | |
def on(type) | |
attr_accessor "#{type}_starts_at" |
NewerOlder