# pacman -S postgresql-old-upgrade
# systemctl stop postgresql.service
# mv /var/lib/postgres/data /var/lib/postgres/olddata
class Dijkstra | |
attr_reader :graph, :costs, :parents, :processed | |
def initialize(graph, costs, parents) | |
@graph = graph | |
@costs = costs | |
@parents = parents | |
@processed = [] | |
end |
Información para agregar un alias aquí
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit
Installation
pacman -S mpd ncmpcpp
MPD
copy the example configuration in mpd.conf
# cp /usr/share/doc/mpd/mpdconf.example /etc/mpd.conf
dev-perl/Crypt-OpenSSL-Bignum
virtual/perl-Math-BigInt
dev-perl/class-loader
sci-mathematics/pari
dev-perl/Math-BigInt-GMP
dev-perl/math-pari
dev-perl/crypt-random
dev-perl/crypt-dh
dev-perl/Crypt-Blowfish
I hereby claim:
To claim this, I am signing this object:
HEROKU_CLIENT_URL="http://assets.heroku.com.s3.amazonaws.com/heroku-client/heroku-client.tgz" | |
echo "This script requires superuser access to install software." | |
echo "You will be prompted for your password." | |
su -c "sh <<SCRIPT | |
# download and extract the client tarball | |
rm -rf /usr/local/heroku | |
mkdir -p /usr/local/heroku |
#hw 1-1: fun with strings | |
def palindrome?(str) | |
letters = str.downcase.scan(/\w/) | |
letters == letters.reverse | |
end | |
def count_words(str) | |
str = str.downcase.split | |
words = {} |
PDF_FLAGS = --fontsize 9.0 \ | |
no-links \ | |
no-toc \ | |
charset iso-8859-1 | |
MD = ../capitulos/00-inicio.md \ | |
../capitulos/01-numeros.md \ | |
../capitulos/02-textos.md \ | |
../capitulos/03-variables.md \ | |
../capitulos/04-conversiones.md \ |