Funny conversation about Bitcoin

During a normal day, just reading and sharing info about Bitcoin:

– Did you know about it?

– I know about bit coin, it is also used by people behind dangerous viruses…not possible to find them at all

(True and demonstrable conversation)

(I could write infinite smiles, but the servers of this platform will not have enough space in their hard disks)

Publicado en Otros | Deja un comentario

Git: Getting the commit number & removing files after add -A

Getting the commit number:

git rev-parse –short HEAD

git reset

Removing files after add -A

git reset <namefile>

(I know that this is easy for you, but I needed to write it here. My notebook is not accessible from Internet)

Publicado en GIT | Deja un comentario

Git: Saving your changes when a push is not possible and a pull is required

In the case:

git add -A

git commit

git push origin master

git reset –soft HEAD^ (Deleting commit)

git stash (Saving our changes in a stack)

git pull origin master

git stash pop (recovering the changes from the stack)

git commit

git push origin master


Publicado en GIT | Deja un comentario

Httrack agressive download, o como descargar una web completamente

httrack -c128 -%c20 -R40 -H0 -t -s0 -B


Publicado en Otros | Deja un comentario

Search string into all files into a folder recursively with python – Buscar una cadena dentro de todos los archivos de un directorio con python

¿Quieres buscar una cadena o string dentro de todos los archivos de tu directorio de forma recursiva con python? Esto te puede interesar:


(Cuidado con las identaciones, tienes que añadirlas)

(Be carefull with identatons, you have to add them.)


import os, fnmatch
def find_files(directory, pattern):
for root, dirs, files in os.walk(directory):
for basename in files:
if fnmatch.fnmatch(basename, pattern):
filename = os.path.join(root, basename)
yield filename
for filename in find_files(‘.’, ‘*.*’):

infile = open(filename,”r”)
text =
search = “MiCadena”
index = text.find(search)
if index != -1:
print filename

Publicado en python | Deja un comentario

Blueprint – Framework css

Me lo apunto para el próximo desarrollo…que buena pinta! 🙂

Publicado en Otros | Deja un comentario

¿Quieres empezar a programar con Django?

* Tutoriales:


Getting started: el apartado Advanced tutorial: How to write reusable apps the lo puedes saltar


Related objects:


Class-Based views:
Function views:

Forms and models:

Templates overview:


* Referencia:

Model fields:


Built-in template tags and filters:



Publicado en Backend | Deja un comentario