- Create a new disk image (I use VDI for compatibility with VirtualBox)
- Allocate some RAM (>6 GiB to start)
- Add some video memory and enable 3D acceleration, if needed
- Optional: Enable EFI (instead of BIOS)
- Attach
nixos-minimalISO for installation - Boot into the ISO
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 | |
| # app/Http/Controllers/CaddyController.php | |
| namespace App\Http\Controllers; | |
| use App\Store; | |
| use Illuminate\Http\Request; | |
| class CaddyController extends Controller | |
| { |
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
| name: Electron CD | |
| on: [push] | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.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
| package pb | |
| import ( | |
| "fmt" | |
| "reflect" | |
| st "github.com/golang/protobuf/ptypes/struct" | |
| ) | |
| // ToStruct converts a map[string]interface{} to a ptypes.Struct |
Per Team User Subscription in Laravel Spark
If you want the ability to charge a team owner based on how many members their team has, like $10/user/month, then you utilize the Laravel Cashier functionality of incrementing the quantity.
You listen for when a new team member is added and you increase the quantity of the subscription by the amount of users and also listen for when a team member is removed to downsize charges. - Not Braintree Compatible
'Laravel\Spark\Events\Teams\TeamMemberAdded' => [