转自: https://fann.im/blog/2018/05/15/app-store-front-code/
X-Apple-Store-Front header is needed to scrape in App Store.
// 29 or 26 or 9
CN 143465-19,29
US 143441-1,29
JP 143462-9,29
KR 143466-13,29
| #!/usr/bin/env bash | |
| # find filename on https://go.dev/dl/ | |
| GO_FILE_NAME="go1.19.3.darwin-arm64.tar.gz" | |
| # usage: | |
| # chmod u+x install_go.sh | |
| # sudo ./install_go.sh | |
| mkdir /tmp/downloads |
| """ | |
| This is free and unencumbered software released into the public domain. | |
| Anyone is free to copy, modify, publish, use, compile, sell, or | |
| distribute this software, either in source code form or as a compiled | |
| binary, for any purpose, commercial or non-commercial, and by any | |
| means. | |
| In jurisdictions that recognize copyright laws, the author or authors | |
| of this software dedicate any and all copyright interest in the |
| /* | |
| <https://stackoverflow.com/questions/40296831/is-it-possible-to-force-a-copy-of-a-protected-google-doc> | |
| NOTE - 2021-05-24 | |
| ----------------- | |
| The script below isn't the fastest way to copy-and-paste from a protected | |
| Google Doc. Before trying it, I'd suggest following MikoFrosty's advice from | |
| the comments: |
转自: https://fann.im/blog/2018/05/15/app-store-front-code/
X-Apple-Store-Front header is needed to scrape in App Store.
// 29 or 26 or 9
CN 143465-19,29
US 143441-1,29
JP 143462-9,29
KR 143466-13,29
| //Сюда вписать через запятую названия своих треков, которые хотите сохранить | |
| //Например: ["Цвет настроения", "За любовь", "Каждый раз"] | |
| // Кстати Цвет настроения сохранится и черный и синий :D | |
| var filter = ["Your-favorite-track-name"]; | |
| //scroll down at max | |
| function scrollDown(callback){ | |
| let scroll = document.body.scrollHeight; | |
| let lastScroll = scroll; | |
| window.scrollTo(0,document.body.scrollHeight); |
| 1. Получаем хэш-код коммита, к которому хотим вернуться. | |
| 2. Заходим в папку репозитория и пишем в консоль: | |
| $ git reset --hard a3775a5485af0af20375cedf46112db5f813322a | |
| $ git push --force |
| /*--- waitForKeyElements(): A utility function, for Greasemonkey scripts, | |
| that detects and handles AJAXed content. | |
| Usage example: | |
| waitForKeyElements ( | |
| "div.comments" | |
| , commentCallbackFunction | |
| ); |