- Django + Django Ninja がおすすめ
- 公式:
- FastAPI
define :one do | |
8.times do | |
play (scale :e3, :harmonic_minor).tick, release: 0.1 | |
sleep 0.125 | |
end | |
8.times do | |
play (scale :d4, :harmonic_minor).tick, release: 0.1 | |
sleep 0.125 | |
end | |
8.times do |
d = { | |
"success": True, | |
"calendars": [ | |
{ | |
"id": 123, | |
"year": 2014, | |
"months": [ | |
{ | |
"id": 50, | |
"monthnumber": 1, |
""" | |
- https://speakerdeck.com/anatoo/phpdexue-buvmxing-zheng-gui-biao-xian-enzinfalseshi-zu-mi | |
- http://blog.asial.co.jp/1221 | |
""" | |
import copy | |
class RegexVMThread(object): | |
def __init__(self): | |
self.string_pointer = 0 |
# -*- coding: utf-8 -*- | |
def parse_input_string(strs): | |
import shlex | |
parsed = shlex.split(cmd) | |
print(parsed) | |
return parsed | |
cmd = 'hoge | moge 1 | insert_delimiter ! | whitespace' | |
parsed = parse_input_string(cmd) |
--- | |
- hosts: 127.0.0.1 | |
connection: local | |
user: (user) | |
vars: | |
tmpdir: "/Users/(user)/tmpfile/python" | |
name: "Python" | |
version: "3.4.0" | |
tasks: | |
- name: "make dir" |
#!/usr/bin/env python | |
# coding: utf-8 | |
import sys | |
import socket | |
HOST = 'localhost' | |
PORT = 50007 | |
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
s.connect((HOST, PORT)) |
>>> import this | |
The Zen of Python, by Tim Peters | |
Beautiful is better than ugly. | |
Explicit is better than implicit. | |
Simple is better than complex. | |
Complex is better than complicated. | |
Flat is better than nested. | |
Sparse is better than dense. | |
Readability counts. |
// ==UserScript== | |
// @name auto page more load for toggeter | |
// @description Togetterの続きを読むを自動的に表示する | |
// @include http://togetter.com/li/* | |
// @namespace http://twitter.com/altnight | |
// @author altnight | |
// @version 0.0.1 | |
// ==/UserScript== | |
(function(){ | |
//「続きを読む」の要素を取ってくる |