勝手にまとめているものです。随時更新中(last update: 2015/05/26)
- 現状、公式の「青空文庫API(サーバ)」はなさそう
- 公式サイトでは作品データのCSVを配布している
- このCSV等を使った「野良APIサーバ」の試みはあった(今もある)
| !~Filename~:! !Moon's -*-TECO-*- Library! | |
| LUNAR | |
| !& Load Airless Environment:! !S This is my init file | |
| It's here so that comments will get compressed. | |
| Argument is a string which is the user name! | |
| !* process job command line ! | |
| hk fj 0,0a-3"E -d' !* remove ^C at end if any! | |
| 0,-1a-15."E -2d' !* remove crlf at end if any.! |
| PHP 7.1.0alpha1 (cli) (built: Jun 28 2016 12:53:16) ( NTS ) | |
| Copyright (c) 1997-2016 The PHP Group | |
| Zend Engine v3.1.0-dev, Copyright (c) 1998-2016 Zend Technologies | |
| with Zend OPcache v7.1.0alpha1, Copyright (c) 1999-2016, by Zend Technologies | |
| simple 0.037 | |
| simplecall 0.011 | |
| simpleucall 0.034 | |
| simpleudcall 0.037 | |
| mandel 0.140 |
| <?php | |
| function test($init, $key = 'a') | |
| { | |
| $var = $init; | |
| $var[$key] = 1; | |
| echo var_export($init, true), ': ', is_array($var) ? 1 : 0, "\n"; | |
| } | |
| test(null); // OK |
| <?php | |
| /** | |
| * @copyright 2015 pixiv Inc. | |
| * @license http://creativecommons.org/publicdomain/zero/1.0/legalcode CC0-1.0 | |
| */ | |
| final class AppRunnerSample | |
| { | |
| public static function execute(ControllerTypeBInterface $controller) | |
| { |
| #!/usr/bin/env php | |
| <?php | |
| /** | |
| * phpnet_version_parse.php | |
| * | |
| * @author USAMI Kenta <[email protected]> | |
| * @copyright 2015 USAMI Kenta | |
| * @license http://www.apache.org/licenses/LICENSE-2.0 Apache-2.0 | |
| */ |
| #! ./ruby -I.ext/x86_64-darwin14 --disable-gems | |
| require '-test-/iseq_load/iseq_load' | |
| def double(&block) | |
| iseq_data_magic_index = 0 | |
| iseq_data_major_version_index = 1 | |
| iseq_data_minor_version_index = 2 | |
| iseq_data_format_type_index = 3 | |
| iseq_data_misc_index = 4 | |
| iseq_data_label_index = 5 |
| #!/sbin/guile \ | |
| -l ./file-utils.scm -l ./std-io.scm -s | |
| !# | |
| (use-modules (srfi srfi-8)) | |
| (use-modules (std io)) | |
| (use-modules (file util)) | |
| (println (current-directory)) | |
| (println (home-directory)) | |
| (println (absolute-path? (home-directory))) |
新社会人に必須である: