Skip to content

Instantly share code, notes, and snippets.

@Hiryuto-oecu
Hiryuto-oecu / tampermonkey-script.js
Created April 13, 2026 01:01
OECU Moodle 授業絞り込みスクリプト
// ==UserScript==
// @name Moodle 授業絞り込み (時間割枠 常時表示版)
// @namespace https://gist.github.com/Hiryuto-oecu/d02a9233be68fb63328c04b0614b4290
// @version 1.7.0
// @description Moodleのコース一覧で、1限〜5限のアコーディオン枠を常に表示し、現在の時間帯のみ自動展開。集中講義も一番下に常時表示します。
// @author Hiryuto
// @match https://moodle2026.mc2.osakac.ac.jp/2026/my/*
// @grant none
// @run-at document-end
// ==/UserScript==
@Hiryuto-oecu
Hiryuto-oecu / Set Random Lock Screen Wallpaper from a Folder.md
Last active January 24, 2026 09:38
Set Random Lock Screen Wallpaper from a Folder

Set Random Lock Screen Wallpaper from a Folder

This PowerShell script automatically sets a random image from a user-specified folder as the Windows lock screen wallpaper. It uses modern Windows Runtime APIs for robust performance and does not require administrator privileges.

Features

  • No Admin Rights Needed: Runs safely under a standard user account.
  • Random Image Selection: Automatically picks a random image (.jpg, .jpeg, .png) from your chosen folder.
  • Detailed Logging: Creates a log file (LockScreen_Log.txt) in your Documents folder. This file records every step of the process, making it easy to troubleshoot any issues.
  • Path Validation: Checks if the specified image folder exists before attempting to read from it.