These files have been moved.
View gist:805326
// iTextSharp: http://itextpdf.com/ | |
// reference: http://www.vbforums.com/showthread.php?t=530736 | |
void ExtractJpeg(string file) | |
{ | |
var dir1 = Path.GetDirectoryName(file); | |
var fn = Path.GetFileNameWithoutExtension(file); | |
var dir2 = Path.Combine(dir1, fn); | |
if (!Directory.Exists(dir2)) Directory.CreateDirectory(dir2); |
View GGellMann.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View speech.html
# 音声設定 | |
音声の再生は環境に依存します。以下に選択肢が出ない言語は再生できません。 | |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/7shi/web-tts@0.8.1/speech.min.css"> | |
<script src="https://cdn.jsdelivr.net/gh/7shi/web-tts@0.8.1/speech.min.js"></script> | |
<table id="voice_table"></table> | |
<script> | |
webTTS.initVoices({ | |
ja: { name: "日本語", test: "こんにちは", pitch: 1 }, |
View index.html
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>File Save Test</title> | |
</head> | |
<body> | |
<div id="result"></div> | |
<script src="test.js"></script> | |
</body> | |
</html> |
View Novial.tsv
novial | English | Deutsch | français | 日本語 | |
---|---|---|---|---|---|
a | at | an | proche | で | |
abatial | abbatial | abteilich | abbatial | ||
abdikatione | abdication | Verzicht | abdication | 退位 | |
abdomene | belly | Bauch | ventre | 腹 | |
abele | bee | Biene | abeille | ハチ | |
abiete | fir | Tanne | sapin | 樅の木 | |
abjuratione | abjuration | Abschwörung | abjuration | ||
abolio | abolishment | Abschaffung | abolition | 廃止 | |
abolitione | abolishment | Abschaffung | abolition | 廃止 |
View fsc.fsx
open System | |
open System.IO | |
let args = Environment.GetCommandLineArgs() | |
let text = File.ReadAllText(args.[1].[1..]) | |
File.WriteAllText("/home/xxx/log", text) |
View README.md
This file has been moved.
View README.md
This file has been moved.
View wintts.py
import getopt, sys, win32com.client | |
options = "lo:v:r:i:ps:" | |
def usage(): | |
print("[usage] %s -l | [-o] [-v] [-r] (-i | -p | -s | text)" % sys.argv[0]) | |
print(" -l language: case insensitive, begins-with match") | |
print(" -o output.wav") | |
print(" -v voice: case insensitive, 'Microsoft' can be dropped.") | |
print(" -r rate: -10 (slow) ... 10 (fast)") | |
print(" -i input.txt") |
NewerOlder