Skip to content

Instantly share code, notes, and snippets.

@JohannesBuchner
Last active May 25, 2022 17:10
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save JohannesBuchner/95f1efaba05b01b1d6a6855f536a0280 to your computer and use it in GitHub Desktop.
Save JohannesBuchner/95f1efaba05b01b1d6a6855f536a0280 to your computer and use it in GitHub Desktop.
Arxiv submission tool
# To submit just at the right time (deadline 14:00 EST),
#
# How to use:
# - Make sure your clock is synced to https://arxiv.org/localtime
# - Prepare arxiv submission up to last page, move cursor over submission button
# - execute below function which will produce a left-button mouse click at 14:00
# - if too early, unsubmit, fix clock, try again the next day
#
# Hopefully one day arxiv will randomize their submission ordering.
sleep $(($(date +%s -d '14:00 EST') - $(date +%s))) && xdotool click 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment