Skip to content

Instantly share code, notes, and snippets.

@danhanfry
danhanfry / gist:72f3281603ec73a3055f
Last active November 28, 2015 21:41
upgrading (switching ppa repo) ffmpeg on ubuntu 14.04
ne radi!!!!!
sudo apt-add-repository --remove ppa:jon-severinsson/ffmpeg
!!!!!
find / -name 'ffmpeg' -type d
https://launchpad.net/~mc3man/+archive/ubuntu/trusty-media
sudo apt-get --purge remove ffmpeg
sudo apt-get --purge autoremove
@danhanfry
danhanfry / gist:b4c8af6b8d9a603beb83
Created January 8, 2016 02:04 — forked from jaydson/gist:1780598
How to detect a click event on a cross domain iframe
var myConfObj = {
iframeMouseOver : false
}
window.addEventListener('blur',function(){
if(myConfObj.iframeMouseOver){
console.log('Wow! Iframe Click!');
}
});
document.getElementById('YOUR_CONTAINER_ID').addEventListener('mouseover',function(){