[Pagination] uses 6 settings: current_page
, total_items
, items_per_page
, view
, auto_hide
and first_page_in_url
.
This example shows the default configuration:
return array(
<?php | |
$repo_dir = '/var/www/'; | |
// Full path to git binary is required if git is not in your PHP user's path. Otherwise just use 'git'. | |
$git_bin_path = 'git'; | |
$branch = ''; | |
//$update = false; | |
$update = true; |
<?php | |
class ORM extends Kohana_ORM { | |
public function create(Validation $validation = NULL) { | |
if (isset($this->_table_columns['created_at'])) { | |
$this->created_at = date('Y-m-d H:i:s'); | |
} | |
if (isset($this->_table_columns['updated_at'])) { |
execute pathogen#infect() | |
syntax on | |
filetype plugin indent on | |
colorscheme slate | |
set guifont=courier_new:h11 | |
:let mapleader = "," | |
map <leader>n :NERDTreeToggle<CR> | |
set guioptions-=T | |
set guioptions-=m |
<?php | |
interface Context { | |
public function execute($params); | |
} |
# pretty git log http://www.jukie.net/bart/blog/pimping-out-git-log | |
git config --global alias.lg "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative" |
" Vim color file | |
" | |
" " __ _ _ _ " | |
" " \ \ ___| | |_ _| |__ ___ __ _ _ __ ___ " | |
" " \ \/ _ \ | | | | | _ \ / _ \/ _ | _ \/ __| " | |
" " /\_/ / __/ | | |_| | |_| | __/ |_| | | | \__ \ " | |
" " \___/ \___|_|_|\__ |____/ \___|\____|_| |_|___/ " | |
" " \___/ " | |
" | |
" "A colorful, dark color scheme for Vim." |
## GIT PROMPT | |
RED="\[\033[0;31m\]" | |
YELLOW="\[\033[0;33m\]" | |
GREEN="\[\033[0;32m\]" | |
BLUE="\[\033[0;34m\]" | |
LIGHT_RED="\[\033[1;31m\]" | |
LIGHT_GREEN="\[\033[1;32m\]" | |
WHITE="\[\033[1;37m\]" | |
LIGHT_GRAY="\[\033[0;37m\]" |
<div id="header"> | |
<h1><a href="/">Header</a></h1> | |
</div> |