atom - remote sync plugin download after remote change - php

I am using atom editor, remote-sync plugin so that after every change I make right in the editor it will be updated automatically.
That is working perfectly and it's a nice feature. I want to know if there is a way that every remote change will be downloaded to my local version. They have a watch for files.
"watch":[
"/css/styles.css",
"/index.html"
]
I want to know if there is a possible way to watch for the whole folder so that every change is tracked.

Related

How to set up a wordpress website but still allow for development

I would like to set up a new website using wordpress but I am not sure which wordpress to download, I would like to be able to also write code for it, add pages if I need to. Does wordpress allows this?. (New to wordpress). What should I download in order to be able to set up the wordpress site and be able to modify code. Also, what will I need in terms of sql and server. Does apache work with it?.
I was reading on the WordPress site to just download the folder with 5 minute set up, is this what i would want?.
Its quite a simple process and should only take 5 minutes as it says.
You will need a server with MySQL and Apache capabilities.
For a quick tutorial/walkthrough which uses XAMPP for the Apache/MySQL, click here
USE MAMP for this. I have done this and it works well. You can use heroku for deploy.

Malware/Adware on my wordpress blog--want to reinstall

My Wordpress site has some strange adware. Sometimes it redirects to www.usgrants.org , and at one point there was some random text at the bottom of each page that looked like search engine keywords, but that text seemed to have disappeared for now.
So instead, I've decided to back up my blog, and just start fresh with my database, and just reinstall the plugins that I really need.
The question is, how can I do this without losing my content?
I am guessing it is just as easy as exporting my SQL database, deleting everything, reinstalling WP, and then importing it, but I'm not sure if that's the most efficient way.
I'm also looking into Duplicator, but I don't know if that would also migrate the problematic add-ons (I don't even know what the cause of it is).
I'd really love to keep my Thesis theme as well, but I'm not sure if my custom code is causing the problem.
I appreciate the help!
First and foremost if you are still able to get into the admin area of your site, I would install WordFence (http://wordpress.org/plugins/wordfence/), do a complete scan of your site, and make the recommended fixes. Additionally, if you can spring for it, I would get the premium version as it will scan all files on the server, not just in the wordpress install. (I think it's like $40 per year per domain & gets cheaper the more you add.) This option may rescue your current site without the need to start fresh.
That said, if you have malware in your site, it's very difficult to know for sure that it's fixed for good. Depending upon how it's written, it can lie dormant for a while and come back when you least expect it so starting over may be the best idea. Regardless, I would use WordFence to scan first before you start fresh since it will also scan your database to see if anything ended up in one of your tables there. The free version will do that too.
Then you can either export and save your database from MYSQL or you can also use the wordpress export / import tool to manage the transfer of your content. Its a pretty simple process.
To export your site data using the included WP Export tool.
1. Login to the backend admin
2. Navigate to tools
3. Click on 'Export'
4. Select the All Content option and then press the 'Download Export File' button.
5. This will download an XML file that you can import on your new instance of WP.
To import your site data using the WP Import tool.
1. Login to the backend admin
2. Navigate to tools and click import
3. Select 'WordPress' from the list
4. Install the importer
5. Click Activate and Run Plugin
6. Choose the XML file you exported and then select Upload File and Import.
Hope this helps!

Web-based online file editing with revision control built in?

Does anyone know of a simple online file editor that I could put in a folder on the server to enable users to view and modify files? It would have read/write access to source code files (html & css) and open those up in a web-based code editor.
Then when they save it, it would need to have a hook to be able to commit the changes back to whatever revision control system is in place.
Basically I need github.com's capability to edit files that are in a repository without checking the project out.
PHP would probably be the easiest to be able to just drop into a folder, but whatever works.
The Github wiki is open source: https://github.com/github/gollum - it stores the files in the git repository. I don't know of a pure file editor, though.

How to include file from seperate remote folder in Netbeans (PHP Development)

I have a PHP project setup in Netbeans (v6.8) where all the PHP files are on a remote server and in a single directory. Whenever I save files locally they are updated on the remote server via SFTP.
I now need to edit a remote JavaScript file to add some jQuery logic but the file is located within a different directory on the webserver. How to I add this JavaScript file such that when it is saved or updated it is transferred to it's own location on the server?
When I attempt to create the file locally within NetBeans it saves to the same directory as my PHP files. I would like to be able to continue using NetBeans rather than doing this all manually using an SFTP client and a text editor. Thanks in advance.
Since you're not getting any answers I'll offer a limited suggestion. I use netbeans, but not to automatically upload like you're doing so I may be way off here.
It sounds like you would either need to change your project to have a larger directory structure that would contain everything for this to work like you want it to. Gan you go up a level or two in the directory structure, and add containing folders in your local project to match?
The other option might be to create a second project for the javascript directory, and set that to go were it needs to go. You can create "project groups" in the project view which you can use to link them together. I know this is probably not ideal, but is hopefully easier than doing your uploads manually.

Creating php backend alternative to poedit

I was just wondering if i can find php backend which can be used as alternative to poedit to enter translations.
Sometimes we need update view files directly to live server and its painful to download all source to local machine and generate .po files and translate them using poedit and upload again. Can anyone help?
It's not PHP, but there is Transifex, in both download and hosted form. </shamelessplug>
i am using FTP for uploading and downloading PHP files as well as folders, so in that case if you want to edit/update only some of the source in the FTP you can right click on file name where you get the option for "View/edit" which can be open in any of your editor and its still connected with FTP so whenever you done change in that file and save it will automatically save on your live server too.
So if your query what i have understood then you can use my answer.
Thank you.
I'm using WordPress for my website. There is a plugin for WordPress that can edit po-files and generate mo-files.
CodeStyling Localization (plugin for WordPress):
http://www.code-styling.de/english/development/wordpress-plugin-codestyling-localization-en
Unfortunately, if you're not using WordPress you have nothing.

Categories