mose shoots
2016-08-31-00-312016-08-09-15-342016-08-09-15-332016-07-01-15-412016-05-23-14-35
2016-08-31-00-31 2016-08-09-15-34 2016-08-09-15-33 2016-07-01-15-41 2016-05-23-14-35 2016-02-03-16-57 2015-10-13-09-29 2015-09-17-07-59 2015-09-07-08-15 2015-08-13-00-30 2015-08-13-00-26 2015-07-04-22-00 2015-07-04-21-35 2015-06-22-09-41 2015-05-13-22-14 2015-04-01-07-31 2015-03-27-12-44 2015-03-27-12-40 2015-03-27-12-39 2015-03-27-12-29 2015-03-27-12-25 2015-03-27-12-05 2015-01-18-19-27 2015-01-09-13-48 2015-01-09-13-47 2015-01-09-09-37 2015-01-03-01-15 2015-01-03-01-13 2007-12-23-22-34 2007-12-23-22-32 2007-12-23-22-31 2007-12-23-22-30 2007-12-02-19-52 2007-08-30-10-28 2006-12-28-17-28 2006-12-14-00-26 2006-11-25-23-00 2006-11-25-22-59 2006-11-13-23-02 2006-11-13-21-05 2006-11-13-20-56 2006-11-13-20-53 2006-11-06-02-03 2006-11-06-01-56 2006-11-06-01-49 2006-11-06-01-47 2006-11-06-01-46 2006-11-06-01-45 2006-11-06-01-44 2006-10-02-18-01 2006-09-21-11-29 2006-09-17-23-54 2006-08-12-02-01 2006-08-11-20-55 2006-08-11-19-36 2006-07-07-01-27 2006-07-07-01-26 2006-07-07-01-16 2006-06-26-17-18 2006-06-13-21-36 2006-06-13-21-33 2006-06-11-15-12 2006-05-29-20-16 2006-05-29-00-19 2006-05-23-22-46 2006-05-16-11-39 2006-05-13-14-24 2006-04-19-18-51 2006-04-16-21-01 2006-04-16-18-45 2006-04-16-18-42 2006-04-16-18-36 2006-04-16-18-31 2006-04-16-18-21 2006-03-23-20-38 2006-03-16-15-16 2006-03-05-10-37 2006-02-18-19-59 2006-02-18-19-03 2006-02-16-08-48 2006-02-05-17-10 2006-01-27-12-28 2006-01-27-12-26 2006-01-27-12-25 2006-01-25-14-15 2006-01-24-08-56 2006-01-23-18-22 2006-01-18-21-55 2006-01-15-16-40 2006-01-14-22-22 2005-11-27-17-58 2005-11-26-20-47 2005-10-06-16-48 2005-10-04-15-26 2005-09-30-21-48 2005-09-28-23-51 2005-09-15-10-46 2005-09-06-00-58 2005-09-06-00-56 2005-09-06-00-55 2005-08-27-22-25 2005-08-26-19-14 2005-08-19-02-03 2005-08-10-00-54 2005-08-09-20-04 2005-08-09-20-00 2005-08-09-15-02 2005-08-09-15-01 2005-08-09-15-00 2005-08-09-14-59 2005-08-09-14-58 2005-08-09-14-44 2005-08-09-14-43 2005-08-09-14-37 2005-08-09-14-36 2005-07-22-14-55 2005-07-22-14-54 2005-07-13-14-24 2005-07-03-02-01 2005-05-21-16-24 2005-05-19-13-43 2005-05-08-00-27 2005-05-08-00-25 2005-05-08-00-24 2005-05-03-11-15 2005-05-03-11-14 2005-04-24-14-25 2005-04-24-11-39 2005-04-23-13-08 2005-04-05-11-31 2005-04-04-20-53 2005-04-04-16-00 2005-04-03-04-49 2005-03-29-22-40 2005-03-28-03-15 2005-03-27-15-46 2005-03-25-19-39 2005-03-07-06-10 2005-02-20-22-13 2005-02-20-03-29 2005-01-20-15-35 2005-01-17-10-52 2005-01-17-10-44 2004-12-01-13-08 2004-12-01-12-21 2004-11-29-12-14 2004-11-23-11-39 2004-11-03-20-23 2004-10-28-03-17 2004-10-28-02-38 2004-10-25-12-25 2004-10-24-21-33 2004-10-13-21-32 2004-10-13-21-31 2004-10-13-21-30 2004-10-13-21-29 2004-10-12-01-48 2004-10-11-04-57 2004-10-09-23-35 2004-10-08-22-34 2004-10-08-22-18 2004-10-08-19-08 2004-09-30-19-17 2004-09-29-16-06 2004-09-29-16-04 2004-09-29-08-55 2004-09-07-22-38 2004-09-06-09-22 2004-09-06-09-02 2004-09-05-13-08 2004-09-05-13-00 2004-09-01-16-00 2004-09-01-13-16 2004-09-01-13-15 2004-09-01-13-12 2004-08-30-09-10 2004-08-25-04-08 2004-08-25-04-00 2004-08-25-03-57 2004-08-23-01-07 2004-08-23-00-59 2004-08-23-00-55 2004-08-23-00-35 2004-08-22-16-22 2004-08-22-10-27 2004-08-22-07-15 2004-08-22-07-13 2004-08-20-01-01 2004-08-03-04-21 2004-08-02-03-38 2004-08-02-03-37 2004-08-01-19-31 2004-07-30-04-32 2004-07-14-10-10 2004-07-13-13-37 2004-07-13-10-38 2004-07-13-01-53 2004-07-11-23-50 2004-07-11-09-17 2004-07-11-08-11 2004-07-09-00-50 2004-07-06-02-28 2004-07-06-00-13 2004-07-03-16-41 2004-07-01-13-15 2004-05-12-20-00 2004-05-03-20-15 2004-04-22-00-29 2004-04-22-00-25 2004-04-22-00-22 2004-04-22-00-20 2004-03-17-22-02 2004-03-17-21-45 2004-03-17-06-52 2004-03-17-05-54 2004-03-16-14-11 2004-03-16-14-10 2004-03-16-04-57 2004-03-16-03-10 2004-03-16-03-09 2004-03-16-03-08 2004-03-16-03-06 2004-03-16-03-04 2004-03-16-03-03 2004-03-16-02-27 2004-03-16-02-26 2004-03-16-02-25 2004-03-16-02-24 2004-03-16-02-22 2004-03-16-02-16 2004-03-16-02-09 2004-03-16-01-54 2004-03-16-01-53 2004-03-16-01-52 2004-03-16-01-50 2004-03-14-20-54 2004-03-13-22-50 2004-03-13-21-48 2004-03-13-15-21 2004-03-12-23-33 2004-03-12-11-15 2004-03-09-08-57 2004-03-08-16-41 2004-03-08-16-39 2004-03-08-15-59 2004-03-08-15-56 2004-03-08-15-53 2004-03-08-15-01 2004-03-08-14-56 2004-03-08-13-04 2004-03-08-13-02 2004-03-08-12-58 2004-03-08-12-45 2004-03-08-12-35 2004-03-08-12-27
alias shoot="scrot -s -b -t 15 -e 'scp -pC *_grab*png mose.com:shoot/ && echo http://eye.mose.com/\$f' '%Y-%m-%d-%H-%M_grab.png' && rm -f *_grab*png"

