Pig: set default parallel
PARALLEL recommendation is 0.95 or 1.75 * (nodes * available reduce slots per machine).
Browser Opera: Activating ActiveX Controls
http://capitalhead.com/1240.aspx
JQuery:
$('object').each( function () { $(this).html($(this).html()); } );
Opera, IE and "<li>"
float left (and object at left) --> <ul style="margin-left: 250px;">
Drupal Galleria module - display the first image in Lightbox (on click)
<a href="#" onclick="Lightbox.start(
document.getElementById(
$('#galleria-content ul.galleria li a:eq(0)').attr('id')));
return false;">
Windows 7 start without password: netplwiz
Windows XP: control userpasswords2
"from IPython import embed; embed()" to get an interactive ipython
terminal at any point in your code
Centralita měřená stupněm uzlu (degree centrality)
Blízkost polohy ve středu (closeness centrality)
Středová mezipoloha (betwenness centrality)
Start IPython with PyPy
PYTHONPATH=/usr/lib/python2.7/dist-packages:$PYTHONPATH \
pypy /usr/bin/ipython
# bzip2 *.log files
find . -iname '*.log' -exec bzip2 -9 -v {} \;
/etc/cron.d/
field allowed values
----- --------------
minute 0-59
hour 0-23
day of month 1-31
month 1-12 (or names, see below)
day of week 0-7 (0 or 7 is Sun, or use names)
|