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
package main | |
import ( | |
"archive/zip" | |
"archive/tar" | |
"compress/gzip" | |
//"compress/bzip2" // bzip2 package of standard library in Go 1.16 has no compression ability. | |
"github.com/dsnet/compress/bzip2" | |
"fmt" | |
"io" |
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
package main | |
import ( | |
"os" | |
"io" | |
"io/fs" | |
"fmt" | |
"log" | |
"time" | |
"bytes" |
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
# -*- coding: utf-8 -*- | |
# (C) Copyright 2022 hhsprings, https://github.com/hhsprings | |
# SPDX-License-Identifier: MIT | |
import io | |
import os | |
import sys | |
import shutil | |
import re | |
import urllib.request | |
from collections import defaultdict |
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
# -*- coding: utf-8 -*- | |
""" | |
using VOICEVOX Engine on docker | |
https://github.com/VOICEVOX/voicevox_engine#docker-%E3%82%A4%E3%83%A1%E3%83%BC%E3%82%B8 | |
""" | |
import io | |
import os | |
import json | |
import base64 | |
import urllib |
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
# -*- coding: utf-8 -*- | |
from __future__ import unicode_literals | |
from __future__ import print_function | |
import io | |
import os | |
import re | |
import sys | |
import subprocess | |
import tempfile |
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
# | |
ARG _BUILDPACKDEPS_TAG=22.04 | |
FROM hhsprings/buildpack-deps-plus:latest-from-${_BUILDPACKDEPS_TAG} | |
ARG _FFMPEG_VERSION=4.4.2 | |
ARG _OPENCV_VERSION=3.4.15 | |
ARG _PREFIX=/usr/local | |
ARG _FFMPEG_EXTRA_VERSION_SUFFIX=hhsprings0.1 | |
ARG __APT_Y="-yq --no-install-recommends" | |
# | |
WORKDIR /tmp/build |
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
# -*- coding: utf-8 -*- | |
import io | |
import json | |
import re | |
import sys | |
import os | |
from urllib.request import urlretrieve | |
from urllib.request import unquote, quote | |
import bs4 |
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
# -*- coding: utf-8 -*- | |
from __future__ import print_function | |
from __future__ import unicode_literals | |
import os | |
import sys | |
import pipes | |
import re | |
import psutil # pip install psutil |
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
#! py -3 | |
# -*- coding: utf-8 -*- | |
from __future__ import unicode_literals | |
import io | |
import sys | |
import subprocess | |
import pipes | |
import os | |
import re |
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
# -*- coding: utf-8 -*- | |
from __future__ import unicode_literals | |
import sys | |
import re | |
import time | |
import operator | |
import functools |
NewerOlder