mirror of
https://github.com/jarun/nnn.git
synced 2024-11-27 21:31:30 +00:00
Use HTTPS everywhere (mechanical edit using util from https-everywhere)
```Shell ~/src/EFForg/https-everywhere/utils/rewriter/rewriter.js . ``` Ref: https://github.com/EFForg/https-everywhere/tree/master/utils/rewriter Remove suspicious file
This commit is contained in:
parent
c1e673b830
commit
25eba96466
Binary file not shown.
|
@ -20,7 +20,7 @@
|
|||
|
||||
EBOOK_ID="${EBOOK_ID}"
|
||||
DIR="${XDG_CACHE_HOME:-$HOME/.cache}/nnn/gutenbooks/$EBOOK_ID"
|
||||
BROWSE_LINK="http://www.gutenberg.org/ebooks/search/?sort_order=downloads"
|
||||
BROWSE_LINK="https://www.gutenberg.org/ebooks/search/?sort_order=downloads"
|
||||
BROWSER="${BROWSER:-w3m}"
|
||||
READER="${READER}"
|
||||
|
||||
|
@ -33,7 +33,7 @@ if [ -n "$EBOOK_ID" ]; then
|
|||
curl -L -O "https://www.gutenberg.org/files/$EBOOK_ID/$EBOOK_ID-h.zip"
|
||||
unzip "$EBOOK_ID"-h.zip
|
||||
else
|
||||
curl -L -o "$EBOOK_ID".epub "http://www.gutenberg.org/ebooks/$EBOOK_ID.epub.noimages"
|
||||
curl -L -o "$EBOOK_ID".epub "https://www.gutenberg.org/ebooks/$EBOOK_ID.epub.noimages"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
|
@ -521,7 +521,7 @@ if [ -n "${album_title}" ]; then
|
|||
echo "Album '${album_title}' successfully created"
|
||||
album_id="$(grep -Eo '"id":\s*"[^"]+"' <<<"${response}" | cut -d "\"" -f 4)"
|
||||
del_id="$(grep -Eo '"deletehash":\s*"[^"]+"' <<<"${response}" | cut -d "\"" -f 4)"
|
||||
handle_album_creation_success "http://imgur.com/a/${album_id}" "${del_id}" "${album_title}"
|
||||
handle_album_creation_success "https://imgur.com/a/${album_id}" "${del_id}" "${album_title}"
|
||||
|
||||
if [ "${login}" = "false" ]; then
|
||||
album_id="${del_id}"
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
# - `zathura`: PDF viewer
|
||||
# - but we allways fallback to `nuke` plugin
|
||||
#
|
||||
# [1]: http://tools.suckless.org/tabbed/
|
||||
# [1]: https://tools.suckless.org/tabbed/
|
||||
# [2]: https://specifications.freedesktop.org/xembed-spec/xembed-spec-latest.html
|
||||
#
|
||||
# Shell: bash (job control is weakly specified in POSIX)
|
||||
|
|
|
@ -876,7 +876,7 @@ static rlim_t max_openfds(void)
|
|||
* Frees current memory if realloc() fails and returns NULL.
|
||||
*
|
||||
* As per the docs, the *alloc() family is supposed to be memory aligned:
|
||||
* Ubuntu: http://manpages.ubuntu.com/manpages/xenial/man3/malloc.3.html
|
||||
* Ubuntu: https://manpages.ubuntu.com/manpages/xenial/man3/malloc.3.html
|
||||
* macOS: https://developer.apple.com/legacy/library/documentation/Darwin/Reference/ManPages/man3/malloc.3.html
|
||||
*/
|
||||
static void *xrealloc(void *pcur, size_t len)
|
||||
|
|
Loading…
Reference in a new issue