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 MashForm extends React.Component{ | |
constructor(props){ | |
super(props) | |
this.state = {malts: []} | |
} | |
componentDidMount() { | |
this._fetchIngredients() | |
} |
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
diff --git a/templates/default/my.cnf.erb b/templates/default/my.cnf.erb | |
index 5f4f737..fcc41da 100644 | |
--- a/templates/default/my.cnf.erb | |
+++ b/templates/default/my.cnf.erb | |
@@ -323,6 +323,12 @@ skip-show-database | |
# ssl-cert=/etc/mysql/server-cert.pem | |
# ssl-key=/etc/mysql/server-key.pem | |
+<% if node['mariadb'].key?('options') -%> | |
+<% node['mariadb']['options'].each { |key, value| -%> |
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
[2014/12/15 12:55:46 CET] [EROR] (github.com/influxdb/influxdb/api/graphite.(*Server).Serve:120) GraphiteServer: Accept: %!(EXTRA *errors.errorString=use of closed network connection) | |
[2014/12/15 12:55:46 CET] [WARN] (github.com/influxdb/influxdb/api/graphite.(*Server).ServeUdp:140) GraphiteServer: Error when reading from UDP connection use of closed network connection |
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
///// @scratch /configuration/config.js/1 | |
// == Configuration | |
// config.js is where you will find the core Grafana configuration. This file contains parameter that | |
// must be set before Grafana is run for the first time. | |
/// | |
define(['settings'], | |
function (Settings) { | |
return new Settings({ |
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
source :rubygems | |
gem 'rack' | |
gem 'rake' | |
gem 'thin', group: :production |
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
➜ ~ rvm use ruby-2.0.0-p451@test | |
Using /Users/sebek/.rvm/gems/ruby-2.0.0-p451 with gemset test | |
➜ ~ gem list | |
*** LOCAL GEMS *** | |
bundler (1.6.1, 1.5.2) | |
bundler-unload (1.0.2) | |
executable-hooks (1.3.1) |
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/bin/python | |
# based on https://github.com/damaex17/whisper-to-influxDB | |
# adjusted to graphite-api data format | |
from influxdb import InfluxDBClient | |
import argparse | |
import whisper | |
import os | |
import time |
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 'jruby/profiler' | |
profile_data = JRuby::Profiler.profile do | |
require 'sinatra' | |
end | |
profile_printer = JRuby::Profiler::GraphProfilePrinter.new(profile_data) | |
profile_printer.printProfile(STDOUT) |
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
namespace :db do | |
task :migrate do | |
Rake::Task['ar:migrate'].invoke | |
end | |
namespace :schema do | |
task :load do | |
Rake::Task['ar:schema:load'].invoke | |
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
App = Ember.Application.create(); | |
App.Store = DS.Store.extend({ | |
revision: 12, | |
adapter: "DS.RESTAdapter" | |
}); | |
controller (coffee): | |
App.ApplicationController = Ember.Controller.extend( | |
mainPages: App.Page.find |
NewerOlder