How can we get all the OneDrive folders and its files in PowerApp?

We need to display all the OneDrive folders and its files in PowerApp. So that user can select any file and folder for migration

configuration – NGINX config 2 domains + sub domains in separate root folders and www to non-www

I’ve tried to create 2 separate NGINX conf files for two domains. Each domain has a test. sub domain and www shall be permanently redirected to now-www for canonical reasons. I get an error in below code.

sudo nginx -t nginx: nginx: (emerg) “server” directive is not allowed here in /etc/nginx/sites-enabled/example.com:19

Here’s my conf file for example.com, the second file for example2 is almost identical.

server {
listen 80;
listen (::):80;
root /var/www/example.com/html;
index index.php index.html index.htm index.nginx-debian.html;
server_name example.com 123.456.7.8;
#location / {
#try_files $uri $uri/ =404;
try_files $uri $uri/ /index.php$is_args$args;
#(For WordPress permalinks)
}
# Redirect all traffic to www to non-www for SEO canonical reasons server
server {
listen 80; server_name www.example.com;
location / { return 301 https://www.example.com/$request_uri; }
location ~ /.well-known/acme-challenge/ { default_type "text/plain";
root /usr/share/nginx/html; allow all; }
}
# Direct all traffic to the  subdomain to a separate folder
server {
listen 80;
listen (::):80;
root /var/www/test/example.com/html;
index index.php index.html index.htm index.nginx-debian.html;
server_name test.example.com;

try_files $uri $uri/ /index.php$is_args$args;
#(For WordPress permalinks)
}
# include /etc/nginx/naxsi.rules
location ~ .php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php7.4-fpm.sock;
}
location = /favicon.ico { log_not_found off; access_log off; }
location = /robots.txt { log_not_found off; access_log off; allow all; }
location ~* .(css|gif|ico|jpeg|jpg|js|png)$ {
expires max;
#To enable leverage browser caching log_not_found off;
}
}

canon – Does either the Nikon Z vs Cannon R UI offer quick switching for storage folders?

I’m considering a new Camera body and am looking at Nikon Z50/Z6 series and the Cannon R/RP. It seems like both the Cannon and Nikon UI support having multiple storage folders to select from, to make it easier to sort different shoots out in the field.

There are some situations where I’d like to switch folders quickly. Does either the Nikon or Cannon UI support switching the storage folder from one of the custom/user programmable buttons on the camera body?

How to merge folders while renaming the files within them them in windows 10?

Right now I have a folder that contains subfolders numbered 1-600. Within each of these subfolders is a collection of around 20 images that are all numbered starting from 001. I want to merge these subfolders into one big folder which would have all of the images with their numbering along with the number of the folder they are in as well (for instance the 6th image in the 145th folder might be named something like "(145) 006". Is there any way I can do this on windows 10?

How to create shortcut between Onedrive synced SharePoint folders

My team recently migrated to SharePoint, away from VPN and servers. The main reason is the VPN issue with home internet.

We moved all files to SharePoint, so we can work without needing VPN all the time.

In the past, people created various shortcuts between folders in the server. When we moved to SharePoint, these shortcuts stopped working. Understandable, because the path is referencing to the server.

To mimic the VPN+server experience, everyone is using OneDrive sync + SharePoint.

My question is the following:
Is there a way to create shortcuts in the onedrive synced folders, and everyone can use them at their own PC.

The old method was creating a shortcut (send a shortcut to desktop, and move them to the server folders). With the same drive label at everyone’s PC, it worked.
The SharePoint synced folder is placed under everyone’s user folder C/USER/USER_NAME/SharePoint. This is problematic because each PC would have its own USER_NAME.

Any suggestions or alternatives are much appreciated.

Thanks.

How to load data to google colaboratory for others to use without downloading the data folders?

I use the ‘mount drive’ to use the dataset folder.

However, the google drive belongs to only me so others who want to run my code on colab have to download the dataset and upload to their google drive, then mount drive to run the code.

Is there any solution for others to run my the code without downloading the dataset?

terminal – How to move files from a lot of folders into a single folder without moving the folders themselves?

Let’s say I have the following files and folders.

High-Resolution Pics (Folder)
----WashingtonDC002.jpg
----WashingtonDC004.jpg

Low-Resolution Pics (Folder)
----WashingtonDC000.jpg
----WashingtonDC001.jpg
----WashingtonDC003.jpg

WashingtonDC005.jpg

WashingtonDC006 (Folder)
----WashingtonDC006.jpg
----UnimportantFile.txt

WashingtonDC007.jpg

WashingtonDC008.jpg

WashingtonDC009 (Folder)
----WashingtonDC009.jpg
----UnimportantFile.txt

I want to move all the images that are in the WashingtonDC folders into High Resolution Pics without taking all of the unimportant files along with it, and all the WashingtonDC images that aren’t in WashingtonDC folders into Low-Resolution Pics. How would I go about doing this through the terminal?

This is what the final result would look like.

High-Resolution Pics (Folder)
----WashingtonDC002.jpg
----WashingtonDC004.jpg
----WashingtonDC006.jpg
----WashingtonDC009.jpg

Low-Resolution Pics (Folder)
----WashingtonDC000.jpg
----WashingtonDC001.jpg
----WashingtonDC003.jpg
----WashingtonDC005.jpg
----WashingtonDC007.jpg
----WashingtonDC008.jpg

Sharing OneDrive folders with external users

Can I share a folder from my organisational account to an external user so that they can see the shared folder in their OneDrive app?

Sure, I share and the user gets a link in an email that opens up OneDrive. But can it be shared in a way that they don’t have to press the link in the email each time they want to enter the folder?

I want to be on my OneDrive desktop app and see shared folders sync automatically to my app.

shared folders – Cannot copy SWF file to Windows file server

I’m trying to archive a bunch of files to a Windows file server in a corporate environment. I’m stuck on a file named history.swf, which fails to copy with an access denied error.

Testing a bit further, I found that

echo test > \serversharetest.txt

works just fine, whereas

echo test > \serversharetest.swf

fails with “Access is denied”.

Does anyone know why this may happen or what I can do to further diagnose this issue?

macos – Dock Question – Application folders with the Applications

I know this may be sacrilege but the OCD monster in me really would like to create application folders on the left side of the dock and have them fan out when I wanted to use them.

For example, having all the Microsoft Office apps in a fan to choose Word, Excel, Powerpoint, etc. Having a fan with easy access to apps like System Preferences, Console, Terminal and Disk Utility. Putting the iOS apps like Music, Photos, Messages and FaceTime in a folder to fan out. Whatever I set the folder icon to be should be displayed in the Dock for that group.

Yes, there are everyday apps like browsers, email and Xcode that I still want explicitly on the dock as individual icons. I know I can have folders to the right, but I prefer to use that space for my project folders, Documents, Downloads and open windows. I would prefer putting the moderately used apps in a place where I can still access them from the Dock without overextending or opening via a Finder window or desktop folder.

Thanks.

PS: What’s the deal with Dock spacers? Why do they need to be a full icon width? Can’t we have a half-width option?