Categories
Laravel

Tutorial – Laravel 6 – Create Login Page

composer require laravel/ui 
php artisan ui vue --auth 
npm install && npm run dev
php artisan migrate

See the routes created

php artisan route:list

Categories
Laravel

Tutorial Log Viewer – Laravel

Fantastic try to the log viewer of Laravel
https://github.com/ARCANEDEV/LogViewer

Edit .env

LOG_CHANNEL=daily

Composer install the package

composer require arcanedev/log-viewer

Publish the laravel package

php artisan log-viewer:publish

Verify installation

php artisan log-viewer:check

Enjoy programming !

Go to http://{your-project}/log-viewer

See Screenshots


Categories
Unix

How to find executable command in unix ?

Type the following :

whereis 
Categories
AWS REDIS Unix

How to install redis on AWS unix ec2 instance ?

 $ vi /etc/yum.repos.d/epel.repo

 [epel]
 name=Extra Packages for Enterprise Linux 6 - $basearch
 baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
 mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
 failovermethod=priority
 enabled=1
 gpgcheck=0
 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

Step 2: Clean all yum repo and update repolist:

$ yum clean all
$ yum repolist

Step 3: Install Redis on the server by running command

$ yum install redis 

Step 4: Check redis status

service redis status

service redis start
service redis stop
service redis restart

Categories
Unix

How to find out Unix release version ?

cat /etc/*elease
Categories
Unix

How to fix CURL error setting certificate verify locations ?

error setting certificate verify locations:
CAfile: /usr/local/etc/openssl/cert.pem
CApath: /usr/local/etc/[email protected]/certs

To fix this issue find my solution below

ln -s  /usr/local/etc/openssl\@1.1 /usr/local/etc/openssl

Create a symbolic link toward the folder researched

Categories
Satori Architect USPS

What is Error 80040419 : The sort failed because there are no more unique mailpiece sequence numbers for your Mailer ID ?


 Error:  The sort failed because there are no more unique mailpiece sequence numbers for your Mailer ID.

Please select a later mailing date or obtain another Mailer ID
Cause 

The USPS requires that sequence numbers remain unique for 45 days. When the Sequence mail pieces parameter is set to Automatic, the Bulk Mailer system keeps track of the date and the sequence numbers used. The program also looks for a continuous sequential block of numbers large enough for all the records that are being sorted; if it does not find a large enough block of sequential numbers available, it will produce this error.  

Note: Bulk Mailer does not allow sequence numbers to be reused for 90 days.

Resolution

1 . Obtain another Mailer ID to use until the current Mailer IDs sequence numbers are released for re-use. Once a second mailer ID is obtained through the Business Customer Gateway, create a second permit by making a copy of the current one, and use the new Mailer ID in that one.

2. Sometimes restarting the whole server could do the trick

More Information
How to request an additional Mailer ID

Article Number000002763

Categories
Satori Architect USPS

What is Error: 80040421 quadient/satori architect server ?

Error: 80040421 – Unable to allocate any sequence numbers

Satori Architect;

Satori OfficeJun 12, 2019•Knowledge Base ArticleProductsSatori Architect;Satori OfficeArticle

When running a mail sort, the following error occurs: 
           80040421 – Unable to allocate any sequence numbers
Cause 

The USPS requires that sequence numbers remain unique for 45 days. When the Sequence mail pieces parameter is set to Automatic, the Bulk Mailer system keeps track of the date and the sequence numbers used. The program also looks for a continuous sequential block of numbers large enough for all the records that are being sorted; if it does not find a large enough block of sequential numbers available, it will produce this error.  
Note:  Satori Architect and Office do not allow sequence numbers to be reused for 120 days from the mailing date specified in the sort settings.
Resolution

Obtain another Mailer ID to use until the current Mailer ID’s sequence numbers are released for re-use. Once a second Mailer ID is obtained through the Business Customer Gateway, create a second permit by making a copy of the current one, and use the new Mailer ID in the second permit.

More Information
How to request an additional Mailer ID

Article Number000002802

Categories
Continuous Integration/Development Git

How to resolve GITHUB key already in use ?

Find out which repository is already in use

ssh -T -ai ~/.ssh/id_rsa [email protected]

Solution 1

#1 Remove the key from your GITHUB repository->deploy

#2 Copy your key from macbook

pbcopy < ~/.ssh/id_rsa.pub

#3 Paste your key in the Github->repository you want to use

Solution 2

you can do a do a git clone against the https url

git clone https://git.com/david/global-helpers.git

Categories
Laravel

How to fix laravel failed loading cafile stream: `/usr/local/etc/openssl/cert.pem’ ?

Ho to fix laravel failed loading cafile stream: `/usr/local/etc/openssl/cert.pem’ ?

In your mac execute the following command

brew reinstall wget