Last active
April 3, 2019 00:56
-
-
Save kiritofeng/7e03a9fd77fc46e2e4dd1538a176a5dc to your computer and use it in GitHub Desktop.
Renaming script for https://github.com/DMOJ/site/pull/930
This file contains 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/bin/perl -p | |
s/\bEMAIL_THROTTLING\b/DMOJ_EMAIL_THROTTLING/g; | |
s/\bREJUDGE_SUBMISSION_LIMIT\b/DMOJ_SUBMISSIONS_REJUDGE_LIMIT/g; | |
s/\bCOMMENT_VOTE_HIDE_THRESHOLD\b/DMOJ_COMMENT_VOTE_HIDE_THRESHOLD/g; | |
s/\bMAX_USER_ORGANIZATION_COUNT\b/DMOJ_USER_MAX_ORGANIZATION_COUNT/g; | |
s/\bPP_STEP\b/DMOJ_PP_STEP/g; | |
s/\bPP_ENTRIES\b/DMOJ_PP_ENTRIES/g; | |
s/\bPP_BONUS_FUNCTION\b/DMOJ_PP_BONUS_FUNCTION/g; | |
s/\bPROBLEM_PDF_CACHE\b/DMOJ_PDF_PROBLEM_CACHE/g; | |
s/\bPROBLEM_PDF_INTERNAL\b/DMOJ_PDF_PROBLEM_INTERNAL/g; | |
s/\bPROBLEM_PDF_TEMP_DIR\b/DMOJ_PDF_PROBLEM_TEMP_DIR/g; | |
s/\bCAMO_URL\b/DMOJ_CAMO_URL/g; | |
s/\bCAMO_KEY\b/DMOJ_CAMO_KEY/g; | |
s/\bCAMO_EXCLUDE\b/DMOJ_CAMO_EXCLUDE/g; | |
s/\bCAMO_HTTPS\b/DMOJ_CAMO_HTTPS/g; | |
s/\bPROBLEM_DATA_ROOT\b/DMOJ_PROBLEM_DATA_ROOT/g; | |
s/\bPROBLEM_DATA_INTERNAL\b/DMOJ_PROBLEM_DATA_INTERNAL/g; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment