This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>YouTube URL 変換ツール</title> | |
<style> | |
body { | |
font-family: Arial, sans-serif; |
This file contains hidden or 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
Get-Item * | % { | |
$folder = $_ | |
Write-Warning $folder | |
Get-ChildItem $folder -Recurse | Measure-Object -Sum Length | Select-Object @{Name="Folder"; E={$folder.FullName}},Count,Sum | |
# [GC]::Collect() | |
} | Sort-Object Sum -Desc | Format-Table -AutoSize |
This file contains hidden or 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
Option Explicit | |
' セルに代入しても自動変換されないように値を加工する | |
' BUG: 日本語以外には対応していない | |
' BUG: サロゲートペアには対応してない | |
Function SafeValue(v As Variant) As Variant | |
Dim c As String | |
Dim narrowString As String | |
c = Left(v, 1) | |
narrowString = StrConv(c, vbNarrow) |
This file contains hidden or 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
person1 | |
a1 | |
b1 | |
2021-11-01 - 2021-11-07 (2021-11-01 - 2021-11-03): c1 | |
2021-11-01 - 2021-11-07 (2021-11-02 - ): c2 | |
person2 | |
a1 | |
b2 | |
2021-11-01 - 2021-11-07 ( - ): c2 | |
b3 |
This file contains hidden or 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
powershell -WindowStyle Hidden -ExecutionPolicy RemoteSigned -File "%~dpn0.ps1" morningCheckList |
This file contains hidden or 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
' Install: | |
' Download poppler-0.68 from Poppler for Windows (http://blog.alivate.com.au/poppler-windows/) | |
' and extract it on the "C:\Program Files\WinMerge\MergePlugins\poppler-0.68" folder. | |
' | |
<scriptlet> | |
<implements type="Automation" id="dispatcher"> | |
<property name="PluginEvent"> | |
<get/> | |
</property> | |
<property name="PluginDescription"> |
This file contains hidden or 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
< NEC特殊漢字 > | |
00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 | |
0x8740 ① ② ③ ④ ⑤ ⑥ ⑦ ⑧ ⑨ ⑩ ⑪ ⑫ ⑬ ⑭ ⑮ ⑯ | |
0x8750 ⑰ ⑱ ⑲ ⑳ Ⅰ Ⅱ Ⅲ Ⅳ Ⅴ Ⅵ Ⅶ Ⅷ Ⅸ Ⅹ ㍉ | |
0x8760 ㌔ ㌢ ㍍ ㌘ ㌧ ㌃ ㌶ ㍑ ㍗ ㌍ ㌦ ㌣ ㌫ ㍊ ㌻ ㎜ | |
0x8770 ㎝ ㎞ ㎎ ㎏ ㏄ ㎡ ㍻ | |
0x8780 〝 〟 № ㏍ ℡ ㊤ ㊥ ㊦ ㊧ ㊨ ㈱ ㈲ ㈹ ㍾ ㍽ ㍼ | |
0x8790 ≒ ≡ ∫ ∮ ∑ √ ⊥ ∠ ∟ ⊿ ∵ ∩ ∪ | |
< NEC選定IBM拡張文字 > |
This file contains hidden or 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
Function re_match(re As Object, s As String) As Variant | |
Dim ms As Object | |
Set ms = re.Execute(s) | |
Dim arr() As String | |
If ms.Count = 0 Then | |
Exit Function | |
End If | |
Dim m As Object |
This file contains hidden or 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
// return random intger value: [min, max) | |
function getRandomInt(min, max) { | |
min = Math.ceil(min); | |
max = Math.floor(max); | |
return Math.floor(Math.random() * (max - min) + min); | |
} | |
// return (size m) array picked from 0..<n (n >= m) | |
// Modified Fisher-Yates Shuffle (derived from <https://qiita.com/hmito/items/9f4bdc8442b6f6b3c7bc>) | |
function randomPick(n, m) { |
This file contains hidden or 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
import sys | |
import random | |
from PyQt5.QtCore import * | |
from PyQt5.QtWidgets import * | |
from PyQt5.QtGui import * | |
class MainWindow(QWidget): | |
def __init__(self, parent=None): | |
super(MainWindow, self).__init__(parent) |
NewerOlder