Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Two new scripts (and some markup)
- Loading branch information
kthoden
committed
Mar 9, 2020
1 parent
45b5bc6
commit 36d1493
Showing
3 changed files
with
22 additions
and
4 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
# Various small files | ||
|
||
* TeXShopShortcuts.plist is a selection of shortcuts for TeXShop | ||
* jsonfixer.py: Convert fixtures with embededd EOA1.0 design to embedded EOA2.0 design. | ||
* showpickle.py: Pretty print contents of pickle file | ||
* eoa.rc: Some useful shell functions. Source them from your shell rc file. Only tested on zsh. | ||
* `TeXShopShortcuts.plist` is a selection of shortcuts for TeXShop | ||
* `jsonfixer.py`: Convert fixtures with embededd EOA1.0 design to embedded EOA2.0 design. | ||
* `showpickle.py`: Pretty print contents of pickle file | ||
* `eoa.rc`: Some useful shell functions. Source them from your shell rc file. Only tested on zsh. | ||
* `pulldjango.sh`: Create static versions using `wget`. | ||
* `updatestatic.sh`: Write files to where the webserver finds them. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/usr/bin/zsh | ||
|
||
wget -P /home/kthoden/static/eoa --mirror --convert-links --adjust-extension --page-requisites --no-parent http://eoa2-production.mpiwg-berlin.mpg.de:9005 | ||
wget -P /home/kthoden/static/eos --mirror --convert-links --adjust-extension --page-requisites --no-parent http://eoa2-production.mpiwg-berlin.mpg.de:9010 | ||
python3 /home/kthoden/src/eoa_makestatic/makestatic.py /home/kthoden/static/eos/eoa2-production.mpiwg-berlin.mpg.de:9010 | ||
wget -P /home/kthoden/static/mprl --mirror --convert-links --adjust-extension --page-requisites --no-parent http://eoa2-production.mpiwg-berlin.mpg.de:9015 | ||
python3 /home/kthoden/src/eoa_makestatic/makestatic.py /home/kthoden/static/mprl/eoa2-production.mpiwg-berlin.mpg.de:9015 | ||
|
||
echo Finito |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/zsh | ||
|
||
sudo rsync -Pazy /home/kthoden/static/eoa/eoa2-production.mpiwg-berlin.mpg.de:9005/ /var/www/eoa/html | ||
sudo rsync -Pazy --exclude index-bak.html /home/kthoden/static/eos/eoa2-production.mpiwg-berlin.mpg.de:9010/ /var/www/eos/html | ||
sudo rsync -Pazy --exclude index-bak.html /home/kthoden/static/mprl/eoa2-production.mpiwg-berlin.mpg.de:9015/ /var/www/mprl/html | ||
|
||
echo Finito |