Skip to content

Instantly share code, notes, and snippets.

@yuzuemon
yuzuemon / get_users_order_with_much_post_number_of_times.py
Last active August 29, 2015 14:25
Slackで、特定単語(人名など)の発言回数順に取得するコード
# -*- coding: UTF-8 -*-
from collections
from urllib import request, parse
import json
import sys
argvs = sys.argv
argc = len(argvs)
@yuzuemon
yuzuemon / gist:42a5520504dcb5c364e9
Created September 9, 2014 12:39
textareaでのplaceholder改行したい->ダメでした
<!DOCTYPE html>
<html lang='ja'>
<body>
<!-- ChromeだけOK -->
<textarea id='' name='' cols='30' rows='10' placeholder='ああ&#x000A;あああ'></textarea>
<!-- ダメ -->
<textarea id='' name='' cols='30' rows='10' placeholder="あああ&lt;br&gt;あああ"></textarea>
<!-- ChromeだけOK -->
<textarea id='' name='' cols='30' rows='10' placeholder='ああ
あああ'></textarea>