Skip to content

Instantly share code, notes, and snippets.

View bluurn's full-sized avatar
💭
My other car is cdr

Vladimir Suvorov bluurn

💭
My other car is cdr
  • Xempus AG
  • Berlin
View GitHub Profile
@gumayunov
gumayunov / queue-monitoring.clj
Last active October 15, 2015 15:48
queue-monitoring.clj
(defn- queue-stuck?
[events]
(comment "простейшая проверка, что очередь не стала меньше"))
(defn- make-alert-event
[events]
(merge (first events) { :state "major" :description (str "Смотрите как все плохо " events)}))
(defn- when-stuck
[children]
@chiraggude
chiraggude / Install Ruby and RubyGems
Last active December 14, 2018 07:14
Install Ruby 2.1.1 and RubyGems 1.8.25 on CentOS 6.5
# Install Ruby
wget http://ftp.ruby-lang.org/pub/ruby/2.1/ruby-2.1.1.tar.gz
tar xvzf ruby-2.1.1.tar.gz
cd ruby-2.1.1
./configure --prefix=/usr
make
make install
# remove "ruby-2.1.1" folder in /root
@joost
joost / ruby_google_analytics_server_to_server.md
Last active November 27, 2023 15:43
Google Analytics API (server-to-server) using Ruby