Skip to content

Instantly share code, notes, and snippets.

View addicted2sounds's full-sized avatar

Oleg Borys addicted2sounds

View GitHub Profile
@addicted2sounds
addicted2sounds / .vimrc
Created June 30, 2015 17:22
Vim settings
set clipboard=unnamedplus " use the clipboards of vim and win
set paste " Paste from a windows or from vim
set go+=a " Visual selection automatically copied to the clipboard
set guioptions+=a
alias compose="docker-compose"
alias agi='sudo apt-get install'
alias agr='sudo apt-get remove'
alias agu='sudo apt-get update'
alias acs='apt-cache search'
alias cp='cp -iv'
alias mv='mv -iv'
alias rm='rm -i'
@addicted2sounds
addicted2sounds / git.config.sh
Last active September 12, 2015 06:45
Git config
git config --global alias.s status
git config --global rerere.enabled true
git config --global alias.lg "log --oneline --decorate --all --graph"
git config --global merge.ff false
git config branch.master.mergeoptions "--no-ff"
@addicted2sounds
addicted2sounds / config.rb
Created May 3, 2015 05:38
Crashlytics Coding Exercise
module Config
class Boolean < Object
ALLOWED_VALUES = ['true','1','yes','false','0','no']
def self.=== val
ALLOWED_VALUES.member? val
end
def self.convert val
module Config
class Boolean < Object
ALLOWED_VALUES = ['true','1','yes','false','0','no']
def self.=== val
ALLOWED_VALUES.member? val
end
def self.convert val
GIT
remote: git://github.com/spree/spree.git
revision: eaaea6cd21fb5dfbf06a00c871b12934d62ec67e
branch: 2-4-stable
specs:
spree (2.4.0.rc4)
spree_api (= 2.4.0.rc4)
spree_backend (= 2.4.0.rc4)
spree_cmd (= 2.4.0.rc4)
spree_core (= 2.4.0.rc4)
ruby '2.1.4'
source 'https://rubygems.org'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.1.6'
# Use sqlite3 as the database for Active Record
gem 'sqlite3', group: :development
gem 'mysql2', group: :production, platform: :ruby