Skip to content

Instantly share code, notes, and snippets.

View sney2002's full-sized avatar
🏠
Working from home

Jhonatan Salguero Villa sney2002

🏠
Working from home
View GitHub Profile
@sney2002
sney2002 / svn-color-diff.sh
Created October 30, 2018 04:16
Add color to the output of svn diff
nicediff() {
RED='\033[31m'
GREEN='\033[32m'
CYAN='\033[36m'
BOLD='\033[1;37m'
NC='\033[0m'
R_REMOVED="^\-([^-]|$)"
R_ADDED="^\+([^+]|$)"
R_AT="^\@\@ \-[0-9]+,[0-9]+ \+[0-9]+,[0-9]+ \@\@$"
R_DIFF_HEAD="^(\-\-\-|\+\+\+)[^\-\+]+$|^=+$|^Index:"
@sney2002
sney2002 / ppt_imagext.py
Created November 16, 2011 21:48
Script para extraer imágenes de archivos ppt, pps y pptx
#-*- coding: utf-8 -*-
"""
Copyright (c) 2011, Jhonathan Sneider Salguero Villa (http://www.novatoz.com/)
script para extraer imágenes de archivos ppt, pptx y pps
Requiere:
- pywin32
- Microsoft PowerPoint 2007
"""
try:
@sney2002
sney2002 / mget.py
Created August 16, 2011 22:16
script python para descarga automática de megaupload
#-*- coding: utf-8 -*-
"""
Copyright (c) 2011, Jhonathan Sneider Salguero Villa (http://www.novatoz.com/)
script para descarga automática de archivos alojados en megaupload.
Intenta burlar proxies que bloquean por nombre de dominio y extensión de archivos
"""
from base64 import urlsafe_b64encode
from contextlib import closing
@sney2002
sney2002 / about.md
Created August 9, 2011 20:25 — forked from jasonrudolph/about.md
Programming Achievements: How to Level Up as a Developer
@sney2002
sney2002 / mget
Created May 6, 2011 22:54
script para descargar automáticamente archivos alojados en Megaupload
#!/usr/bin/env bash
# Copyright (c) 2011, Jhonathan Sneider Salguero Villa (http://www.novatoz.com/)
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions: