Skip to content

Instantly share code, notes, and snippets.

@shimesaba-type0
shimesaba-type0 / rvc-webui_train_sample.md
Last active June 4, 2023 02:44
ddPn08 さんのリポジトリを使って音声を学習させる

目的

備忘録

今回のサンプル音源

青空文庫さんから利用させていただきました。ただ、商用利用は避けたほうがいいと思います。あと、SNS に流すのもできるだけ避けたほうがいいと思います。

https://aozoraroudoku.jp/

@ser0ja
ser0ja / ANSI.md
Created May 25, 2022 15:08 — forked from fnky/ANSI.md
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@trumad
trumad / tradingViewMultipleWindows.py
Last active September 11, 2023 12:10
See multiple tradingview windows side by side, hopefully without ads and popups.
# First install webview:
# pip install pywebview
# Then create a config.json file in the same folder with the following options:
"""
{
"content":[
{
"exchange":"Bitstamp",
"ticker":"BTCUSD",
@hkucuk
hkucuk / pywebview_flask_sample.py
Created July 16, 2019 20:07
PyWebView Flask Sample
from flask import Flask
import webview
import sys
import threading
app = Flask(__name__)
@app.route('/')
def hello_world():
return 'Hello World!'
@hkucuk
hkucuk / pywebview_open_file_dialog_sample.py
Created July 16, 2019 20:05
PyWebView Open File Dialog Sample
import webview
import base64
def open_file_dialog(window):
file_types = ('Image Files (*.bmp;*.jpg;*.gif;*.png)',
'All files (*.*)')
path = window.create_file_dialog(webview.OPEN_DIALOG,
allow_multiple=False,
file_types=file_types)
@evgeniyp
evgeniyp / gist:e2e6842e7c84881d7611869482c0c930
Created August 11, 2017 11:58
PokerStars hand history example
PokerStars Hand #174088855475: Hold'em No Limit (50/100) - 2017/08/08 23:16:30 MSK [2017/08/08 16:16:30 ET]
Table 'Euphemia II' 6-max (Play Money) Seat #3 is the button
Seat 1: adevlupec (53368 in chips)
Seat 2: Dette32 (10845 in chips)
Seat 3: Drug08 (9686 in chips)
Seat 4: FluffyStutt (11326 in chips)
FluffyStutt: posts small blind 50
adevlupec: posts big blind 100
*** HOLE CARDS ***
Dealt to FluffyStutt [2h Ks]
@ko31
ko31 / command.sh
Last active January 17, 2023 11:21
XServer に Vim をインストールする
# ncurses をインストール
mkdir ~/opt && cd $_
wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.1.tar.gz
tar zxfv ncurses-6.1.tar.gz
cd ncurses-6.1
./configure --prefix=$HOME/local
make
make install
# Vim をインストール
@iktakahiro
iktakahiro / server4spa.py
Last active January 15, 2025 08:53
Python3 http.server for Single Page Application
#!/usr/bin/env python
# Inspired by https://gist.github.com/jtangelder/e445e9a7f5e31c220be6
# Python3 http.server for Single Page Application
import urllib.parse
import http.server
import socketserver
import re
from pathlib import Path
@iamnewton
iamnewton / bash-colors.md
Last active May 2, 2025 13:25
The entire table of ANSI color codes.

Regular Colors

Value Color
\e[0;30m Black
\e[0;31m Red
\e[0;32m Green
\e[0;33m Yellow
\e[0;34m Blue
\e[0;35m Purple
@itsmattsoria
itsmattsoria / gistfil1.textile
Last active March 7, 2025 05:12
Mac Terminal Cheat Sheet

SHORTCUTS

Key/Command Description
Tab Auto-complete files and folder names
Ctrl + A Go to the beginning of the line you are currently typing on
Ctrl + E Go to the end of the line you are currently typing on
Ctrl + U Clear the line before the cursor
Ctrl + K Clear the line after the cursor
Ctrl + W Delete the word before the cursor
Ctrl + T Swap the last two characters before the cursor