Skip to content

Instantly share code, notes, and snippets.

View uzulla's full-sized avatar
🚧
WORK,WORK,WORK.

uzulla / Junichi Ishida uzulla

🚧
WORK,WORK,WORK.
View GitHub Profile
@soudai
soudai / mysql57to8.md
Last active December 21, 2023 00:18
MySQL 5.7 to 8 check list

確認すること

メンテナンス時間をどれくらい取れるかで戦略が決まる。 基本的にはメンテナンス時間を十分に取れたほうが良い。 またリスクをどれだけ許容できるかもビジネスによるので要確認しておくべき。

基本的には一度切り替えてしまうとロールバックすることは簡単ではない。 覚悟を決めて突き進む必要がある

@m3m0r7
m3m0r7 / nfc-cardreader-example-written-in-php.php
Created October 8, 2021 06:06
Example for using libnfc with written in PHP
<?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:
@sugamasao
sugamasao / .gitconfig
Last active April 23, 2020 03:42
git browse foo/bar.txt 10 でGitHubのリポジトリ開くくん
[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:
@barryvdh
barryvdh / .phpstorm.meta.php
Last active October 20, 2021 22:16
Laravel PhpStorm Meta file
<?php
namespace PHPSTORM_META {
/**
* PhpStorm Meta file, to provide autocomplete information for PhpStorm
* Generated on 2017-09-28.
*
* @author Barry vd. Heuvel <barryvdh@gmail.com>
* @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
@ryo-utsunomiya
ryo-utsunomiya / bbs.php
Last active August 29, 2015 14:06
最低限文化的な掲示板
<?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