Show company logo or personal photo in email clients when sending an email

September 20th, 2019 by

Ever wondered how to get your company logo or personal photo to show in email clients when sending an email? 👉 Add the email address to http://gravatar.com and upload an image. While it’s not an official method, it’s what most email clients seem to support.

WordPress Error

November 27th, 2018 by

To find WordPress errors when your site is selling products or you are losing sales because your site is down, that sucks!! Some quick tips: Can you access Wp-admin? If so, try to disable plugins. This is what I would try in first place. WordPress errors are caused 80% of the time by plugins. You […]

Learn Cyber Security

December 22nd, 2017 by

A collection of resources to learn Web Security. RootMe The fast, easy, and affordable way to train your hacking skills. challenge your hacking skills https://www.root-me.org/?lang=en Cybersecurity @ Coursera https://www.coursera.org/specializations/cyber-security Cybrary Free and Open Source Learning for Cyber Security, IT and more. https://www.cybrary.it/ Crypto101 Crypto 101 is an introductory course on cryptography, freely available for programmers of […]

Load Javascript source Dynamically

December 30th, 2013 by

function loadJavaScriptOnDemand(src, callback) { var script = document.createElement(‘script’); script.src = src; document.getElementsByTagName(‘head’)[0].appendChild(script); script.onreadystatechange = function() { if (script.readyState == 4 || script.readyState == “complete”) { if (typeof callback == “function”) { callback(); } callback = null; } } } Above function you can call as following. loadJavaScriptOnDemand(‘path/to/your/javascript’,function(){alert(‘JavaScript loaded’)});

Background Resize jQuery Plugin

August 18th, 2013 by

Problem: Background doesn’t fit the screen total height. Background-size it’s not cross browser compatible. Background Resize 100% I’ve made a jquery plugin to do a more smart image fit and resize. The image doesn’t get distorted and always mantain the image center positioned. Download jquery background resize plugin on github

Calculating the distance between two points using latitude and longitude

August 9th, 2013 by

How to handle distance bettween latitude/longitude points. Haversine Formula http://en.wikipedia.org/wiki/Haversine_formula Php Function to calculate distance between 2 points: function distance($lat1, $lon1, $lat2, $lon2) { $pi80 = M_PI / 180; $lat1 *= $pi80; $lon1 *= $pi80; $lat2 *= $pi80; $lon2 *= $pi80; $r = 6372.797; // mean radius of Earth in km $dlat = $lat2 – […]

Crawling and Scraping App Store and/or Android Market

August 9th, 2013 by

After a project about this subject, I want to write down what I learnt about these 2 platforms. If you need a solution for a similar project, contact me, I know all the problems we will face. Let’s go. Apple Store EPF Importer solution provided by Apple seems the most easy solution to get platform’s […]

B/W Saturation Effect CSS. Hover Color/Black and white

December 20th, 2012 by

li img{ /* b/w image */ filter: url(“data:image/svg+xml;utf8,#grayscale”); /* Firefox 10+, Firefox on Android */ filter: gray; /* IE6-9 */ -webkit-filter: grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */ } li:hover img{ /* full color image on hover */filter: url(“data:image/svg+xml;utf8,#grayscale”); -webkit-filter: grayscale(0%);}

Easy Slider 1.7 – Fade, Cross Fade Effect

October 26th, 2012 by

Fade effect for Easy Slider 1.7 This is a “patch” usefull but a patch.  Just comment  some lines and add few lines. I recommend you follow these steps, drop me a comment if you need help. Modification of jQuery Plugin Easy Slider 1.7, By CSS GLOBE, to use fade effect between transitions. 1) Add this CSS […]

De PSD a Sitio Web. Organización del PSD.

August 30th, 2012 by

Las “normas” básicas que debe cumplir un PSD para pasarlo a programación serían: Tamaño máximo 960px de ancho. Los dispositivos móviles se adaptan mejor. Resolución 96ppp  mejor que 72, pero también vale. Organizado por capas. Las primeras capas y más grandes deberían ser cada una de las páginas. Pero también se puede enviar cada página […]

Backoffice Customizable y adaptable a todo tipo de proyectos

August 9th, 2012 by

Me enorgullece presentar la versión 3.0 del backoffice o administrador hecho en casa, que utilizo para todos mis proyectos. Desde el principio (hace más de 4 años) lo hice pensando en los proyectos que suelo recibir, en los que no vale un CMS convencional, y se requiere una solución a medida con la que se […]

Tiny MCE ImageManager. Insert Uploaded Images Automatically

October 1st, 2011 by

I am talking about: Uploading and inserting images using ImageManager (TinyMCE plugin) in 3 clicks, instead of 4 and without search for your uploaded images inside the image file list. Images will be inserted in tinyMCE’s textarea automatically. Ninja solution: line 528: imagemanager-path/pages/im/js/imagemanager.js . Look for “onupload : function(){” onupload : function(e) { //Imagemanager.listFiles(); if […]

Leave your email and we'll contact you