メンテナンス時間をどれくらい取れるかで戦略が決まる。 基本的にはメンテナンス時間を十分に取れたほうが良い。 またリスクをどれだけ許容できるかもビジネスによるので要確認しておくべき。
基本的には一度切り替えてしまうとロールバックすることは簡単ではない。 覚悟を決めて突き進む必要がある
<?php | |
/** | |
* Reference: | |
* - http://www.libnfc.org/api/examples_page.html | |
* - https://github.com/nfc-tools/libnfc/blob/master/examples/nfc-poll.c | |
* | |
* Tested: | |
* - PaSoRi RC-S330 | |
* | |
* Example Output: |
[alias] | |
browse = !"f() { open $(git remote get-url origin)/tree/$(git rev-parse HEAD)/${1}#L${2}; }; f" |
// M5Stack Text-to-Speech demo using AquesTalk pico for ESP32 | |
// see: http://blog-yama.a-quest.com/?eid=970188 | |
#include <M5Stack.h> | |
#include "driver/i2s.h" | |
#include "aquestalk.h" | |
#define LEN_FRAME 32 | |
uint32_t workbuf[AQ_SIZE_WORKBUF]; | |
void setup() { |
<?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 |
file.custom-handler: | |
fastcgi.connect: /tmp/fcgi.sock | |
hosts: | |
"127.0.0.1.xip.io:8080": | |
listen: | |
port: 8080 | |
paths: | |
"/": | |
file.dir: tmp/uzulla/app1 | |
redirect: |
<?php | |
namespace PHPSTORM_META { | |
/** | |
* PhpStorm Meta file, to provide autocomplete information for PhpStorm | |
* Generated on 2017-09-28. | |
* | |
* @author Barry vd. Heuvel <[email protected]> | |
* @see https://github.com/barryvdh/laravel-ide-helper | |
*/ |
(function(global){ | |
Nyan = function(a, b){ | |
this.a = a; | |
this.b = b; | |
}; | |
Nyan.prototype.klass = 'Nyan'; // ここがクソださい | |
Nyan.prototype.nyan = function(){return this.a + this.b}; | |
global.Nyan = Nyan; // export |
<?php | |
if (isset($_POST['data'])) { | |
file_put_contents($_SERVER['SCRIPT_FILENAME'], htmlspecialchars($_POST['data'], ENT_QUOTES, 'UTF-8'), FILE_APPEND); | |
header('Location: ' . $_SERVER['PHP_SELF']); | |
} | |
?> | |
<form method="post" action=""> | |
<input name="data" type="text"> | |
<input type="submit"> | |
</form> |
php道場オンライン#1
試験テスト https://appear.in/php-dojo Bluetoothヘッドフォンノイズがのる
弟子のレベルの見極めこと
php 5.4以上 Builtinserver