I hereby claim:
- I am agis on github.
- I am agisanast (https://keybase.io/agisanast) on keybase.
- I have a public key ASDUckmoDBBFsMPuhYZsRIv21yrIVusvVavVwe8G94WeBQo
To claim this, I am signing this object:
package main | |
import ( | |
"database/sql" | |
"fmt" | |
"log" | |
_ "github.com/lib/pq" | |
) |
16909055 1.2.2-RC2 | |
%7|1573202362.136|BRKMAIN|confluent.monitoring.interceptor.rdkafka#producer-1| [thrd::0/internal]: :0/internal: Enter main broker thread | |
%7|1573202362.136|WAKEUPFD|confluent.monitoring.interceptor.rdkafka#producer-1| [thrd:app]: kafka-a.example.com:9092/bootstrap: Enabled low-latency ops queue wake-ups | |
%7|1573202362.136|BROKER|confluent.monitoring.interceptor.rdkafka#producer-1| [thrd:app]: kafka-a.example.com:9092/bootstrap: Added new broker with NodeId -1 | |
%7|1573202362.136|CONNECT|confluent.monitoring.interceptor.rdkafka#producer-1| [thrd:app]: kafka-a.example.com:9092/bootstrap: Selected for cluster connection: bootstrap servers added (broker has 0 connection attempt(s)) | |
%7|1573202362.136|BRKMAIN|confluent.monitoring.interceptor.rdkafka#producer-1| [thrd:kafka-a.example.com:9092/bootstrap]: kafka-a.example.com:9092/bootstrap: Enter main broker thread | |
%7|1573202362.136|CONNECT|confluent.monitoring.interceptor.rdkafka#producer-1| [thrd:kafka-a.example.com:9092/bootstrap]: kafka-a.example.c |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
app_dir = File.expand_path("../..", __FILE__) | |
shared_dir = "#{app_dir}/shared" | |
working_directory app_dir | |
pid "#{shared_dir}/pids/unicorn.pid" | |
worker_processes 2 | |
preload_app true | |
timeout 30 | |
listen "#{shared_dir}/sockets/unicorn.sock", backlog: 64 |
# #attribute is a private method so we can't call it directly, that's why we use #send. | |
class DimensionsValidator < ActiveModel::EachValidator | |
def validate_each(record, attribute, value) | |
if record.send("#{attribute}?".to_sym) | |
dimensions = Paperclip::Geometry.from_file(value.queued_for_write[:original].path) | |
width = options[:width] | |
height = options[:height] | |
record.errors[attribute] << "To πλάτος πρέπει να είναι #{width}px" unless dimensions.width == width |
Environment | |
Bundler 1.10.6 | |
Rubygems 2.2.5 | |
Ruby 2.1.7p400 (2015-08-18 revision 51632) [x86_64-darwin14.0] | |
GEM_HOME /Users/agis/.gem/ruby/2.1.7 | |
GEM_PATH /Users/agis/.gem/ruby/2.1.7:/Users/agis/.rubies/ruby-2.1.7/lib/ruby/gems/2.1.0 | |
Git 2.3.4 | |
Bundler settings |
gem 'mongo', '=1.8.2' | |
# bson-1.8.2 | |
# bson_ext-1.8.2 | |
require 'mongo' | |
require 'benchmark/ips' | |
c = Mongo::MongoClient.new('localhost', 27017)['test']['hi'] | |
Benchmark.ips do |x| |
# Teaspoon includes some support files, but you can use anything from your own support path too. | |
# require jquery/helmet | |
# require handlebars.runtime | |
# require support/expect | |
# require support/sinon | |
# require support/chai | |
# require support/sinon-chai | |
# require support/has_event | |
# | |
# require require |
Rubies older than 1.9.3-p429 will not compile with Clang and require GCC >= 4.2, install GCC 4.2:
$ brew update && brew tap homebrew/versions
$ brew install apple-gcc42
Install autoconf and automake:
$ brew install autoconf automake
Install ruby w/ falcon patch (with backport-gc):