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 t_Co=256 | |
filetype plugin indent on | |
syntax enable | |
set splitbelow | |
set splitright | |
set showcmd | |
set showmatch |
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
# Yay! High voltage and arrows! | |
ZSH_THEME_GIT_PROMPT_PREFIX="%{$reset_color%}%{$fg[green]%}" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} " | |
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[yellow]%}⚡%{$reset_color%}" | |
ZSH_THEME_GIT_PROMPT_CLEAN="" | |
# 🍔 %{$fg[magenta]%}░▒▓▚▐%{$reset_color%} | |
PROMPT='$(virtualenv_prompt_info)%{$fg[green]%}⬢%{$reset_color%} %{$fg[cyan]%}%1~%{$reset_color%}%{$fg[red]%}|%{$reset_color%}$(git_prompt_info)%{$fg[cyan]%}⇒%{$reset_color%} ' |
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 VIRTUAL_ENV_DISABLE_PROMPT=1 | |
ZSH_THEME_VIRTUAL_ENV_PROMPT_PREFIX="💩" | |
ZSH_THEME_VIRTUAL_ENV_PROMPT_SUFFIX="💩" | |
function virtualenv_prompt_info() { | |
if [ -n "$VIRTUAL_ENV" ]; then | |
if [ -f "$VIRTUAL_ENV/__name__" ]; then | |
local name=`cat $VIRTUAL_ENV/__name__` | |
elif [ `basename $VIRTUAL_ENV` = "__" ]; then |
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
// Cadena original | |
NSString *cadena = @"El DevF rockea"; | |
// Cadena invertida | |
NSMutableString *reverse = [[NSMutableString alloc] init]; | |
int time = 0; | |
for (int i = (int)([cadena length] - 1); i >= 0; i--) { | |
NSRange subString = NSMakeRange(i, 1); | |
NewerOlder