How can I display files from an external path to my laravel project?

I need to show the pdf and jpg files which are in

/var/www/html/archivos/hola.pdf or hello.jpg

I use the following:

Ver detalle 

and this shows me a NOT FOUNT error …

How can this be done?

gmail – Storage capacity INCREASING DUE TO UPDATES and ARCHIVE files

Question # 1 – I have an update folder in my gmail which contains thousands of emails that take up space. If I delete all of these messages, will they also be deleted from the individual folders in which I saved them?

Question # 2 – I have thousands of emails in my archive folder taking up storage. If I delete all of these messages, will they also be deleted from the individual folders in which I saved them?

authentication – Access to company Sharepoint via Python to modify Excel files

I wrote a little script that goes through a bunch of folders and consolidates the Excel files.

Now I would like to use this script with files stored in our corporate sharepoint.
Since it is not possible to get assistance from our IT department and I am looking to do it myself.
It seems to me that I am stuck in the authentication part. Our share point uses Windows credentials to connect to it, I have no more information.

Any pointer would be useful, I will list a few methods that I have tried so far. Usually I get 401 error.

I tried:,

I tried this code:

import requests
from requests_ntlm import HttpNtlmAuth
requests.get("", auth=HttpNtlmAuth('DOMAIN\USERNAME','PASSWORD'))

I don't know where to go from here, pointers or ways to find more information about the type of authentication for my share point would already be helpful.

nginx – Serving js / html files by php-fpm

I have a docker-compose configuration having nginx and wordpress. I have followed one of the tutorials on the web and everything seems to be working fine.

BUT I have a critical plugin which generates a couple of html / js files directly via PHP. Meaning of the HTML code

mysql5.5 – Disk filled with temporary MySQL copy table, how to delete temporary files?

What is the safest way to clean?

MySQL 5.5.62-0 server on Debian 8 without replication.

I made a mistake and created a new column on a 26 GB table. SHOW PROCESSLIST showed that MySQL copies the data to a 100% CPU tmp table.

| Id        | User | Host      | db     | Command | Time | State             | Info             |
| 145904211 | root | localhost | huge   | Query   |  160 | copy to tmp table | ALTER TABLE ...  |
| 145905739 | root | localhost | NULL   | Query   |    0 | NULL              | show processlist |

A few minutes later, the main partition was full and the processor dropped to 0. I used systemctl stop mysql hoping it would clean up the temporary files. The service would not restart either.

$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root        79G   75G 1000K 100% /

$ sudo systemctl start mysql
Job for mysql.service failed. See 'systemctl status mysql.service' and 'journalctl -xn' for details.

I stopped the VPS and developed the disc. The server restarted properly and I was able to start the MySQL process and connect. Everything seems to be working.

However, disk usage has not decreased since the incident 20 minutes ago.

$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       158G   75G   75G  50% /

Will the housekeeping come in or should I manually clean up the mess I made? What is the safest way to do this?

linux – Find all files with the SUID bit set

I am interested in finding all of the system files on which the SUID bit is set.

The command "find / -perm 4755" searches for files whose SUID bit is set but with permission from 755.

But is there a way to include wildcards like this doesn't matter what other permissions are for the file as long as the SUID bit is set (something like 4 * **).

Cannot open RAW files from my new Canon 800D (t7i)

A few months ago, I got a new camera, the Canon 800D (t7i), and Windows can't open the camera's raw (.CR2) files, I tried to install the official Canon raw codec and Windows still can't display the thumbnails of the images, I converted my images to DNG but my workflow is a mess.

-How can I create windows capable of managing these new raw files (.CR2)?

-or what are your suggestions for bypassing these files (. CR2)?

sharepoint online – Filter Get files (properties only) returning errors

I have two document libraries, one for working documents (word, excel, etc …) and one for published documents (pdf). I created a feed to convert the document to pdf. Generally it works. However, in order to update an existing pdf (i.e. archived), it must be extracted before creating the new file (no different from the manual attempt). So when I run the workflow with a document selected in the working library, I need it to check out the corresponding document (of the same name) in the published library.

Here is the general flow:


I have tried two approaches to filter the Get files step using Filter Query.

Request 1: Name eq SOG_5000_001.docx
Production: {
"status": 400,
"message": "The" Name "column does not exist. It may have been deleted by another user.}

Request 2: FileLeafRef eq SOG_5000_001.docx
Production: {
"status": 400,
"message": "The column & # 39; SOG_5000_001.docx & # 39; does not exist. It may have been deleted by another user.}

I have confirmed that the two documents have the same name (FileLeafRef) in their respective libraries. However, I cannot understand why it makes errors rather than filtering for the only desired value.

Category page loads preprocessed phtml files instead of theme files

For some reason, when I upload template tips to my magento catalog page, the files that are included are var/www/html/var/view_preprocessed/pub/static/vendor/magento/module etc, instead of var/www/html/app/design/frontend/theme/ etc … how could i change this and how was it changed to start

I have the impression that my application is blocked in production mode, but I execute the command to define my magento 2 on developer, I tried to modify the env, defined on developer, tried to set it in my pub / htacces, but for some reason, I keep not seeing my developer tab in stores / config and its view_preprocessed loading files

The cheapest way to host 1 TB of files?


My mom runs a scrapbooking site that sells graphic kits. Customers download files after paying. She was on HostGator's "unlimited" shared hosting. It has 750 GB of content they obviously don't like, but there is nothing they can do about it because they will get in trouble for fake ads, so they claim the database is using too much server resources even if it is a low traffic website. . I've been in web development since the late 90's, so I know a lot of people with websites, and this week HostGator dropped the hammer on everyone I know who uses a lot of storage.

So my question is there anyway to fix this for less than $ 50 / month? My mom lives with a disability and doesn't have a lot of money and her website does almost nothing and is more of a hobby. Even if there is a website only for hosting files that she can tell her clients to download. I'm just trying to avoid $ 100 / month for a dedicated server. Does anyone know a real "unlimited" shared host or someone who offers cheap dedicated servers, or cheap shared hosting with tons of space, or whatever What else will work?