Skip to content

Instantly share code, notes, and snippets.

View 1021ky's full-sized avatar
🙆
On vacation

keisuke yamanaka 1021ky

🙆
On vacation
View GitHub Profile
@1021ky
1021ky / fizzbuzz.py
Last active October 9, 2023 21:36
fizzbuzz.py
"""fizzbuzz
https://gist.github.com/kazuho/3300555 のようにPythonでif文を使わずにFizzBuzzを実装したもの
doctest実行するときは`python -m doctest fizzbuzz.py -v`
"""
from itertools import cycle
from collections.abc import Iterator
fizz = cycle(["", "", "Fizz"])
@1021ky
1021ky / vscode-extention-list.txt
Created March 17, 2020 04:30
vscode-extention-list
code --install-extension christian-kohler.path-intellisense
code --install-extension CoenraadS.bracket-pair-colorizer-2
code --install-extension DavidAnson.vscode-markdownlint
code --install-extension donjayamanne.githistory
code --install-extension eamodio.gitlens
code --install-extension googlecloudtools.cloudcode
code --install-extension GrapeCity.gc-excelviewer
code --install-extension HookyQR.beautify
code --install-extension IBM.output-colorizer
code --install-extension ICS.japanese-proofreading
{
"Blog Snippet": {
"scope": "markdown",
"prefix": "blogsnippet",
"body": [
"# ${1:title}",
"",
"## ${2:サマリ}",
"$0",
"* ${3:背景}",
@1021ky
1021ky / Swagger Editorで生成されたコード.py
Created June 25, 2019 22:30
openBD APIの仕様をOpenAPIで書いたもの
# coding: utf-8
"""
openBD API
[openBDプロジェクト(カーリル・版元ドットコム)](https://openbd.jp)によって提供される書誌情報・書影を、だれでも自由に使える、高速なAPI. # noqa: E501
OpenAPI spec version: 1.0.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""