| name | japanese-manga-style |
|---|---|
| description | 日本の伝統的なマンガスタイルで作画・ページ制作を行うためのガイド。 ユーザーがマンガのコマ、ページ、イラストを日本のマンガの慣習に従って 作成したい場合に使用する。対象領域: 縦書き組版、右綴じ・右→左の読み順、 コマ割り(コマワリ)、吹き出しの慣習、スクリーントーン、効果線、 感情記号、ジャンル別スタイル(少年・少女・青年・女性向け)。 SNS向け単ページ投稿から複数ページのマンガまで対応する。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| A simple proxy server, based on original by gear11: | |
| https://gist.github.com/gear11/8006132 | |
| Modified from original to support both GET and POST, status code passthrough, header and form data passthrough. | |
| Usage: http://hostname:port/p/(URL to be proxied, minus protocol) | |
| For example: http://localhost:5000/p/www.google.com | |
| """ | |
| import re |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /usr/bin/perl | |
| # | |
| # Written in 2017 by Kazuho Oku | |
| # | |
| # To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty. | |
| # You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>. | |
| # | |
| use strict; | |
| use warnings; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python3 | |
| import datetime | |
| import sys | |
| import math | |
| import numpy as np | |
| from argparse import ArgumentParser | |
| from collections import defaultdict | |
| from chainer import FunctionSet, Variable, functions, optimizers |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # | |
| # usage: swift-demangle-filter.py [-h] [-o <outfile>] [<file> <options>] | |
| # | |
| # Read swift assembly, demangle Swift Symbol and output it. | |
| # | |
| # positional arguments: | |
| # <file> <options> If <file> has .swift, compile it with <options>; or read | |
| # (<file> or <stdin>) as assembly. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <? | |
| function hash_value($obj, $keys){ | |
| if(empty($keys)) return $obj; | |
| $key = array_shift($keys); | |
| if(isset($obj[$key])){ | |
| return hash_value($obj[$key], $keys); | |
| }else{ | |
| return ''; | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 前提 | |
| ----------- | |
| - docker 0.9.1 | |
| - lxcを入れること | |
| - linux 3.11で確認。 3.8以上じゃないとだめっぽい。 | |
| - ubuntu image (docker pull ubuntuで取ってきたもので試してみた) | |
| - imageにはpython2を入れておくこと | |
| - /usr/bin/tee がimageにあること |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding:utf-8 -*- | |
| ## why define like a this? | |
| def _get_getter(o, attribute_string): | |
| return lambda : _getter(o, attribute_string) | |
| def _getter(o, attribute_string): | |
| for k in attribute_string.split("."): | |
| o = getattr(o, k) | |
| return o |
NewerOlder