Before proceed, you may want to follow up
- Send Welcome Email Notification with Event and Listener and
- Enable Account Activation in Order to Login to the System
Create a middleware
| // allocate 81 char string in C memory | |
| parsed := C.CString(strings.Repeat("0", 81)) | |
| defer C.free(unsafe.Pointer(parsed)) // free it when we're done here | |
| // allocate byte array for our image data in C memory | |
| p := C.CBytes(data) | |
| defer C.free(unsafe.Pointer(p)) // free it when we're done | |
| // float32 is standardized type compatible with C | |
| gridCoords := []float32{-1, -1, -1, -1, -1, -1, -1, -1} |
| <?php | |
| use Illuminate\Contracts\Validation\Rule; | |
| class ValidPaymentToken implements Rule; | |
| { | |
| private $gateway; | |
| private $param1; | |
| private $param2; |
| #! /bin/bash | |
| set -e | |
| # to run this script: | |
| # curl -s https://gist.githubusercontent.com/jonathanelbailey/1274ad29a8cdcc9a74d9a994571afdf0/raw/ \ | |
| # | sudo bash /dev/stdin | |
| # comment out previous rpcmountdopts key. | |
| sed -i '/RPCMOUNTDOPTS=--manage-gids --no-nfs-version 4/a # RPCMOUNTDOPTS=--manage-gids --no-nfs-version 4' \ | |
| /etc/default/nfs-kernel-server | |
| # append new key with manage-gids option removed. |
Before proceed, you may want to follow up
Create a middleware
Before proceed, you may want to follow up Send Welcome Email Notification with Event and Listener.
Create new migration script to add activation_token and activated_at column in users table.
php artisan make:migration add_activation_column --table=users
Devices:
Inspired by:
| # import config. | |
| # You can change the default config with `make cnf="config_special.env" build` | |
| cnf ?= config.env | |
| include $(cnf) | |
| export $(shell sed 's/=.*//' $(cnf)) | |
| # import deploy config | |
| # You can change the default deploy config with `make cnf="deploy_special.env" release` | |
| dpl ?= deploy.env | |
| include $(dpl) |
--internal flag is used, a linux type dummy interface is dynamically created by Libnetwork to act as the parent. This network is completely isolated and is the equivalent to a --internal flag. This is a good mode for demoing.