Mostrando entradas con la etiqueta santex. Mostrar todas las entradas
Mostrando entradas con la etiqueta santex. Mostrar todas las entradas

19 de febrero de 2016

From the ground up with GIT


A continuación el contenido, materiales y otras yerbas de la Tech Meetup "From the ground up with GIT", que di en el Tech Pub de Santex America, en febrero de 2016:

Link al evento: http://www.meetup.com/Tech-Meetup-Santex-Cordoba-Argentina/events/228759107/

Link a las slides: link

Link a las notas:

Link al video de la charla: link

Link a las scripts para generar conflictos: link

Graciasmiles a todos/as los/as asistentes por venir y por la tan activa participación, que volvió la charla en algo mucho más divertido y enriquecedor (al menos para mi :) ).


¡Salud!

26 de marzo de 2014

Create a global GIT hook to check Flake8 before each commit

First, let's install Flake8:




Note It is important to set the right version when installing Flake8, as there there are some versions that are bugged and will prevent the GIT hook to work (like the 2.1.0 version).

Now, let's setup global git commit hooks:

1. Enable git templates:



This tells git to copy everything in ~/.git-templates to your per-project .git/ directory when you run git init

2. Create a directory to hold the global hooks:



3. Write your hooks in ~/.git-templates/hooks.

For example, here's a post-commit hook (located in ~/.git-templates/hooks/post-commit):



4. Make sure the hook is executable.



5. Re-initialize git in each existing repo you'd like to use this in:




NOTE if you already have a hook defined in your local git repo, this will not overwrite it.

Now, let's create a global git pre-commit hook:


Finally, let's take it for a spin!

Go to some of your repos and re-initialize it to take the pre-commit hook:


Now edit some of your Python files, introducing some violation (like a >80 columns line, only one blank line between function/class definitions, etc.) and try to commit it:


Voilà!



3 de junio de 2013

Santex Tech Meetup: Python en el mundo real




Python en en mundo real



Se expondrán brevemente proyectos y empresas que han encarado proyectos exitosos a nivel mundial con Python, comparando ventajas, ecosistema, comunidad y desventajas del lenguaje.
La charla apuntará a ser bien de alto nivel (en el sentido de que no requiere más que nociones básicas de programación) y se mostrarán ejemplos prácticos de programas y librerías de computación científica, motores para hacer juegos, aplicaciones web, frameworks, etc.

UPDATE:

Material de la charla! https://github.com/matiasherranz/talks/tree/master/Real_world_Python

Fotos del evento! link.