> npx playwright codegen <url>
にてそのサイトで行いたいページ遷移、取得するDOMの大まかなコードを生成する
#**************** HUGO ********************************************* | |
ENV HUGO_VERSION="0.55.5" | |
RUN set -ex \ | |
&& curl -fsSLO --compressed "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz" \ | |
&& curl -fsSLO --compressed "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_checksums.txt" \ | |
&& grep " hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz\$" hugo_extended_${HUGO_VERSION}_checksums.txt | sha256sum -c - \ | |
&& tar -xzf hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz -C /usr/local/bin/ \ | |
&& rm hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz \ | |
&& rm hugo_extended_${HUGO_VERSION}_checksums.txt \ |
This utility script deploy a single local file to an existing Firebase Hosting site. Other files that are already deployed are left unmodified.
The difference with firebase deploy
is that this script does not require you to have a local snapshot of all hosted files,
you just need the one file that you want to add/update.
These are generic npm scripts that you can copy & paste into your package.json
file as-is and get access to convinience scripts to manage your Docker images all in one place.
npm i -g mrm-task-npm-docker
npx mrm npm-docker
Here's the code repository https://github.com/expertly-simple/mrm-task-npm-docker
// Amazon購入履歴のCSVエクスポート | |
// | |
// 使い方: | |
// 1. 全部コピーする (右上の Raw をクリックした先でやるのが楽) | |
// 2. Amazon の注文履歴ページ ( https://www.amazon.co.jp/gp/css/order-history/ ) を開く | |
// 3. F12 または 右クリ→要素の検証 とかで出てくる開発者ツールのコンソール (JavaScript REPL) にペースト | |
// 4. エンターで実行 | |
// (Firefox はなんか allow pasting とタイプしろみたいなことを言われるので従う) | |
// 5. しばらく待つと、コンソールに合計金額が表示され、CSVが保存される | |
// |
/* | |
To use you need to create an application on Github at https://github.com/settings/developers | |
The callback in this needs to be set to https://script.google.com/macros/d/{SCRIPT ID}/usercallback | |
Where {SCRIPT ID} is the ID of the script that is using this library. You can find your script's ID in the Apps Script code editor by clicking on the menu item "File > Project properties". | |
In this example code I've stored the apllicaitons clientId and clientSecret in the Script Properties: | |
- git_clientId | |
- git_clientSecret |
data:image/gif;base64,R0lGODlhAQABAAAAACw= |