Skip to content

Instantly share code, notes, and snippets.

Vlad Bokov razum2um

Block or report user

Report or block razum2um

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
razum2um /
Last active Oct 31, 2019
rubyjedi-soap4r => No "warning: constant ::Fixnum is deprecated"

Proper SOAP support on newest rubies

TLDR: let's replace rubyjedi-soap4r with soap4r-ng

If someone requires latest atm rubyjedi-soap4r he sees the warning:

...gems/rubyjedi-soap4r- warning: constant ::Fixnum is deprecated
razum2um / MyResponsiveComponent.js
Created Feb 20, 2019 — forked from gaearon/MyResponsiveComponent.js
Examples from "Making Sense of React Hooks"
View MyResponsiveComponent.js
function MyResponsiveComponent() {
const width = useWindowWidth(); // Our custom Hook
return (
<p>Window width is {width}</p>
razum2um / .block
Last active Jan 16, 2018
D3 v4 Line Chart
View .block
license: mit
razum2um / .block
Last active Oct 30, 2017
More bounding box collide
View .block
View gist:73319566e9f2d2da3c07952bdb01525f
### Keybase proof
I hereby claim:
* I am razum2um on github.
* I am razum2um ( on keybase.
* I have a public key ASC0xZ6lImqj-U2FzPyYHvYKt1jGi5PHIwUgkct4PBqvVQo
To claim this, I am signing this object:

Vagrant Setup

This tutorial guides you through creating your first Vagrant project.

We start with a generic Ubuntu VM, and use the Chef provisioning tool to:

  • install packages for vim, git
  • create user accounts, as specified in included JSON config files
  • install specified user dotfiles (.bashrc, .vimrc, etc) from a git repository

Afterwards, we'll see how easy it is to package our newly provisioned VM

View rails32_http_patch_support.rb
# Rails 3.2 support for HTTP PATCH.
if Rails::VERSION::MAJOR < 4
# see
ActionDispatch::Routing::Mapper::HttpHelpers.module_eval do
# Define a route that only recognizes HTTP PATCH.
# For supported arguments, see <tt>Base#match</tt>.
# Example:
View gist:454e1b17782e701f0bcf
>> IF = -> b { b }
=> #<Proc:0x007fb4e4049cc8 (lambda)>
>> LEFT = -> p { p[-> x { -> y { x } } ] }
=> #<Proc:0x007fb4e403d680 (lambda)>
>> RIGHT = -> p { p[-> x { -> y { y } } ] }
=> #<Proc:0x007fb4e4028ff0 (lambda)>
View -
"command": "ruby -rubygems -r./custom_plan -eZeus.go",
"plan": {
"boot": {
"default_bundle": {
"development_environment": {
"prerake": {"rake": []},
"runner": ["r"],
"console": ["c"],
You can’t perform that action at this time.