This file contains hidden or 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 | |
| /** | |
| * Benchmark between preg_match() and ctype_alnum() | |
| * | |
| * $ phpbench run --retry-threshold=1 --revs=1000000 \ | |
| * --iterations=10 --report=compare --report=aggregate \ | |
| * ./PregMatchVsCtypeAlnumBench.php | |
| * | |
| * Requirement | |
| * $ composer require phpbench/phpbench @dev --dev |
This file contains hidden or 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 | |
| /** | |
| * Sample PHP script to check if a string is available to use in namespace. | |
| * | |
| * View this script in action online: | |
| * https://paiza.io/projects/cjheAXgzbvk4uEq8civKAA | |
| * View this script in Gist: | |
| * https://gist.github.com/KEINOS/b72391409f201777f8c4420a59a9c282 | |
| */ |
This file contains hidden or 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
| 2019-07-06T16:11:37.070517+00:00 app[web.1]: 2019-07-07 01:11:37: (network.c.313) can't bind to socket: 0.0.0.0:80 Permission denied | |
| 2019-07-06T16:11:38.074704+00:00 app[web.1]: 2019-07-07 01:11:38: (network.c.313) can't bind to socket: 0.0.0.0:80 Permission denied | |
| 2019-07-06T16:11:39.079038+00:00 app[web.1]: 2019-07-07 01:11:39: (network.c.313) can't bind to socket: 0.0.0.0:80 Permission denied | |
| 2019-07-06T16:11:40.083423+00:00 app[web.1]: 2019-07-07 01:11:40: (network.c.313) can't bind to socket: 0.0.0.0:80 Permission denied | |
| 2019-07-06T16:11:41.087808+00:00 app[web.1]: 2019-07-07 01:11:41: (network.c.313) can't bind to socket: 0.0.0.0:80 Permission denied | |
| 2019-07-06T16:11:42.092604+00:00 app[web.1]: 2019-07-07 01:11:42: (network.c.313) can't bind to socket: 0.0.0.0:80 Permission denied | |
| 2019-07-06T16:11:43.097222+00:00 app[web.1]: 2019-07-07 01:11:43: (network.c.313) can't bind to socket: 0.0.0.0:80 Permission denied | |
| 2019-07-06T16:11:44.101447+00:00 app[web.1]: 2019-07-07 01:11:44: (network.c.313) can' |
This file contains hidden or 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
| { | |
| "schemaVersion": 1, | |
| "label": "Dockle", | |
| "message": "FATAL 1 WARN 2", | |
| "color": "red" | |
| } |
This file contains hidden or 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
| $ # Env infos | |
| $ # --------- | |
| $ docker version | |
| Client: Docker Engine - Community | |
| Version: 18.09.0 | |
| API version: 1.39 | |
| Go version: go1.10.4 | |
| Git commit: 4d60db4 | |
| Built: Wed Nov 7 00:47:43 2018 | |
| OS/Arch: darwin/amd64 |
This file contains hidden or 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
| $ # Error log | |
| $ softwareupdate -l --verbose | |
| objc[5213]: Class AMSupportURLConnectionDelegate is implemented in both /System/Library/PrivateFrameworks/EmbeddedOSInstall.framework/Versions/A/EmbeddedOSInstall (0x11abdd8c0) and /System/Library/PrivateFrameworks/OSPersonalization.framework/Versions/A/OSPersonalization (0x11aa381e0). One of the two will be used. Which one is undefined. | |
| Software Update Tool | |
| Finding available software | |
| No new software available. | |
| $ man softwareupdate | tail -1 | |
| Mac OS September 11, 2012 Mac OS | |
| $ sw_vers |
This file contains hidden or 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
| $ ###################################################### | |
| $ # Env info (macOS Mojave, OSX 10.14.3) | |
| $ ###################################################### | |
| $ # Date and time of occurrence | |
| $ date -R | |
| Mon, 11 Mar 2019 16:57:12 +0900 | |
| $ # Vagrant version | |
| $ vagrant -v | |
| Vagrant 2.2.4 | |
| $ # Host OS |
This file contains hidden or 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 -v | |
| PHP 7.2.12 (cli) (built: Nov 29 2018 01:59:12) ( NTS ) | |
| Copyright (c) 1997-2018 The PHP Group | |
| Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies | |
| with Zend OPcache v7.2.12, Copyright (c) 1999-2018, by Zend Technologies | |
| $ | |
| $ which php | |
| /usr/local/Cellar/php/7.2.12_2/bin/php | |
| $ | |
| $ brew list | grep php |
This file contains hidden or 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
| $ sudo pip3 install mod_wsgi | |
| Downloading/unpacking mod-wsgi | |
| Downloading mod_wsgi-4.6.5.tar.gz (490kB): 490kB downloaded | |
| Running setup.py (path:/tmp/pip-build-ajb0j1v8/mod-wsgi/setup.py) egg_info for package mod-wsgi | |
| /usr/lib/python3.4/distutils/dist.py:260: UserWarning: Unknown distribution option: 'bugtrack_url' | |
| warnings.warn(msg) | |
| warning: no files found matching 'docs/_build/html/_static/*' | |
| warning: no files found matching 'docs/_build/html/_static/css/*' | |
| warning: no files found matching 'docs/_build/html/_static/font/*' |
This file contains hidden or 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
| $ pulseaudio | |
| E: [pulseaudio] module-alsa-card.c: Failed to find a working profile. | |
| E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="1" name="usb-AKAI_MPKmini2_0001-01-MPKmini2" card_name="alsa_card.usb-AKAI_MPKmini2_0001-01-MPKmini2" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1""): initialization failed. | |
| W: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11 | |
| W: [pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11 | |
| E: [pulseaudio] bluez4-util.c: org.bluez.Manager.GetProperties() failed: org.freedesktop.DBus.Error.UnknownMethod: Method "GetProperties" with signature "" on interface "org.bluez.Manager" doesn't exist |