View .bashrc
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
# Forked from the Ubuntu 22.04 /etc/skel folder | |
# If not running interactively, don't do anything | |
case $- in | |
*i*) ;; | |
*) return;; | |
esac | |
# don't put duplicate lines or lines starting with space in the history. | |
# See bash(1) for more options |
View swagit.php
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 | |
// ------------------------------------------------------------------------------------- | |
// Add your JSON in the $input to generate Swagger-PHP annotation | |
// Inspired by: https://github.com/Roger13/SwagDefGen | |
// HOWTO: | |
// php -S localhost:8888 -t . | |
// http://localhost:8888/swagit.php | |
// ------------------------------------------------------------------------------------- |
View Dockerfile
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
# ----------------------------------------------------------------------------- | |
# Build RoadRunner | |
# ----------------------------------------------------------------------------- | |
FROM golang:1.14 as builder | |
ENV CGO_ENABLED=0 | |
ENV GO111MODULE=on | |
RUN apt-get update | |
WORKDIR /go/src/roadrunner |
View EventEmitter.php
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 | |
/** | |
* @license GPLv3 (or any later version) | |
* @see http://kizu514.com/blog/refactor-your-slow-form-using-php-generators-and-event-streams/ | |
*/ | |
namespace KIZU514; | |
class EventEmitter | |
{ |