$ gunicorn main:app
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
Please see `shorcuts.py` |
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
""" | |
Copyright 2023 attakei | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 | |
Unless required by applicable law or agreed to in writing, software |
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
// ==UserScript== | |
// @name Hide sidebar | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Hide sidebar of Twitter | |
// @author attakei | |
// @match https://twitter.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=twitter.com | |
// @grant none | |
// ==/UserScript== |
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
<html> | |
<head> | |
<script defer src="https://pyscript.net/alpha/pyscript.js"></script> | |
<py-env> | |
- docutils | |
- BeautifulSoup4 | |
</py-env> | |
<py-script output="output"> | |
from bs4 import BeautifulSoup | |
from docutils.core import publish_string |
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
from typing import Optional | |
from docutils import nodes | |
from sphinx.application import Sphinx | |
from sphinx.locale import admonitionlabels | |
from sphinx.writers.html5 import HTML5Translator | |
def visit_admonition(name: Optional[str] = None): | |
class_ = "message" if name is None else f"message is-{name}" |
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
# Maintainer: Your Name <youremail@domain.com> | |
pkgname=gh-bin | |
pkgver=2.3.0 | |
pkgrel=1 | |
epoch= | |
pkgdesc="GitHub’s official command line tool (private AUR for install from binary)" | |
arch=('x86_64') | |
url="https://github.com/cli/cli/tree/v2.3.0" | |
license=('MIT') | |
groups=() |
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
#!/usr/bin/env python | |
import re | |
import sys | |
from pathlib import Path | |
VALID_TYPES = [ | |
# Rule 1 and 2. | |
"feat", "fix", | |
# Rule 4.(Optional) |
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
project = 'sphinx-revealjs-issue' | |
copyright = '2021, Kazuya Takei' | |
author = 'Kazuya Takei' | |
release = '2021.2.28' | |
extensions = [ | |
'sphinx.ext.todo', | |
'sphinx_revealjs', | |
] | |
templates_path = ['_templates'] |
7/10にバンダイナムコアーツがリリースした、サービスMixBoxをヘッドレスモードのGoogleChromeで呼びます。 再生開始まで行い、それ以上のことはしません。
MixBoxは こちら
NewerOlder