Cannot find module ‘vue/compiler-sfc’ Solution : Update Vue – How To Install Vue 3 in Laravel 8 From Scratch

How To Install Vue 3 in Laravel 8 From Scratch

npm install –save vue@next
npm install –save-dev vue-loader@next

https://techvblogs.com/blog/how-to-install-vue3-laravel

Create Laravel 8 Vue JS CRUD Single Page Application


https://onlinewebtutorblog.com/how-to-install-vue-js-in-laravel-8-using-laravel-ui/
https://techvblogs.com/blog/how-to-install-vue3-laravel

pptx merge

python-pptx info

Does python-pptx support saving a file as pdf?

python-pptx doesn’t support saving as PDF and it’s very unlikely it ever will. The reason is that saving as a PDF involves rendering the PowerPoint file (.pptx) and the focus of python-pptx is on reading and writing the .pptx file format.
https://stackoverflow.com/questions/26365330/does-python-pptx-support-saving-a-file-as-pdf

Is it possible to combine two or more powerpoints using python-pptx?
https://stackoverflow.com/questions/60849601/is-it-possible-to-combine-two-or-more-powerpoints-using-python-pptx

I was able to achieve this by using python and win32com.client. However, this doesn’t work quietly. What I mean is that it launches Microsoft PowerPoint and opens input files one by one, then copies all slides from an input file and pastes them to an output file in a loop.

https://stackoverflow.com/questions/46205450/how-can-i-combine-two-presentations-pptx-into-one-master-presentation/66752002#66752002

GIT DELETE BAT

FOR /F “tokens=*” %%G IN (‘DIR /B /AD /S *.git*’) DO RMDIR /S /Q “%%G”

Docker – Minimal only PHP server setting

Dockerfile
###########################################
FROM php:5.4-apache
RUN a2enmod rewrite
RUN docker-php-ext-install pdo pdo_mysql && docker-php-ext-enable pdo_mysql
RUN docker-php-ext-install mysqli && docker-php-ext-enable mysqli
RUN apt-get update && apt-get upgrade -y

RUN echo “file_uploads = On\n” \
“memory_limit = 1000M\n” \
“upload_max_filesize = 1000M\n” \
“post_max_size = 1000M\n” \
“max_execution_time = 9000\n” \
> /usr/local/etc/php/conf.d/uploads.ini

CMD [“apachectl”, “-D”, “FOREGROUND”]

EXPOSE 80
###########################################

docker-compose.yml

###########################################
version: “3.8”

services:
web:
build:
context: .
dockerfile: Dockerfile
#image: “php:5.4-apache”
container_name: test_phpserver
restart: ‘always’

volumes:
– .:/var/www/html
ports:
– ’80:80′
###########################################

test.php

?php
echo “hello world”;

##############
Browser:
http://localhost/test.php

Session Regeneration Problem in Codeigniter – Codeigniter Session regenerate and data loss

This is usually caused by incompatibility between Codeigniter and PHP versions. For example, running Codeigniter version 3.1 on PHP 7.3.11 will result in unexpected behaviours like session regeneration.
Try upgrade to latest Codeigniter version, it should resolve the issue.

Codeigniter 3.1.11 – Session regenerate and data loss PHP 7.3.11:
https://forum.codeigniter.com/thread-75042.html