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
Fetching: rmagick-2.13.2.gem (100%) | |
Building native extensions. This could take a while... | |
ERROR: Error installing rmagick: | |
ERROR: Failed to build gem native extension. | |
.../.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb | |
checking for Ruby version >= 1.8.5... yes | |
checking for clang... yes | |
checking for Magick-config... yes | |
checking for ImageMagick version >= 6.4.9... yes |
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
int main() | |
{ | |
int precio, litros; | |
precio = 10000; | |
cout << "Ingrese litros: "; | |
cin >> litros; | |
if(litros>150) | |
{ | |
precio += (litros-150)*300; |
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
{ | |
"auto_indent": true, | |
"color_scheme": "Packages/Theme - Spacegray/base16-eighties.dark.tmTheme", | |
"drag_text": false, | |
"ensure_newline_at_eof_on_save": true, | |
"font_face": "Consolas", | |
"font_size": 13, | |
"highlight_modified_tabs": true, | |
"ignored_packages": | |
[ |
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
#!/bin/sh | |
diff=`git diff --name-only HEAD@{1} HEAD` | |
migrate=`expr "$diff" : ".*db/migrate.*"` | |
bundle=`expr "$diff" : ".*Gemfile*"` | |
app_name=`basename $PWD` | |
if [ ! "$bundle" -eq 0 ] |
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
es: | |
date: | |
abbr_day_names: | |
- dom | |
- lun | |
- mar | |
- mié | |
- jue | |
- vie | |
- sá |
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
\usepackage{listings} | |
\lstloadlanguages{C} | |
\lstset{ | |
frame=lrtb, | |
basicstyle=\footnotesize\color{black}, | |
backgroundcolor=\color{white}, % choose the background color; you must add \usepackage{color} or \usepackage{xcolor} | |
breakatwhitespace=false, % sets if automatic breaks should only happen at whitespace | |
commentstyle = \ttfamily\color{red}, | |
keywordstyle=\ttfamily\color{blue}, |
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
PROMPT=' | |
%{$FG[203]%}%n%{$reset_color%} in %{$FG[214]%}${PWD/#$HOME/~}%{$reset_color%}$(git_prompt_info) | |
$ ' | |
ZSH_THEME_GIT_PROMPT_PREFIX=" on %{$FG[227]%}" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" | |
ZSH_THEME_GIT_PROMPT_DIRTY="%{$FG[243]%} *" | |
ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$FG[243]%} ?" | |
ZSH_THEME_GIT_PROMPT_CLEAN="" |
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
" ======================================================================== | |
" Vundle stuff | |
" ======================================================================== | |
set nocompatible "Required by vundle | |
filetype off "Required by vundle | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() |
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
es: | |
date: | |
abbr_day_names: | |
- dom | |
- lun | |
- mar | |
- mié | |
- jue | |
- vie | |
- sáb |
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
#include <iostream> | |
#include <vector> | |
#include <algorithm> | |
#define INF std::numeric_limits<int>::max() | |
using namespace std; | |
typedef struct { | |
int dest, weight; |
OlderNewer