R Programming language

After a mini-training at #codeSchool with #R, I conclude with a good feeling because of the abstraction level and the possibilities with statistics (Before, was pending algebra in my agenda. Now also, remember all the statistics I forgot….now, more and more, I need a good course from the university P2P about maths) and #BigData.

The possibility of being accessible from #python, for example, generates many possibilities. But, probably is not a good idea to work with it in the client (Batteries, and less powerful devices), but I really miss a JavaScript (JQuery) – R connection… ¿Or maybe already exists a good JS library for this?

I add some screenshots of R from the codeschool.

R1 R3 R2

Enjoy

Anuncios
Publicado en Backend, BigData, Opinión, Otros | Deja un comentario

Funny conversation about Bitcoin

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

– Did you know about it? http://en.wikipedia.org/wiki/Bitcoin

– 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

Success!

Publicado en GIT | Deja un comentario

Httrack agressive download, o como descargar una web completamente

httrack http://www.url.com -c128 -%c20 -R40 -H0 -t -s0 -B

enjoy!

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.)

 

#!/usr/bin/python
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 = infile.read()
infile.close()
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