Skip to content

Instantly share code, notes, and snippets.

# -*- coding: utf-8 -*-
import os
import re
import glob
import shutil
import logging
import zipfile
import rarfile
from openpyxl import load_workbook
@huruka
huruka / price.yml
Created April 7, 2022 15:14
beanprice
name: price update
on:
schedule:
- cron: "00 12 * * *"
jobs:
price-update:
name: price update
runs-on: ubuntu-latest
// サジェスト付き検索
// Google, Wikipedia などが使用可能
// s を入力するとエンジン選択画面が開く。 j/k で上下へ。 Enter や s で決定。
// エンジンを決定したら検索語句を入力する画面へ。ここで文字を入力して TAB を押すとサジェストの結果で補完される。
key.setViewKey('s', function (ev, arg) {
let engines = util.suggest.getEngines();
// If you want to use all available suggest engines,
// change suggestEngines value to util.suggest.filterEngines(engines);
@huruka
huruka / encoding_converter.py
Last active September 13, 2015 13:53 — forked from reorx/encoding_converter.py
char detect & convert
#!/usr/bin/python
# -*- coding: utf-8 -*-
import chardet
BROTHER_ENCODINGS = [
('GB2312', 'GBK', 'GB18030'),
]