都議会自民党 吉原 修 幹事長 「『自民党らしいけれども どうでしょうか』という話でしたから 『憶測の話で言われても ちょっと私は困ります』と そういう話は申し上げました」
自民党 来代 勝彦 都議 「私はそんなヤジは聞いていない 聞こえなかったですね うちの会派が言ったかも分からないので」
自民党 鈴木 章浩 都議 「私じゃないですよ 分からないと思いますよ ヤジなんていちいち聞いてる人いないですから」
| #!/usr/bin/env python | |
| import argparse | |
| import os | |
| import sys | |
| from PIL import Image, ImageFont, ImageDraw | |
| if __name__ == '__main__': | |
| # argparse | |
| parser = argparse.ArgumentParser(description='HELL YES!') |
| package main | |
| import ( | |
| "fmt" | |
| ) | |
| const ( | |
| 笑 = "笑" | |
| ) |
| <?php | |
| $oee = [" ,, -―-、"," / ヽ"," / ̄ ̄/ /i⌒ヽ、| おぇーー!!!!"," / (゜)/ / /"," / ト、.,../ ,ー-、"," =彳 \\‘゚。、` ヽ。、o"," / \\゚。、。、o"," / /⌒ ヽ ヽU o"," / │ `ヽU ∴l"," │ │ U :l"," |:!"," U"]; | |
| foreach ($oee as $row) { | |
| echo $row, PHP_EOL; | |
| } |
都議会自民党 吉原 修 幹事長 「『自民党らしいけれども どうでしょうか』という話でしたから 『憶測の話で言われても ちょっと私は困ります』と そういう話は申し上げました」
自民党 来代 勝彦 都議 「私はそんなヤジは聞いていない 聞こえなかったですね うちの会派が言ったかも分からないので」
自民党 鈴木 章浩 都議 「私じゃないですよ 分からないと思いますよ ヤジなんていちいち聞いてる人いないですから」
| from django import forms | |
| class ExampleForm(forms.Form): | |
| address = forms.CharField( | |
| widget=forms.TextInput( | |
| attrs={ | |
| 'data-bind': 'value: address, valueUpdate: \'afterkeydown\'' | |
| } | |
| ) |
| def skip_suspicious_operations(record): | |
| u""" | |
| DisallowedHost例外はログに出力しない。 | |
| See: http://stackoverflow.com/questions/15384250/suppress-admin-email-on-django-allowed-hosts-exception/21170400#21170400 | |
| """ | |
| if record.name == 'django.security.DisallowedHost': | |
| return False | |
| return True |
| """ | |
| Basic認証を行うミドルウェア。 | |
| 以下のスニペットをベースにPython3用に書き換えた。 | |
| https://djangosnippets.org/snippets/2468/ | |
| """ | |
| from django.http import HttpResponse | |
| from django.conf import settings | |
| import base64 |
| package main | |
| import ( | |
| "github.com/deckarep/gosx-notifier" | |
| "log" | |
| "math/rand" | |
| "time" | |
| ) | |
| func randInt(min int, max int) int { |
| box: wercker/python | |
| # Build definition | |
| services: | |
| - wercker/postgresql | |
| build: | |
| # The steps that will be executed on build | |
| steps: | |
| # A step that sets up the python virtual environment | |
| - virtualenv: | |
| name: setup virtual environment |
| package main | |
| import ( | |
| "encoding/xml" | |
| "fmt" | |
| "io/ioutil" | |
| "net/http" | |
| ) | |
| type Item struct { |