Can git use the date info on the last commit as the time-stamp on the file-system?
Docs:
- https://git.wiki.kernel.org/index.php/ContentLimitations
- https://git.wiki.kernel.org/index.php/Git_FAQ#Why_isn.27t_Git_preserving_modification_time_on_files.3F
- http://git.661346.n2.nabble.com/timestamps-not-git-cloned-tt1587618.html#none
Tools:
(for fun and profit)
Refs:
- http://blog.nexcess.net/2011/01/21/one-liners-for-apache-log-files/
- http://serverfault.com/questions/11028/do-you-have-any-useful-awk-and-grep-scripts-for-parsing-apache-logs
- http://www.the-art-of-web.com/system/logs/#.UmGQQlOJBjY
- http://stackoverflow.com/questions/2114958/processing-apache-logs-quickly
- https://github.com/danielstjules/ServerLogStats
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
LogFormat "\"%r\" \"%{x-meh}o\"" test_123 | |
CustomLog ${APACHE_LOG_DIR}/access.log test_123 | |
... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Setup | |
set_time_limit(3); | |
// http://php.net/manual/en/function.register-shutdown-function.php | |
function shutdown() { | |
global $start; | |
$elapsed=microtime(true) - $start; | |
echo "SHUTDOWN. Time: ${elapsed}"; |