This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%button.btn.dropdown-toggle{ "data-toggle"="dropdown } | |
Artice | |
%span |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
name = Oskar Szrajer | |
email = oskarszrajer@gmail.com | |
[alias] | |
br = branch | |
co = checkout | |
ci = commit | |
df = diff | |
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export EDITOR=mvim | |
alias l='ls' | |
alias g='git' | |
alias sl='shelly list' | |
alias sc='shelly console' | |
alias e='mvim' | |
alias bers='bundle exec rspec' | |
ll () { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace :db do | |
require 'sequel' | |
Sequel.extension(:migration) | |
MIGRATIONS_PATH = 'db/migrations' | |
def db_conn_env | |
ENV["BOOKSHELF_DATABASE_URL"] | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocp | |
set encoding=utf-8 | |
call plug#begin('~/.vim/plugged') | |
Plug 'kien/ctrlp.vim' | |
Plug 'rking/ag.vim' | |
Plug 'tpope/vim-bundler' | |
Plug 'tpope/vim-commentary' | |
Plug 'tpope/vim-endwise' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rom-mapper' | |
class MyMapper1 < ROM::Mapper | |
reject_keys true | |
attribute :foo, from: [:bar, :baz] do |bar, baz| | |
[bar, baz] | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocp | |
set encoding=utf-8 | |
call plug#begin('~/.vim/plugged') | |
let g:plug_url_format = 'git@github.com:%s.git' | |
Plug 'kien/ctrlp.vim' | |
Plug 'rking/ag.vim' | |
Plug 'tpope/vim-bundler' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Pathogen ******************************************************************* | |
call pathogen#runtime_append_all_bundles() | |
call pathogen#helptags() | |
" General ******************************************************************** | |
set nocompatible | |
set encoding=utf-8 | |
set fileencodings=utf-8,latin2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'bundler/inline' | |
DB_URL = "postgres://localhost/gotar" | |
gemfile(true) do | |
source 'https://rubygems.org' | |
gem 'rom', '~> 5.1' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'bundler/inline' | |
DB_URL = "postgres://localhost/gotar" | |
gemfile(true) do | |
source 'https://rubygems.org' | |
gem 'pg' |