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/bin/env python3 | |
| """ | |
| Search Firefox profiles that are only enabled for Profile-Sync-Daemon (PSD) | |
| Installation: Put this script into this folder: $HOME/.mozilla/firefox/ | |
| Usage from shell: eval "$(python /tmp/test.py)" | |
| Usage in profiles.ini: Set IsPsdEnabled=1/true/yes to enable PSD on this profile, | |
| set 0/false/no or nothing to disable PSD on this profile. | |
| Modify /usr/share/psd/browsers/firefox internal loop with: | |
| eval "$(python $HOME/.mozilla/firefox/psd_wrapper.py)" |
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/bash | |
| URL="https://p.calameoassets.com/200424144000-11e93cd5206820f83e75e58a9b1e4652/p%page_number%.svgz" | |
| function get_images { | |
| # download svg files | |
| for i in {1..196} | |
| do | |
| echo "page $i..." | |
| VAR="${URL/\%page_number\%/$i}" |