Skip to content

Instantly share code, notes, and snippets.

Agis Anastasopoulos agis

Block or report user

Report or block agis

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View debug.log
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
View keybase.md

Keybase proof

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:

View keybase.md

Keybase proof

I hereby claim:

  • I am agis on github.
  • I am agisanast (https://keybase.io/agisanast) on keybase.
  • I have a public key ASBRmVLxlzHSuWhdyjO4-Ywh9KV-jnt_nX23dEJxKV1ucAo

To claim this, I am signing this object:

@agis
agis / main.go
Created Apr 28, 2017
Get SQL count in Postgres with Go (golang)
View main.go
package main
import (
"database/sql"
"fmt"
"log"
_ "github.com/lib/pq"
)
@agis
agis / unicorn_conf.rb
Last active Jan 15, 2016 — forked from mguterl/gist:308216
Unicorn init script and configuration
View unicorn_conf.rb
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
@agis
agis / bundle-env.sh
Created Oct 4, 2015
gemspecs in `bundle env`
View bundle-env.sh
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
@agis
agis / mongo1-8.rb
Last active Sep 10, 2015
Performance regression in mongo ruby driver 2.1.0.rc0 and/or bson 3
View mongo1-8.rb
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|
View spec_helper.coffee
# 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
@agis
agis / Instructions.md
Last active Aug 29, 2015
Installing ruby 1.9.3-p385 w/ falcon patch using ruby-install on Mavericks
View Instructions.md

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):

View Linus.md

On Mon, Jul 15, 2013 at 1:41 PM, Sarah Sharp sarah.a.sharp@linux.intel.com wrote:

Oh, FFS, I just called out on private email for "playing the victim card". I will repeat: this is not just about me, or other minorities. I should not have to ask for professional behavior on the mailing lists. Professional behavior should be the default.

Bullshit.

You can’t perform that action at this time.