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 | |
# フォルダ内のすべてのファイルを探索して、内容をフォーマットする関数 | |
def crawl_and_output(directory, output_file, exclude_patterns): | |
if not os.path.isabs(directory): | |
print(f"Error: '{directory}' is not an absolute path.") | |
return | |
if not os.path.exists(directory): |
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 pyperclip | |
import time | |
# 前回のクリップボードの内容を保存する変数 | |
previous_text = "" | |
import requests | |
import io | |
import soundfile | |
import sounddevice as sd |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<opml version="2.0"> | |
<head> | |
<title>Feeds</title> | |
</head> | |
<body> | |
<outline htmlUrl="https://www.bcnretail.com/" xmlUrl="https://www.bcnretail.com/RSS.rdf" type="rss" text="BCN+R" title="BCN+R" /> | |
<outline type="rss" text="Menthas #all" htmlUrl="https://menthas.com" title="Menthas #all" xmlUrl="https://menthas.com/all/rss" /> | |
<outline htmlUrl="https://b.hatena.ne.jp/hotentry/it" xmlUrl="https://b.hatena.ne.jp/hotentry/it.rss" title="はてなブックマーク - 人気エントリー - テクノロジー" text="はてなブックマーク - 人気エントリー - テクノロジー" type="rss" /> | |
<outline xmlUrl="https://b.hatena.ne.jp/hotentry.rss" htmlUrl="https://b.hatena.ne.jp/hotentry/all" type="rss" text="はてなブックマーク - 人気エントリー - 総合" title="はてなブックマーク - 人気エントリー - 総合" /> |
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
@REM Kindle for PC の電子書籍を epub に変換するスクリプト | |
@REM Kindle ⇨ Calibre に移動(コピー) | |
for /r "%HOMEPATH%\Documents\MyKindleContent" %%f in (*.azw) do ( | |
echo %%f | |
"C:\Program Files\Calibre2\calibredb.exe" add "%%f" | |
) | |
@REM Calibre の電子書籍(azw3)を EPUB に変換 | |
for /r "%HOMEPATH%\CalibreLibrary" %%f in (*.azw3) do ( |
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
https://www.reddit.com/r/anime+anime_irl+animegifs+Animemes+chromeos+CrappyDesign+csharp+DDLC+dokusyo_syoseki_r+ExpandDong+FifthWorldPics+gameofthrones+hearthstone+HistoryMemes+itsaunixsystem+japancirclejerk+KizunaA_Irl+Lain+linuxmasterrace+MachineLearning+manga+maybemaybemaybe+neuralnetworks+philo_jp+privacy+ProgrammerHumor+rickandmorty+RoomPorn+shittyreactiongifs+softwaregore+unixporn+vim |
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
{"open.closed":"true","options.font_color":"#fbf1c7","options.theme":"Midnight","open.unfiled_____":"true","options.background_color":"#282828","open.menu________":"true","open.top":"true"} |
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
#/bin/bash | |
# Kindle for Mac の電子書籍を epub に変換するスクリプト | |
# 参考 https://qiita.com/mgoldchild/items/165f63bc2e006c81bf58 | |
# 'brew cask install calibre' でインストール推奨 | |
IFS=$'\n' |
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
backup |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
//include | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
//global | |
int loop, i, j, k, main_command_number, search_number, change_command_number; | |
int replace_id, replace_shiken, replace_enshu, replace_kadai, replace_tsuishi; | |
int delete_place; | |
int result_command; |
NewerOlder