- A laptop with Vagrant installed
- Willingness to ask questions and help others!
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
dockerdaemon--log-optmax-size=25m--log-optmax-file=2-soverlay-bdocker-sys--fixed-cidr172.18.42.1/16--restart=false-g/var/lib/system-docker-Groot-Hunix:///var/run/system-docker.sock--userland-proxy=false: | |
CAUGHT: | |
CAUGHT: SIGSYS | |
CAUGHT: SIGPWR | |
CAUGHT: SIGPOLL | |
CAUGHT: SIGIO | |
CAUGHT: SIGPROF | |
CAUGHT: SIGVTALRM | |
CAUGHT: SIGXFSZ | |
CAUGHT: SIGURG |
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
/usr/local/rvm/rubies/ruby-1.9.3-p484/bin/ruby -S rspec ./spec/controllers/agents_controller_spec.rb ./spec/controllers/events_controller_spec.rb ./spec/controllers/logs_controller_spec.rb ./spec/controllers/user_location_updates_controller_spec.rb ./spec/controllers/webhooks_controller_spec.rb ./spec/lib/inheritance_tracking_spec.rb ./spec/lib/utils_spec.rb ./spec/models/agent_log_spec.rb ./spec/models/agent_spec.rb ./spec/models/agents/adioso_agent_spec.rb ./spec/models/agents/digest_email_agent_spec.rb ./spec/models/agents/event_formatting_agent_spec.rb ./spec/models/agents/human_task_agent_spec.rb ./spec/models/agents/peak_detector_agent_spec.rb ./spec/models/agents/post_agent_spec.rb ./spec/models/agents/sentiment_agent_spec.rb ./spec/models/agents/translation_agent_spec.rb ./spec/models/agents/trigger_agent_spec.rb ./spec/models/agents/twilio_agent_spec.rb ./spec/models/agents/twitter_publish_agent_spec.rb ./spec/models/agents/twitter_stream_agent_spec.rb ./spec/models/agents/twitter_user_agent_spec.rb |
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
Enterprise user story: Redmine | |
============================== | |
I want to install redmine. | |
I have an "enterprise" distribution. | |
I don't have access to the internet from my machines. | |
I have a private package repository that is a copy from the enterprise distribution. | |
Documentation: | |
-------------- |
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
if !query_params[:print] | |
erb :dashboard, :locals => {:@graphite_url_displayed => params[:graphite_url_displayed]} | |
else | |
erb :print_dashboard, :layout => false | |
end | |
end |
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
<div class="row-fluid"> | |
<div class="span2"> | |
</div> | |
<div class="span6"> | |
<h1><%= @dashboard.name %> <small><%= @dashboard.description %></small></h1> | |
</div> | |
<div class="span4"> | |
<% if @graphite_url_displayed%> | |
<small>Source: <a class="muted" href="<%[email protected]_render.sub("/render","")%>"><%[email protected]_render.sub("/render","")%></a></small> | |
<% end %> |
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
class SinatraApp < ::Sinatra::Base | |
def initialize(graphite_base, graph_templates, options = {}) | |
# where the whisper data is | |
@whisper_dir = options.delete(:whisper_dir) || "/var/lib/carbon/whisper" | |
# where graphite lives | |
@graphite_base = graphite_base | |
# where the graphite renderer is | |
@graphite_render = [@graphite_base, "/render/"].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
:graphite: http://graphite.example.net | |
:templatedir: /path/to/my/graph/templates | |
#:username: admin | |
#:password: secret | |
:options: | |
:title: My Dashboard | |
:prefix: "" | |
:refresh_rate: 60 | |
:graph_columns: 2 | |
:graph_width: 500 |
Operation: Decouple whisper from graphite.
Method: Create a graphite function that does a date histogram facet query against elasticsearch for a given query string for the time period viewed in the current graph.
Reason: graphite has some awesome math functions. Wouldn't it be cool if we could use those on logstash results?
The screenshot below is using logstash to watch the twitter stream of keywords "iphone" "apple" and "samsung" - then I graph them each, so we get an idea of popularity. As a bonus, I also do a movingAverage() on the iphone curve to show you why this is awesome.
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
[flo@WKS tmp]$ cd anthracite/ | |
[flo@WKS anthracite]$ find . -name .gitmodules | |
./assets/bootstrap-datetimepicker/.gitmodules | |
./.gitmodules | |
[flo@WKS anthracite]$ cat .gitmodules | |
[submodule "assets/timeserieswidget"] | |
path = assets/timeserieswidget | |
url = https://github.com/Dieterbe/timeserieswidget.git | |
[flo@WKS anthracite]$ find . -name .gitmodules|xargs cat | |
[submodule "bootstrap"] |
NewerOlder