|
|
Shared iMuffler
|
|
|
|
|
|
A good talk on copyright and file sharing and the future of entertainment by @stephenfry check it out http://bit.ly/eDOAI [#]
|
|
|
|
|
|
RT @StephenAtHome: i just saw a triple-g rated movie. that was some seriously hardcore family fare [#]
|
|
|
Simply amazing… http://bit.ly/24o551 [#]
|
|
|
http://twitpic.com/d74v2 – Ubuntu on one screen Vista on the other… nice [#]
|
|
|
It is sad that you have to install a virtual machine to run IE 6 if you want to be able to test things properly… [#]
|
|
|
Maybe I should plug in one of my other monitors and use it as the virtual machine test screen… [#]
|
|
|
So… I have Ubuntu running in a virtual machine so I can run wine so I can run IE6… sigh… [#]
|
|
|
@gavinblair Haha Bell started doing that now too? [#]
|
|
|
@gabearnold Well… it was either that or I install the M$ virtual machine… which expires every couple of months [#]
|
|
|
|
|
|
@hijinksensue You just made me want to see it [#]
|
|
|
Hmmm… the ‘seamless mode’ in Virtualbox isn’t showing me the Ubuntu toolbar when Vista is the host [#]
|
|
|
@gavinblair I made one of those once… not sure where it went though [#]
|
|
|
@codinghorror That is what you do in php… except there seems to be no way to check if something does not exist rather than being null [#]
|
|
|
@hijinksensue So… that is a big GI No? [#]
|
|
|
Does anyone else think that the Breen look like they have dustbusters attached to the front of their helmets? [#]
|
|
|
RT @codinghorror: why do decisions made *only weeks ago* seem like they were made while we were apparently high on crack? I blame me. [#]
|
|
|
@TheGingerDog isset($nonExistant) = isset($null) = false…. hmmm… is it null or not set? [#]
|
|
|
@TheGingerDog The same goes for empty… array_key_exists works fine for arrays… [#]
|
|
|
@codinghorror I am [#]
|
|
|
Hmmm… Apparently chrome can only show 201 iFrames per page… [#]
|
|
|
Shared Foxtrot – 9 August 2009
|
|
|
@TheGingerDog $doesNotExist === null === $null [#]
|
|
|
@TheGingerDog What I really want is something like !defined(CONST)… except for variables… ah well [#]
|
|
|
Gowron has such popped out eyeballs… [#]
|
|
|
@gavinblair Careful… if it does too well it might collapse [#]
|
|
|
|
|
|
|
|
|
Storm keeps taking out the power [#]
|
|
|
@markstahler I was trying to watch the last episode of DS9… but no… stupid storm… [#]
|
August 9th, 2009
9
Aug 09
Daily Digest for August 9th
9
Aug 09
A couple useful jQuery Snippets
For popups, just add class=”popup”
jQuery('a.popup').live('click', function(){ newwindow=window.open($(this).attr('href'),'','height=200,width=150'); if (window.focus) {newwindow.focus()} return false; });
To open in a new tab, add class=”newTab”
jQuery('a.newTab').live('click', function(){ newwindow=window.open($(this).href); jQuery(this).target = "_blank"; return false; });
Check if something is in view
function in_view(elem){ var docViewTop = jQuery(window).scrollTop(); var docViewBottom = docViewTop + jQuery(window).height(); var elemTop = jQuery(elem).offset().top; var elemBottom = elemTop + jQuery(elem).height(); return ((elemBottom >= docViewTop) && (elemTop <= docViewBottom) && (elemBottom <= docViewBottom) && (elemTop >= docViewTop)); }