<!DOCTYPE html PUBLIC 
    "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
<?php 
$h 
opendir("."); 
while (
$file readdir($h)) { 
    if (
substr($file,-15,15) == "_grab-thumb.png") { 
        
$shoots[] = substr($file,0,-15); 
    } 

rsort($shoots); 
closedir($h); 
$nb count($shoots);
?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Mose Shoots</title>
<style type="text/css"><!--
body { 
    background-color : #000000;
    color : #999999;
}
a { 
    text-decoration : none;
    font-family : fixed, monospace;
    font-size : 9pt;
    color : #66aaff;
    padding : 3px 12px 3px 12px;
    -moz-border-radius : 1em; 
    border : 1px solid #000000;
}
a:hover { 
    background-color : #232323;
    border : 1px solid #999966;
    color : #FFFFFF;
    font-weight : bold;
}
a.on {
    border : 1px solid #666633;
}
div, pre {
    margin : 10px;
    padding : 10px;
    border : 1px solid #999966;
    -moz-border-radius : 1em;

--></style>
</head>
<body>
<div align="center">
<a href="http://mose.com">mose</a>
<a href="index.php">shoots</a>
</div>
<? 
if (isset($_GET['shoot'])) { 
    
$shoot preg_replace("/[^-0-9]/","",$_GET['shoot']);
    echo 
'<div align="center"><img src="'.$shoot.'_grab.png"';
    echo 
' border="1" alt="'.$shoot.'" />';
    echo 
'<div>'.$shoot.'</div></div>'

?>
<div>
<? 
if (isset($_GET['s'])) {
    
$s preg_replace("/[^0-9]/","",$_GET['s']);
} else {
    
$s 0;
}
for (
$i=$s;$i<$s+5;$i++) { 
    
$sh $shoots[$i]; 
    echo 
'<a href="index.php?';
    if (isset(
$_GET['s'])) { 
        echo 
's='.$_GET['s'].'&amp;';
    }
    echo 
'shoot='.urlencode($sh).'"><img src="'.$sh.'_grab-thumb.png"';
    echo 
' border="1" alt="'.$sh.'" /></a>'

?>
</div>
<? 
for ($i=0;$i<$nb;$i++) {
    echo 
'<a href="index.php?s='.$i.'"';
    if (
$i >= $s and $i $s+5) { echo ' class="on"'; }
    echo 
'>'.$shoots[$i].'</a> '

?>
<pre>alias shoot="scrot -s -b -t 15 -e 'scp -pC *_grab*png mose.com:shoot/ &amp;&amp; echo http://eye.mose.com/\$f' '%Y-%m-%d-%H-%M_grab.png' &amp;&amp; rm -f *_grab*png"</pre>
<pre><? 
ini_set
('highlight.comment','#666666');
ini_set('highlight.default','#decebe'); 
ini_set('highlight.html',   '#6688AA');
ini_set('highlight.keyword','#66AA88');
ini_set('highlight.string''#AA8866');
highlight_file(__FILE__); 
?></pre>
</body>
</html>
<!-- this code is public domain. https://github.com/mose/shoot -->