This file contains hidden or 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
| = form_tag({:controller => :sessions, :action => :update}, :method => :post, :class => 'well') | |
| <form accept-charset="UTF-8" action="/assets?action=update&controller=admin%2Fsessions" class="well" method="post"> |
This file contains hidden or 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
| def index | |
| years = Movie.select("strftime('%Y', release)").group("strftime('%Y', release)").count | |
| grouped = {} | |
| years.each do |k,v| | |
| grouped[k] = Movie.where("strftime('%Y', release) = ?", k) | |
| end | |
| @years = grouped | |
| end | |
This file contains hidden or 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
| # excludes this file from merges | |
| # treats it like binary file | |
| *.pbxproj -crlf -diff -merge |
This file contains hidden or 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
| # Compiled source # | |
| ################### | |
| *.com | |
| *.class | |
| *.dll | |
| *.exe | |
| *.o | |
| *.so | |
| # Packages # |
This file contains hidden or 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 = Konrad Kierys | |
| email = <mail here> | |
| [core] | |
| excludesfile = /Users/kiero/.gitignore_global | |
| editor = vim | |
| autocrlf = input | |
| safecrlf = true | |
| [color] | |
| ui = true |
This file contains hidden or 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 nocompatible " no compatible with vi | |
| let mapleader=',' " change the mapleader form \ to , | |
| map <Leader>n :NERDTreeToggle<CR> | |
| filetype plugin indent on | |
| set hidden " hide buffer instead of closing it | |
| set encoding=utf-8 | |
| set number " show line numbers | |
| set tabstop=2 " tab is two spaces now |
This file contains hidden or 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
| #!/bin/sh - | |
| if [ $# -ne 1 ]; then | |
| PATHDIR=`pwd` | |
| else | |
| PATHDIR=$1 | |
| fi | |
| /usr/bin/osascript <<-EOF | |
| activate application "Terminal" |
NewerOlder