Archive for the ‘Uncategorized’ Category

Python & Oracle [SOLVED] ImportError: libclntsh.so.11.1: wrong ELF class: ELFCLASS32

If you are getting a message like this: >>> import cx_Oracle Traceback (most recent call last): File "<stdin>", line 1, in ? ImportError: libclntsh.so.11.1: wrong ELF class: ELFCLASS32 It means you are having issues with ELF (Executable and Linkable Format) How to solve em? First, locate the path to libclntsh.so.11.1 (usually in /usr): [root@zaguan importaFHdesdeRoble]# [...]

Mysql SELECT DISTINCT y tildes en utf8 [RESUELTO]

La verdad es que las tildes siempre son una lata en programación y en consultas a bases de datos MySQL . Imagina que tienes una tabla con los siguientes valores ID value 1 Óscar 2 Oscar Antes de empezar a hacer queries a la BD, nos aseguraremos de que se tiene en cuenta el utf8: [...]

Ver imágenes de imageshack (evitar ranitas) [solucionado]

Si no veis las imágenes de imageshack y aparece la dichosa ranita (cubito de hielo con una rana dentro): Se debe a que imageshack controla el valor del campo referer de las cabeceras (headers) http para no permitir el hotlinking desde algunos sitios web. Podéis solucionarlo siguiendo estos pasos: Eliminar ranitas de imageshack en FIREFOX [...]

[SOLVED] An Unexpected HTTP Error occurred during the API request – wordpress 3

If you are getting this error in WordPress 3: An Unexpected HTTP Error occurred during the API request Edit your wp-includes/class-http.php Search this: $defaults = array( ‘method’ => ‘GET’, ‘timeout’ => apply_filters( ‘http_request_timeout’, 5), And change it to: $defaults = array( ‘method’ => ‘GET’, ‘timeout’ => apply_filters( ‘http_request_timeout’, 30), Should work now If it does [...]

Eliminar tildes con python [SOLUCIONADO]

Es muy probable que si programas en python te encuentres, alguna vez, con una situación en la que debes eliminar las tildes de algún texto. Esto se puede hacer fácilmente utilizando el módulo unicodedata. He creado la funcion elimina_tildes tal que asi: 1 2 3 4 5 6 7 import unicodedata def elimina_tildes(s): return ”.join((c [...]

SEO: las mejores herramientas gratis

Os he hablado en muchas ocasiones de SEARCH ENGINE OPTIMIZATION (SEO) y me gustaría destacar algunas de las herramientas seo gratuitas más útiles. 1. Herramienta google para palabras clave: https://adwords.google.es/select/KeywordToolExternal. Utilice la Herramienta para palabras clave para obtener nuevas ideas sobre palabras clave. Seleccione una de las opciones siguientes para introducir unas palabras o frases [...]

Google analytics: how to export more than 500 entries of data report [SOLVED]

Currently, only up to 500 rows of Analytics table data can be exported at a time into CSV format. If you need to export larger data sets, like exporting all keywords that sent traffic to your site, you can export multiple times as long as each batch contains at maximum 500 rows. If you have [...]

httpwatch: record http / https requests

httpwatch is an HTTP viewer and debugger that integrates with IE and Firefox to provide seamless HTTP and HTTPS monitoring without leaving the browser. This kind of software is usually known as sniffer. Why do you need an HTTP Viewer or Sniffer? All web applications make extensive use of the HTTP protocol (or HTTPS for [...]

Capital letters in references using BibTeX / Mayúsculas en citas usando BibTeX

The other day I tried to cite one article in one of my papers which contained the acronym “RANSAC” inside its title. I added the BibtTeX reference to the references’ file: El otro día intenté citar en uno de mis artículos un paper que contenía el acrónimo “RANSAC” en su título. En mi fichero de [...]

Screenshot captures with Iphone

If you want to capture a screenshot of your Iphone just press simultaneously the sleep button and the home button. The screenshot will be saved in the camera roll. Para realizar una captura de pantalla en tu Iphone simplemente pulsa a la vez el botón de bloquear el teléfono y el botón de acceder a [...]

Paypal donate

Please help me keep this blog up by donating.

Por favor, ayúdame a continuar con el blog donando.