Created
December 11, 2009 16:52
-
-
Save qingfeng/254337 to your computer and use it in GitHub Desktop.
Look Tokyo Tyrant rts file
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
#!/bin/sh | |
cat ntfs.rts | xargs python -c $1 "import sys;print int(sys.argv[1])/1000000" | xargs date -r |
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
#!/usr/local/bin/python | |
import time | |
print int((time.time()-15*60)*1000000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment