This file contains 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
<?php | |
/** | |
* @copyright 2022 Masaru Yamagishi | |
* @license CC-BY-4.0 | |
* @link https://fortee.jp/phpcon-2022/proposal/51f66d0e-5bae-4902-bb63-89700407204a | |
* @link https://docs.google.com/presentation/d/11NCgOhSF3ZB1Kea8VD4TW9qghQjxSZwm4-IOIP2x-aQ/edit#slide=id.p | |
*/ | |
declare(strict_types=1); |
This file contains 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
// typed and descripted by MDN https://developer.mozilla.org/en-US/docs/Web/API/AudioEncoder | |
/** | |
* An object containing the following members: | |
*/ | |
interface EncodedAudioChunkInit { | |
/** | |
* Indicates if the chunk is a key chunk that does not rely on other frames for encoding. | |
*/ | |
readonly type: 'key' | 'delta'; |
This file contains 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
FROM debian:buster | |
# @link https://github.com/nodejs/docker-node/blob/fdf244039755aead02405a0c27336f225d402d1f/15/buster/Dockerfile | |
RUN groupadd --gid 1000 node \ | |
&& useradd --uid 1000 --gid node --shell /bin/bash --create-home node | |
ENV NODE_VERSION 15.7.0 | |
RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \ |
This file contains 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
import { BoxBuilder } from '@babylonjs/core/Meshes/Builders/boxBuilder' | |
import { Camera } from '@babylonjs/core/Cameras/camera' | |
import { CapsuleBuilder } from '@babylonjs/core/Meshes/Builders/capsuleBuilder' | |
import { CascadedShadowGenerator } from '@babylonjs/core/Lights/Shadows/cascadedShadowGenerator' | |
import { Color3 } from '@babylonjs/core/Maths/math.color' | |
import { CubeTexture } from '@babylonjs/core/Materials/Textures/cubeTexture' | |
import { DirectionalLight } from '@babylonjs/core/Lights/directionalLight' | |
import { Engine } from '@babylonjs/core/Engines/engine' | |
import { EngineOptions } from '@babylonjs/core/Engines/thinEngine' | |
import { FreeCamera } from '@babylonjs/core/Cameras/freeCamera' |
This file contains 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
{ | |
"paddingVertical": "21px", | |
"paddingHorizontal": "48px", | |
"marginVertical": "45px", | |
"marginHorizontal": "45px", | |
"backgroundImage": null, | |
"backgroundImageSelection": null, | |
"backgroundMode": "color", | |
"backgroundColor": "rgba(31,129,109,0)", | |
"dropShadow": true, |
This file contains 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
<?php declare(strict_types = 1); | |
interface HasIdentifier | |
{ | |
public function getId(): int; | |
} | |
interface HasName | |
{ | |
public function getName(): string; |
This file contains 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
export interface JeelizFaceFilterInitVideoSettings { | |
videoElement?: HTMLVideoElement; | |
deviceId?: string; | |
facingMode?: string; | |
idealWidth?: number; | |
idealHeight?: number; | |
minWidth?: number; | |
maxWidth?: number; | |
minHeight?: number; | |
maxHeight?: number; |
This file contains 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
================================ | |
=== amazonlinux:2.0.20190228 === | |
================================ | |
$ docker run --rm -it amazonlinux:2.0.20190228 /bin/bash -c "set -x; date && TZ=Asia/Tokyo date" | |
+ date | |
Mon Apr 8 00:32:09 UTC 2019 | |
+ TZ=Asia/Tokyo | |
+ date | |
Mon Apr 8 09:32:09 JST 2019 |
This file contains 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
/** | |
* Slack Outgoing Webhook を利用して Google Compute Engine を操作するスクリプトです。 | |
* | |
* Google Cloud Functions で利用されることを想定しています。 | |
* | |
* @author Masaru Yamagishi <m-yamagishi@infiniteloop.co.jp> | |
* @copyright MIT | |
*/ | |
const TOKEN = 'xxxxx' // Slack Outgoing Webhook Token |
This file contains 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
<div class="container" id="content_top"> | |
<form action="/protect.knowledge/update" method="post" role="form" id="knowledgeForm" enctype="multipart/form-data"> | |
<div class="form-inline"> | |
<!-- info --> | |
<div class="form-group"> | |
<p class="form-control-static">Knowledgeを更新 : <i class="fa fa-key"></i> 2892 / <i class="fa fa-calendar"></i> 2016/10/11 9:29</p> | |
</div> | |
</div> |