Skip to content

Instantly share code, notes, and snippets.

Avatar

Takuya Nishimoto nishimotz

View GitHub Profile
@nishimotz
nishimotz / 201230-python.ipynb
Created December 30, 2020 12:08
「アンナほえたワン」を再集計した
View 201230-python.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nishimotz
nishimotz / 200729-tkinter.md
Last active July 29, 2020 09:10
200729-tkinter
View 200729-tkinter.md

tkinter

「お絵描きソフト」を作る

以前やりかけた「お絵描きソフト」を作る準備。

ウィンドウを開いて、マウスで左ボタンを押してドラッグしている間は輪郭が表示されて、ボタンを離すと長方形を塗りつぶす。

@nishimotz
nishimotz / mawari.py
Created July 25, 2020 02:02
まわり将棋 2020-07-25
View mawari.py
# まわり将棋
# 2020-07-25 by nishimotz
import tkinter as tk
import random
class Application(tk.Frame):
def __init__(self, root):
super().__init__(root)
self.root = root
self.root.title("まわり将棋")
@nishimotz
nishimotz / nvdajp-2020-07-0x-report.txt
Created July 1, 2020 11:59
nvdajp-2020-07-0x-report.txt
View nvdajp-2020-07-0x-report.txt
NVDA日本語チーム 活動報告書
作成:2020年7月1日 西本
NVDA日本語チームの2019年度(2019年7月から2020年6月まで)の活動報告および会計報告を記載する。
1. 活動報告
(ア) 本部
・ メール、Skype、Zoomにて役員会を随時開催
・ 2020年1月に運営規約を改定
@nishimotz
nishimotz / pyconhiro-2020-cfp.md
Last active June 28, 2020 05:34
pyconhiro-2020-cfp
View pyconhiro-2020-cfp.md

つながろうPython

ごあいさつ

PyCon mini Hiroshima 2020 は、会場に集まる形式では開催できない可能性があります。

ですが、広島の Python コミュニティは、 PyCon mini Hiroshima 2019 の運営ミーティングをずっとオンラインで行っていました。 2020年3月からは「すごい広島 with Python」という毎月の勉強会も オンライン開催しています。

@nishimotz
nishimotz / 200624-python.ipynb
Last active June 25, 2020 00:27
「アンナほえたワン」を集計してみた
View 200624-python.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nishimotz
nishimotz / pyconhiro-2018-cfp.md
Last active August 29, 2018 04:53
PyCon mini Hiroshima 2018 講演申込フォーム
View pyconhiro-2018-cfp.md

PyCon mini Hiroshima 2018 の講演申込フォームです。

採択された場合はメールアドレス宛にご連絡をして、記載された情報を公開させていただきます。

ただしメールアドレスおよび「公開されません」と記載した項目の内容は公開されません。

テーマ「すごい Python 広島で流行らせよう! 」

開催日: 2018年10月6日(土曜)

@nishimotz
nishimotz / 2017-12-11 そんな広島アドベントカレンダー.md
Last active December 27, 2017 06:24
2017-12-11 そんな広島アドベントカレンダー.md
View 2017-12-11 そんな広島アドベントカレンダー.md

この記事はそんな広島 Advent Calendar 2017の11日目の記事です。

ビックカメラとか蔦屋家電とか新中央改札とか、新しい建物や施設ができてにぎわっている広島駅前ですが、新しいコワーキングスペースができていました。

fabbit広島駅前

広島駅から駅前大橋をわたってすぐの場所です。

12月11日にとりあえず Oneday で利用してみて、よさそうだったので、12月13日にフリー席会員(郵便受けオプションつき)で契約して、平日の昼間はここで仕事をするようになりました。

@nishimotz
nishimotz / index.html
Last active November 11, 2017 23:20
171111 アクセシビリティ検証ツールとしてのNVDA入門 で使ったデモサイト(サーバサイドのコードは一部省略)
View index.html
{% extends "layout.html" %}
{% block content %}
<div class="card">
<img class="card-img-top" src="https://placehold.jp/24/cc9999/993333/318x180.png" alt="商品「スマイル」の写真">
<div class="card-body">
<h2 class="card-text">スマイル 1000円</h2>
<p class="card-text">このサイトは pay.jp のテストモードで動作しています。</p>
</div>
</div>
{% if email is none %}
@nishimotz
nishimotz / a2.rb
Last active July 16, 2017 07:10
170713 「あれ」の例題をやってみた
View a2.rb
# a2.rb
require 'pp'
counts = Hash.new(0)
File.open 'Q2/Q2.txt' do |f|
f.read.scan(/[A-Z]+/) do |w|
#p w
w.each_char do |c|
#puts c
counts[c] += 1
end