全体で統一されていればどちらでもよい。
「である調(常体)」の語尾は簡潔で説得力を持っている。
「ですます調(敬体)」は、柔らかく丁寧な印象を与える。
文字数に差が出るので、文字数制限内でよりPRしたければ常体を使うという手もある。
統一しなければならないのは文体に限らず、名詞や動詞においても同じことが言える。
import os | |
import sqlite3 | |
import sys | |
import threading | |
import urllib2 | |
BASEURL = "http://storage.game.starlight-stage.jp" | |
def write_file(dest, data): | |
with open(dest, "w") as fd: |
import base64 | |
import json | |
import msgpack | |
import os | |
import rijndael | |
def new_key(): | |
return base64.b64encode(os.urandom(24)) | |
def clean_udid(s): |
# -*- coding: utf-8 -*- | |
from bs4 import BeautifulSoup | |
import requests | |
username = 'sXXXXXXX' | |
password = 'PASSWORD' | |
print('Signing in to TGWIFI...') |
// ==UserScript== | |
// @name LINE Theme Downloader | |
// @namespace https://twitter.com/A90 | |
// @version 0.1 | |
// @description Add download button to LINE STORE | |
// @author LOZTPX | |
// @match https://store.line.me/themeshop/product/* | |
// @grant none | |
// ==/UserScript== |
<?php | |
/** | |
* PHP API Wrapper for temp-mail.org service | |
* | |
* Copyright (c) 2018 LOZTPX | |
* | |
* | |
* The MIT License (MIT) | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a |
import lz4 | |
import re | |
import StringIO | |
import struct | |
import urllib2 | |
BASEURL = "http://storage.game.starlight-stage.jp" | |
def fetch_res_ver(): | |
response = urllib2.urlopen("https://starlight.kirara.ca/") |
# -*- coding: utf-8 -*- | |
import hashlib | |
import json | |
import requests | |
import random | |
import string | |
class TempMail: |
diff --git a/client.py b/client.py | |
index f832efc..18e44e0 100755 | |
--- a/client.py | |
+++ b/client.py | |
@@ -117,6 +117,7 @@ class Client: | |
""" | |
def __init__(self, *, loop=None, **options): | |
self.ws = None | |
+ self.email = None | |
self.loop = asyncio.get_event_loop() if loop is None else loop |
/* | |
非公式 Twitter アカウント生成 API | |
Twitter も廃れ始め、そろそろ潮時だと考えたため公開します。 | |
某氏が公開した API 1.0 の account/generate のほか、独自に発見した API 1.1 の account/create と | |
認証不要の mobile_client_api/signup もまとめてあります。 | |
何かの役に立つかもしれません。 | |
mobile_client_api/signup については最近テストしていないので、使えないかもしれません。 | |
その場合は情報のみということで。 |