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
# ***** 設定 ***** | |
# 変更するフォント名 | |
font = 'Meiryo' | |
# Creative Cloud のパス | |
cc_path = r'C:\Program Files\Adobe\Adobe Creative Cloud' | |
# ***** 設定ここまで ***** |
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
# import | |
import argparse | |
import chardet | |
import os | |
import re | |
import statistics | |
import sys | |
import xmltodict | |
import matplotlib.pyplot as plt |
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
<?php | |
namespace App; | |
use Illuminate\Database\Eloquent\Model; | |
class ConvertDate extends Model | |
{ | |
// 西暦を和暦に変換する |
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
# import | |
import os | |
import sys | |
import json | |
import argparse | |
import requests | |
from pprint import pprint | |
from bs4 import BeautifulSoup |
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
# TVTest で取得した局ロゴを (ONID)(SID).bmp のようなファイル名にリネームするツール | |
import os | |
import glob | |
import shutil | |
import configparser | |
# ********** 設定 ********** |
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
@echo off | |
rem // 開発者コマンドプロンプトの起動 | |
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\Tools\VsDevCmd.bat" | |
cd /d %~dp0 | |
rem // EDCB 本体のビルド | |
cd %~dp0\EDCB\Document | |
MSBuild EDCB_ALL.VS2015.sln /t:Build /p:Configuration=Release;Platform=x64;PlatformToolset=v142 |
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
@echo off | |
rem // 開発者コマンドプロンプトの起動 | |
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\Tools\VsDevCmd.bat" | |
cd /d %~dp0 | |
rem // LibISDB のビルド | |
cd %~dp0\TVTest\src\LibISDB\Projects | |
MSBuild LibISDB.sln /t:Build /p:Configuration=Release;Platform=x64;PlatformToolset=v142 |
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
import os | |
import sys | |
import glob | |
import plistlib | |
# パス | |
profile_folders = { | |
'mojimo-manga': os.environ['USERPROFILE'].replace('\\', '/') + '/Documents/mojimo-manga_profile', | |
'mojimo-livelite': os.environ['USERPROFILE'].replace('\\', '/') + '/Documents/mojimo-livelite_profile', |
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
import os | |
import shutil | |
import xmltodict | |
from glob import glob | |
from pathlib import Path | |
# パス | |
typekit_xml_path = Path(os.environ['APPDATA'].replace('\\', '/') + '/Adobe/CoreSync/plugins/livetype/c/entitlements.xml') | |
typekit_font_folder = Path(os.environ['APPDATA'].replace('\\', '/') + '/Adobe/CoreSync/plugins/livetype/r') |
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
@echo off | |
python %~dp0\VSCodeUIFontChanger.py |