Skip to content

Instantly share code, notes, and snippets.

@sepicles
sepicles / Dockerfile
Last active September 14, 2021 08:45
# ベースイメージ名:タグ名
FROM selenium/standalone-firefox:4.0.0-rc-2-prerelease-20210908
@sepicles
sepicles / mfme_cf_csv_.js
Last active October 5, 2022 15:34
mfme_cf_csv_.js
// ==UserScript==
// @name MFME Cashflow Copy
// @namespace https://sepicles.net/
// @version 1.0
// @description MFME Cashflow Copy
// @author sepicles
// @match https://moneyforward.com/cf
// @grant none
// @require file:///e:/Dropbox/Synchro/Main/MoneyForwardME/mfme_cf_csvdl_.js
// ==/UserScript==
rem マネーフォワードMEで2019年1月から12月までの家計簿データをダウンロードする
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" "https://moneyforward.com/cf/csv?from=2019%2F01%2F01&month=1&year=2019"
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" "https://moneyforward.com/cf/csv?from=2019%2F02%2F01&month=2&year=2019"
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" "https://moneyforward.com/cf/csv?from=2019%2F03%2F01&month=3&year=2019"
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" "https://moneyforward.com/cf/csv?from=2019%2F04%2F01&month=4&year=2019"
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" "https://moneyforward.com/cf/csv?from=2019%2F05%2F01&month=5&year=2019"
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" "https://moneyforward.com/cf/csv?from=2019%2F06%2F01&month=6&year=2019"
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" "https://moneyforward.com/cf/csv?from=2019%2F07%2F01&month=7&year=2019"
"C:\Program Files (x86)\Google\Chrome\A
@sepicles
sepicles / JupyterLab_Japanese
Created August 27, 2021 06:41
JupyterLab_Japanese
pip install jupyterlab-language-pack-ja-JP
@sepicles
sepicles / PowerShell_python396_minimum.sh
Last active August 28, 2021 02:10
PowerShell_python396_minimum
PS E:\work> docker build -t python396_minimum .
# [+] Building 378.8s (8/8) FINISHED
# => [internal] load build definition from Dockerfile 1.1s
# => => transferring dockerfile: 737B 0.1s
# => [internal] load .dockerignore 1.5s
# => => transferring context: 2B 0.1s
# => [internal] load metadata for docker.io/library/python:3.9.6 6.5s
# => [auth] library/python:pull token for registry-1.docker.io 0.0s
# => CACHED [1/3] FROM docker.io/library/python:3.9.6@sha256:2bd64896cf4ff75bf91a513358457ed 0.0s
# => => resolve docker.io/library/python:3.9.6@sha256:2bd64896cf4ff75bf91a513358457ed09d8907 0.3s
@sepicles
sepicles / tree
Created August 25, 2021 07:14
python396_minimum
.
├── Dockerfile
└── docker-compose.yml
@sepicles
sepicles / docker-compose.yml
Last active August 28, 2021 02:11
python396_minimum
version: '3'
services:
python396_minimum:
# イメージ名を指定する
image: python396_minimum
# コンテナ名を指定する
container_name: python396_minimum_container
ports:
# JupyterLab接続用
- "8008:8888"
@sepicles
sepicles / Dockerfile
Last active August 28, 2021 02:11
python396_minimum
# ベースイメージをpython 3.9.6に指定する
FROM python:3.9.6
# pip自体のアップデートとJupyterLabのインストールをする
RUN pip install --upgrade pip && \
pip install jupyterlab
# コンテナのワークディレクトリを/JupyterLabに設定する
WORKDIR /JupyterLab
@sepicles
sepicles / mfme_update_home_command_.js
Last active October 5, 2022 15:35
mfme_update_home_command_.js
// ==UserScript==
// @name MFME Automatic Updating(home)
// @namespace https://sepicles.net/
// @version 1.0
// @description MFME Automatic Updating(home)
// @author sepicles
// @match https://moneyforward.com/
// @grant none
// ==/UserScript==
@sepicles
sepicles / mfme_update_home_.js
Created August 22, 2021 17:35
mfme_update_home_.js
// ==UserScript==
// @name MFME Automatic Updating(home)
// @namespace https://sepicles.net/
// @version 1.0
// @description MFME Automatic Updating(home)
// @author sepicles
// @match https://moneyforward.com/
// @grant none
// ==/UserScript==