Categories
General

SQL Table Creation Concept – Practical

 CREATE TABLE api.m2_track_file_submission_to_windsurfer (
 id serial NOT NULL,
 ...
 ...
 ...
 ...
 created_at timestamp(0) NULL,
 updated_at timestamp(0) NULL,
 deleted_at timestamp(0) NULL
 ); 

Categories
General

Mac Tips

defaults write -g InitiaKeyRepeat -int 10
defaults write -g KeyRepeat -int 1

Categories
General Laravel

Laravel – Versionning your app.js

LIFE SAVER for frontend beginner developer!

Laravel – Versionning your app.js to cache bust for deploying

1 – Modify following file webpack.mix.js

mix.js('resources/js/app.js', 'public/js')
.sass('resources/sass/app.scss', 'public/css').version();

mix.version();

2 – Modify your blade

<script src="{{ env('APP_URL') }}{{ mix('js/app.js') }}"></script>

3 – you will see the following generation

<script src="https://xxxxx.raleche.com.test/js/app.js?id=a8305a8c81a6359c3c7b"></script>