Skip to content

Instantly share code, notes, and snippets.

volkan /
Last active Aug 29, 2015 — forked from xleliberty/
Graylog2 UDP logger setup for symfony2 via monolog

Graylog 2 gelf installation

  • Add composer source: "graylog2/gelf-php": "~1.2"

Services Setup


graylog.port: 12201
volkan / memcacheTool.rb
Last active Oct 4, 2015 — forked from bkimble/gist:1365005
List local memcached keys and values using Ruby
View memcacheTool.rb
#!/usr/bin/env ruby
require 'net/telnet'
#ruby file.rb
#ruby file.rb key1, key2, key3
cache_dump_limit = 100000
localhost = Net::Telnet::new("Host" => "localhost", "Port" => 11211, "Timeout" => 3)
slab_ids = []
localhost.cmd("String" => "stats items", "Match" => /^END/) do |c|
volkan / .gitignore
Created Sep 20, 2011 — forked from bergie/.gitignore
Node.js email handling examples
View .gitignore
volkan / how_to_install_qcachegrind_on_osx.txt
Created Jun 23, 2011 — forked from justfalter/how_to_install_qcachegrind_on_osx.txt
How to install qcachegrind (kcachegrind) on OSX Snow Leopard
View how_to_install_qcachegrind_on_osx.txt
I like to use kcachegrind for doing profiling on my ruby code. Most of my development
is done on OSX, and while you can install kcachegrind via macports, it takes forever
because it has to build KDE, as well. Much to my surprise, the fine folks who
wrote kcachegrind also made a QT version, qcachegrind. I was able to build this on
OSX without too much effort, only having to install QT and GraphViz. Yippie!
I'm running OSX 10.6.7, with Xcode 4. My default gcc/g++ version is 4.2. I'm sure
it will build just fine on earlier versions of Xcode, but I haven't tested it.
You can’t perform that action at this time.