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
pi@raspberrypi:~/ibeacon $ npm install bleacon | |
> [email protected] install /home/pi/ibeacon/node_modules/usb | |
> node-pre-gyp install --fallback-to-build | |
node-pre-gyp ERR! Tried to download(404): https://github.com/tessel/node-usb/releases/download/1.3.1/usb_bindings-v1.3.1-node-v64-linux-arm.tar.gz | |
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v64 ABI, glibc) (falling back to source compile with node-gyp) | |
make: Entering directory '/home/pi/ibeacon/node_modules/usb/build' | |
CC(target) Release/obj.target/libusb/libusb/libusb/core.o | |
CC(target) Release/obj.target/libusb/libusb/libusb/descriptor.o |
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
# This is a sample build configuration for PHP. | |
# Check our guides at https://confluence.atlassian.com/x/e8YWN for more examples. | |
# Only use spaces to indent your .yml configuration. | |
# ----- | |
# You can specify a custom docker image from Docker Hub as your build environment. | |
image: php:7.4-fpm | |
definitions: | |
services: | |
mysql: |
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 | |
// Debug SQL queries | |
// Put anywhere, e.g. in routes/api.php | |
if (config('app.debug')) { | |
\Event::listen('Illuminate\Database\Events\QueryExecuted', function ($query) { | |
echo 'Query: '.$query->sql."\n\n"; | |
echo 'Bindings: '.var_export($query->bindings, true)."\n\n"; | |
echo 'Time: '.$query->time."\n\n"; | |
}); |