Skip to content

Instantly share code, notes, and snippets.

View tomtomecek's full-sized avatar
😎

Tomas Tomecek tomtomecek

😎
  • Bratislava, Slovakia
View GitHub Profile
@tomtomecek
tomtomecek / gist:be467df44da205c49778
Last active August 27, 2018 10:05
Ruby String interpolation vs Concatenation - benchmarking and comparison

Test nr.1

require 'benchmark/ips'
 
Benchmark.ips do |bm|
 
  TEST_STRING = 'I am testing...'
  ADD_STRING  = 'testing 1 2 3'
 
@tomtomecek
tomtomecek / .vimrc
Last active August 29, 2015 14:14 — forked from falonofthetower/.vimrc
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#rc()
Plugin 'gmarik/Vundle.vim'
Plugin 'tpope/vim-unimpaired'
Plugin 'tpope/vim-repeat'
Plugin 'flazz/vim-colorschemes'