Skip to content

Instantly share code, notes, and snippets.

@sawanoboly
Created April 9, 2012 02:27
Show Gist options
  • Save sawanoboly/2340905 to your computer and use it in GitHub Desktop.
Save sawanoboly/2340905 to your computer and use it in GitHub Desktop.
Check last commit on Github.
#!/bin/bash
date -d `curl -s -f https://github.com/hissy/kobe-it-fes/commits/master.atom | grep -o -m 1 -E '<updated>.+</updated>' | sed s@\</*updated\>@@g | cut -c1-19` +%s
@sawanoboly
Copy link
Author

Output

1333482090

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment