Skip to content

Instantly share code, notes, and snippets.

View seanburlington's full-sized avatar

Sean Burlington seanburlington

View GitHub Profile
@samtherussell
samtherussell / api_ref.txt
Last active January 7, 2024 19:34
Logitech SqueezeServer JSONRPC API
Squeezebox API
--------------
This document outlines the JSON RPC interface with a squeezeserver to control and obtain information about squeezeboxes.
JSON : JavaScript Object Notation
RPC : Remote Procedure Call
Uses POST requests sent to:
http://<squeezeserver_address>:9000/jsonrpc.js
@barbietunnie
barbietunnie / laravel-production-permissions.md
Last active June 19, 2023 06:04
MySQL Database User GRANT permissions for Laravel

MySQL Database User GRANT permissions for Laravel

For security reasons, you should probably grant select, delete, update and insert to your app user in production.

Have another user who can do alter, create, drop and index when running migrations.

If you run seeders in production, also grant select, insert and references to the migration user.

Yeah, 2 users, migrations are not always run in production everyday and this keeps more secure your database.