This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 現在時取得 | |
$now = Get-Date | |
# CSVファイル名に使う日時。変更しても構いません。時間の表記形式についてはこちら https://learn.microsoft.com/ja-jp/dotnet/standard/base-types/custom-date-and-time-format-strings?view=netframework-4.8 | |
$dateForTitle = $now.ToString("yyyyMMddHHmm") | |
# データベース用日時。notionは標準時しか受け付けないようなのでToUniversalTime()を噛ませ受け入れられる形式に変換する https://www.reddit.com/r/Notion/comments/w5k7b7/import_via_csv_with_date_time/ | |
$formatteddate = $now.ToUniversalTime().ToString("yyyy-MM-dd HH:mm:ss") | |
$promptTitle = "データベース選択" | |
$message = "対象のデータベースを選択してください。" | |
$tChoiceDescription = "System.Management.Automation.Host.ChoiceDescription" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Aozora for iOS Safari | |
// @description | |
// @match https://www.aozora.gr.jp/cards/*/files/* | |
// @version 1.1 | |
// @updateURL https://gist.githubusercontent.com/hakuoku/d0bec1a1992917afcc3376ce488c82fc/raw/aozora_ios_safari.user.js | |
// ==/UserScript== | |
const head = document.head; | |
const body = document.body; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%luaLaTeX文書 | |
\documentclass[tate]{jlreq} | |
\usepackage{luatexja-fontspec} | |
\setmainjfont[BoldFont=IPAexGothic]{IPAexMincho} | |
\usepackage{pxrubrica} | |
\rubysetup{J} | |
\usepackage{newunicodechar} | |
\makeatletter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% upLaTeX文書; 文字コードはUTF-8 | |
\documentclass[uplatex,a5paper]{utarticle} | |
\usepackage[utf8]{inputenc} | |
\usepackage[T1]{fontenc} | |
\usepackage{lmodern} | |
\usepackage{otf}% <?>で自動空白挿入 | |
\usepackage[prefercjkvar]{pxcjkcat} | |
\usepackage{zrjapunct1} | |
\cjkcategory{latn1}{noncjk}% <é>は欧文 | |
\begin{document} |