Skip to content

Instantly share code, notes, and snippets.

I'd like to suggest you don't use the name "RubySpec" for this new project.
In my opinion it would be better to let that name fade away and call it something else.
Just my two cents.
➜ sidekiq (concurrent-ruby) time bundle exec bin/sidekiqload
2015-10-07T02:54:02.724Z 29724 TID-3t0g INFO: Booting Sidekiq 3.5.1 with redis options {:db=>13, :url=>nil}
2015-10-07T02:54:04.775Z 29724 TID-3t2g ERROR: RSS: 176940 Pending: 0
2015-10-07T02:54:04.776Z 29724 TID-3t2g ERROR: Done
2015-10-07T02:54:37.503Z 29724 TID-dvu4 ERROR: Created 100000 jobs
2015-10-07T02:54:40.147Z 29724 TID-fd7c ERROR: Error fetching message: undefined method `request_process' on an instance of Hash.
2015-10-07T02:54:40.149Z 29724 TID-fd7c ERROR: kernel/delta/kernel.rb:78:in `request_process (method_missing)'
2015-10-07T02:54:40.151Z 29724 TID-fd7c ERROR: /home/jesse/projects/sidekiq/sidekiq/lib/sidekiq/manager.rb:123:in `assign'
2015-10-07T02:54:40.152Z 29724 TID-fd7c ERROR: /home/jesse/projects/sidekiq/sidekiq/lib/sidekiq/fetch.rb:97:in `get_one'
2015-10-07T02:54:40.152Z 29724 TID-fd7c ERROR: /home/jesse/projects/sidekiq/sidekiq/lib/sidekiq/fetch.rb:79:in `wait_for_request'
0:00:57.457553567 10590 0x24c8630 LOG GST_ELEMENT_FACTORY gstelementfactory.c:439:gst_element_factory_make: gstelementfactory: make "playbin" "video"
0:00:57.457603093 10590 0x24c8630 TRACE GST_REFCOUNTING gstobject.c:254:gst_object_ref:<playbin> 0x2552540 ref 1->2
0:00:57.457617663 10590 0x24c8630 LOG GST_ELEMENT_FACTORY gstelementfactory.c:445:gst_element_factory_make:<playbin> found factory 0x2552540
0:00:57.457627757 10590 0x24c8630 DEBUG GST_PLUGIN_LOADING gstpluginfeature.c:106:gst_plugin_feature_load: loading plugin for feature 0x2552540; 'playbin'
0:00:57.457637427 10590 0x24c8630 DEBUG GST_PLUGIN_LOADING gstpluginfeature.c:110:gst_plugin_feature_load: loading plugin playback
0:00:57.457645591 10590 0x24c8630 DEBUG GST_PLUGIN_LOADING gstplugin.c:1252:gst_plugin_load_by_name: looking up plugin playback in default registry
0:00:57.457660985 10590 0x24c8630 TRACE GST_REFCOUNTING gstobject.c:254:gst_object_ref:<plugin51> 0x254d400 ref
module Rubinius
config = {}
config[:config_file] = "/home/jesse/projects/rbx/rubinius/config.rb"
config[:command_line] = ["--llvm-config=llvm-config-3.4", "--cc=clang-3.4", "--cxx=clang++-3.4"]
config[:build_make] = "make"
config[:build_rake] = "rake"
config[:build_perl] = "perl"
config[:llvm_enabled] = true
config[:llvm_path] = nil
config[:llvm_system_name] = nil
@jc00ke
jc00ke / _readme.md
Last active August 29, 2015 14:25 — forked from shime/_readme.md

Having trouble installing the latest stable version of tmux?

I know, official package for your OS/distro is outdated and you just want the newest version of tmux.

Well, this script should save you some time with that.

Prerequisities

  • gcc
@jc00ke
jc00ke / xdg-open
Last active January 30, 2018 09:35
xdg-open magnet links
#!/bin/sh
#---------------------------------------------
# xdg-open
#
# Utility script to open a URL in the registered default application.
#
# Refer to the usage() function below for usage.
#
# Copyright 2009-2010, Fathi Boudra <[email protected]>
# Copyright 2009-2010, Rex Dieter <[email protected]>
@jc00ke
jc00ke / jsx
Created February 22, 2015 22:24
simple build system
#!/bin/bash
for app in apps/**; do
app_dir=$(basename "$app")
jsx -x jsx -w "apps/$app_dir/public/javascripts/jsx" "$app/public/javascripts"
done
@jc00ke
jc00ke / a.js
Last active August 29, 2015 14:14
Requires in js
// a.js
var add = function(a, b) {
return a + b;
};
module.exports = add;
@jc00ke
jc00ke / sokoban.rb
Last active August 29, 2015 14:13
Ruby Brightnight #1 - Sokoban
require "matrix"
require "pry"
class Warehouse
attr_reader :rows
attr_reader :columns
attr_reader :container
UP = "u"
DOWN = "d"
@jc00ke
jc00ke / gist:ac6570c5c777b7eb1daf
Created January 13, 2015 21:22
troublems installing Idris
# from https://github.com/idris-lang/Idris-dev/wiki/Idris-on-Ubuntu
$> sudo apt-get install libgc-dev libncurses-dev libgmp-dev haskell-platform cabal-install expect \
libghc-ansi-terminal-dev libghc-ansi-wl-pprint-dev libghc-blaze-builder-dev libghc-blaze-html-dev \
libghc-cereal-dev libghc-cpphs-dev libghc-data-default-class-dev libghc-dlist-dev \
libghc-exceptions-dev libghc-fingertree-dev libghc-free-dev libghc-haskeline-dev \
libghc-keys-dev libghc-newtype-dev libghc-pointed-dev libghc-profunctors-dev libghc-reducers-dev \
libghc-reflection-dev libghc-utf8-string-dev libghc-void-dev libghc-xml-dev libghc-aeson-dev \
libghc-data-lens-dev libghc-optparse-applicative-dev libghc-base64-bytestring-dev \
libghc-blaze-html-dev libghc-blaze-markup-dev \