Skip to content

Instantly share code, notes, and snippets.

View massiws's full-sized avatar

Massimo Simonini massiws

  • Simonini informatica
  • Milan, Italy
  • X @massiws
View GitHub Profile
@massiws
massiws / readme.sh
Created June 6, 2021 14:04
Install Samsung M2070 FW printer/scanner in Mint/Ubuntu
# Download last official driver
# (see here https://support.hp.com/de-de/drivers/selfservice/samsung-xpress-sl-m2070-laser-multifunction-printer-series/16450377)
wget https://ftp.hp.com/pub/softlib/software13/printers/SS/SL-M4580FX/uld_V1.00.39_01.17.tar.gz
# Unpack archive:
tar -xf uld_V1.00.39_01.17.tar.gz
# Move into driver folder:
cd uld
@massiws
massiws / TenantDump.php
Last active February 17, 2025 21:04
TenancyForLaravel - Squash tenant migrations
<?php
/**
* Dumps the schema of the tenant database.
*
* Backport into archtechx/tenancy v-3.x of the `migrate:dump` command from Tenancy v-4.x.
* @see https://github.com/archtechx/tenancy/pull/807
*
* Usage:
* 1. create a new command in App/Commands/TenantDump.php with the content of this file.