Skip to content

Instantly share code, notes, and snippets.

@rinjugatla
rinjugatla / CalculateHashWithWindows.bat
Created October 12, 2022 06:31
Windowsのコマンドプロンプトでハッシュ計算するバッチ
@echo off
rem algorithm -> MD2, MD4, MD5, SHA1, SHA256, SHA384, SHA512
set algorithm=SHA256
certutil -hashfile %1 %algorithm%
pause
@rinjugatla
rinjugatla / FF14WorldStatusCrawler.py
Last active January 30, 2021 06:23
FF14のワールド稼働状況を確認し、任意のワールドのキャラクタ作成が可能になった場合にデスクトップ通知を行います。
from pprint import pprint
import requests
from bs4 import BeautifulSoup
from plyer import notification
import time
class FF14WorldStatusCrawler():
__world_names = [] # チェック対象のワールド名
__interval_min = 10 # チェック間隔(分) 最低10分
__loop_limit = -1 # チェック回数(-1)で無限実行
@rinjugatla
rinjugatla / CraftopiaSavedataBackupTool.bat
Last active October 19, 2020 13:35
Craftopiaのセーブデータをお手軽にバックアップするbatファイル
set time2=%time: =0%
::設定例
::xcopy "C:\Users\%USERNAME%\AppData\LocalLow\PocketPair\Craftopia\Save" "%USERPROFILE%\Desktop\Craftopia\Save%date:~0,4%%date:~5,2%%date:~8,2%_%time2:~0,2%%time2:~3,2%" /I /E /H /C
::xcopy "保存元" "保存先 %date:~0,4%%date:~5,2%%date:~8,2%_%time2:~0,2%%time2:~3,2%" /I /E /H /C
::
::実行した場合の保存例(日時2020年10月19日22時00分)
::C:\Users\hoge\Desktop\Craftopia\Save20201019_2200
::上記アドレスにNew World-フォルダ内すべてのフォルダ・ファイルがコピーされる
::
::備考
@rinjugatla
rinjugatla / MoreSkillPointEachMissionCategory.cs
Created September 15, 2020 12:52
Craftopia MoreSkillPointEachMissionCategory ミッションカテゴリ毎にスキルポイントを1獲得するMOD
using BepInEx;
using HarmonyLib;
using Oc;
using Oc.Missions;
using Oc.Skills;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using TMPro;
using UnityEngine;
@rinjugatla
rinjugatla / LGS script
Last active June 18, 2019 10:15
Logicool Gaming Software用のLuaコード 一定時間ごとにキー入力するサンプルコード https://rinatl.blog.fc2.com/blog-entry-788.html
-- sleepTime キー入力後待機時間(ミリ秒)
-- messageInterval ログ出力間隔(ミリ秒)
_sleepTime = 1000
_messageInterval = 5000
-- key 入力キー 文字またはコード
-- modifierKey lctr, lshift, lalt 省略可
-- sleepTime キー入力後待機時間(ミリ秒) 省略可
-- messageInterval ログ出力間隔(ミリ秒) 省略可
@rinjugatla
rinjugatla / freeml crawler
Last active June 9, 2019 16:24
freemlのメール保存用コード ご利用は自己責任で https://rinatl.blog.fc2.com/blog-entry-793.html
##################
# 参考
# https://qiita.com/shunyooo/items/36af8bcb501baf8c7014
# 【Python3】ログイン機能付サイトでスクレイピング【requests】【BeautifulSoup】
##################
# 設定が必要な項目
# メールアドレスとパスワードの指定
mail = "hoge@hoge.com"
password = "hogehoge"