After updating (Catalina), and reinstalling anaconda3, my new startup folder is the in my users folder, with no way to navigate outside of the users folder. I'm just trying to get a cd directory root so I can navigate to my code files.
I've tried navigating via path (file->open from path, adding in Desktop/) won't navigate there. I've tried navigating directionally out (cd ~/ ) and won't navigate there. I found a post about this, but it's for Windows.
Please help -- this update is ruining my week. Half of my paths are ruined, I'm ready to Time Machine or Ebay this garbage.
I created an alias file and navigated through that to desktop, that works as kinda a strange solution -- basically I alias a folder inside startup folder, and place that on desktop. Only solution I've been able to find, aside from possibly reinstalling from scratch.
Related
I have been using atom editor for making changes to my application code. I recently made a change in my directory - deleted .git and then moved all my files to a new folder.
Now, when I open the folder in atom editor, I do not see different file colors that I use to. It doesn't track which files have changed or anything like that. When I launch the app locally using MacOS terminal, I don't see the changes reflected in my App.
It's quite strange. What do I need to do to fix this issue?
Here's my root directory in atom. All files appear is same color. something doesn't look right.
I need to change the home directory for R / Rstudio, at the moment it works in the OneDrive folder , and it creates problems with sync.
What I would like to change is not just the directory where libraries are installed.
For example, I always get the .Rhistory file in the OneDrive directory, as well as the libraries.
I would like "move" everything to another directory.
I tried with .Renviron file, but it still needs to be placed inside the OneDrive folder, and still I didn't succeed in have evrything moved in another place.
How can I do it?
I am writing a Wordpress plugin that depends on another plugin with netbeans.
The project is just containing the files of my plugin and I want to keep it that way to have a clean git repository.
The problem:
I rely on another plugin and want to understand how that plugin works. For this, I want to "step through" the other plugin.
I want to do this on my localhost configuration.
I have basically two destinations:
The project is in my home directory in my github folder
The server files are under c:\wamp64\www\wordpress ...., where the localhost is running
The project is essentially set up correctly to copy files from my github directory to the localhost path (Properties -> Sources)
Then:
I set an include path to the localhost -> wordpress folder in the project properties, and when I now search for a definition in my code that refers to the other plugin, the corresponding file is opened (did not work before setting the include path)
Debugging essentially works, but when I step into a function of the other plugin, the bar becomes grey and the corresponding file is not opened.
Can I change some setting for netbeans to open up the other file (not in the project tree) and step through it?
I have found a reasonable workaround.
I just created a new PHP project in Netbeans with existing sources.
As source, I used the entire wordpress installation in the wamp server path, i.e. c:\wamp64\www\wordpress
I can now 'debug' and step through this new project, but I also need to add the corresponding breakpoints in the files from the server path.
It requires some discipline as I have to open the files from my plugin twice, once in the server path and once in the project path, but only edit the files in the project path.
It works 'ok', but I would still be interested to hear if someone has a more proper solution to this.
At work we have something strange going on with our WordPress Website.
It creates temp folder with few files under WP-content folder.
One of the file is automatically getting bigger on size for no reason around 1GB a day( I keep deleting it)
I can't find what is creating this files.
Folder is like this temp_750d5f958f2e5b3db45305632919a5ed
I am not sure if this is word-press or plugin but it wont stop until it reach the server capacity.
Thanks for any advice
If you have no idea about which plugin or theme or injection does it:
Install this plugin https://wordpress.org/plugins/string-locator/
Search for string 'temp_' inside your filesystem.
You will find more than 10 results. The file which contains a string similar to "temp_<?php echo md5(...." is the one you are looking for.
or if you want to it in local PC:
Download your WP installation home directory to your local PC.
Install any Code Searcher software to your PC. (for Linux, Searchmonkey is recommended. For Mac and Windows you can try DocFetcher)
Search for string 'temp_' inside your filesystem.
Good day every one,
I am new in DRUPAL.
I am having problem with the drupal site.
I got the repository for the drupal site. I have successfully clone it and got every things and the database. I have uploaded the database to the local host server.
Now, I can see that initially the directory is like this
C:\wamp\www\test\site\docroot\sites\default\
Then when i first open the site through local host the directory automatically becomes like this
C:\wamp\www\test\site\docroot\sites\default\file
The "file" directory contains the empty folder of css, images etc/
which I believe is downloaded from the database for the first time.
The site is giving many console error like missing images etc.
Instead of having the empty folder in file directory there must be images and css files and everything I do not know what is wrong becs the folder should not be empty there must be files and and image sand css files and should be downloaded from the database when I first open the site.
Please help me to locate the problem.
Thank you very much.
Usually, you will put on git drupal core, modules and theme files.., basically everything except the files uploaded by user (admin). Those files are usually located at:
/sites/default/files
So, since they are not on git repo you need to copy them to your local environment from the working site (i.e. over (S)FTP).
If your "file" is not "files" dir I'm talking about then it's something specific to your site - don't know nothing about it.