09/05/2018

Other » GDPR How to

Complying with GDPR is vital. Any business found not sticking to the rules could be charged fines of up to ‚ā¨20 million or 4% of the company’s global annual turnover, though the toughest fines will be reserved for the worst data breaches or data abuse. The GDPR is due to come into force on 25 […]

22/12/2017

Other » Learn Cyber Security

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 […]

30/12/2013

Other » Load Javascript source Dynamically

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’)});

18/08/2013

Other » Background Resize jQuery Plugin
Download jQuery Plugin

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

09/08/2013

Other » Calculating the distance between two points using latitude and longitude

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 – […]

09/08/2013

Other » Crawling and Scraping App Store and/or Android Market

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 […]

20/12/2012

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

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%);}

26/10/2012

Other » Easy Slider 1.7 – Fade, Cross Fade Effect

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 […]

01/10/2011

Other » Tiny MCE ImageManager. Insert Uploaded Images Automatically

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 […]



Tiny MCE ImageManager. Insert Uploaded Images Automatically
We are always online, we reply fast
Get in touch
Do NOT follow this link or you will be banned from the site!
Php Ninja
icono whatsapp programador web