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
https://play.google.com/store/apps/details?id=org.akvo.caddisfly |
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
# enable 256 colors | |
set -g default-terminal "screen-256color" | |
# window and pane index start from 1 instead of 0 | |
set -g base-index 1 | |
setw -g pane-base-index 1 | |
# notify something happens on other window | |
setw -g monitor-activity on | |
set -g visual-activity on |
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
"" Plugins =================================================================== | |
" prevent loading vimball | |
let g:loaded_vimballPlugin=1 | |
let g:loaded_vimball=1 | |
" automatically install vim-plug | |
let s:has_bundle=1 | |
if !filereadable(expand("~/.config/nvim/autoload/plug.vim")) | |
echo "Installing vim-plug..." | |
echo "" |
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 " choose no compatibility with legacy vi | |
syntax on | |
filetype plugin indent on " load file type plugins + indentation | |
set encoding=utf-8 | |
set showcmd " display incomplete commands | |
set hidden " allow buffer switching without saving | |
set nobackup " backups are nice if it's not cluttering working dir, | |
" and you should use VCS (git, hg, ...) for it anyway! | |
if has('wildmenu') | |
set wildmenu " show list instead of just completing |
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
create or replace | |
procedure reset_sequence(p_seq in varchar2) | |
is | |
l_value number; | |
begin | |
-- Select the next value of the sequence | |
execute immediate | |
'select ' || p_seq || | |
'.nextval from dual' INTO l_value; |
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
create or replace | |
procedure disable_ref_constraints (p_ref_name in varchar2) | |
is | |
begin | |
for cur_rec in (select table_name, constraint_name | |
from user_constraints | |
where r_constraint_name = p_ref_name | |
and status = 'ENABLED') | |
loop | |
execute immediate 'alter table ' || cur_rec.table_name |
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
" Automatically cycle colorschemes | |
" | |
" usage | |
" :CycleColorscheme sleep colorschemes | |
" | |
" note: use <Ctrl-C> to quit cycling | |
" | |
" example | |
" :CycleColorscheme 2 slate,torte,darkblue,delek | |
" |