I am a complete beginner as far as Programming is concerned. I used to practice coding on Codeblocks in Windows 10 and used to save the code on Evernote so that it can be accessed everywhere. Now I moved to Ubuntu (Dual Boot) and I use Eclipse here. Is there any place where I can save the code so that I can access it on my Windows OS?
You should be using a hosted Version Control System.
GitHub
BitBucket
GitLab
Evernote is for notes.
If its just the matter of accessing it on your local windows machine, then save your codes on simple accessed folder and use Linux reader on your windows machine to access them, else use VCSs as suggested above
Related
I am a developer that used windows 10 and all my tools are installed in windows 10 such as atom, laragon, gitbash.
here's the scenario,
since I am using laragon as a server on windows 10, I put all my codes in c:/laragon/www. so that when i visit my website at localhost, codes found in www is located and serve to localhost.
now i try wsl on windows, when i installed lamp, my code should reside in /var/www/. the problem with this i can't use atom which is installed in windows to edit code found in /var/www.
my question is, since i been looking for good article at google that best discuss to setup php development using wsl.
What is the best way to setup lamp in wsl, and where should i put codes that easy for atom to edit.
sorry if i don't know this, because i really don't know, and i been looking for this for almost a month now.
I would highly advise against doing this.
Use WSL to mount C:\laragon\www and edit the files within the windows filesystem using atom but even then, it may be best to just completely use the windows environment.
Microsoft have issued warnings that you can edit windows files from inside WSL, but should not under any circumstances edit WSL/files within the ubuntu underlying filesystem from windows [1].
Speaking from experience on trying to set up web services, be it a MERN stack, meteor or a LAMP stack on WSL, I have also had a lot of issues with permissions on starting database services.
1 : https://blogs.msdn.microsoft.com/commandline/2016/11/17/do-not-change-linux-files-using-windows-apps-and-tools/
Steps to hosting LAMP in WSL with the files to be served in windows to be edited by windows tools;
Mount a windows directory (If you haven't already)
Update your Apache / LAMP stack configs to point at the mounted directory;
See this article for some good info. https://www.digitalocean.com/community/tutorials/how-to-move-an-apache-web-root-to-a-new-location-on-ubuntu-16-04
Restart Apache and if needed, other LAMP related services. (The above article covers this as the last step anyway)
I'm using windows 7 and a project in windows. what source code management will I use?
I want a local server.
I try to read this article http://www.tortoisecvs.org/faq.html#win9x but it says that The TortoiseCVS team does not use Vista or Windows 7 and does not have access to a Vista development system. This means that no testing is done on Vista
Thanks for the help
I suggest you use Git or Mercurial for local source code management. They're real quick and easy to work with, and the entire history of a repository (basically a folder on your hard drive) is contained within the repository itself.
I'm a web developer and would like to setup one system as server which can have all the source code which my team will develop.
My worries here is we all use different different OS (windows, Ubuntu, CentOS) but we work from the same place. I want to have some version controlling tool which allows us to do development efficiently.
Currently we are spending more time to integrate each other code in your code and fixing code according to new/old code.
We all use eclipse Juno. I really appreciate if someone can send me step by step guide to setup the version control system on Ubuntu or CentOS system.
I want this version controlling system should work in local only. I don't want to host my code on some 3rd party server. I want them in my local server only.
Thank you,
You can use Git with Gitlab. Just follow the setup instructions on your Linux based local server.
Git works also with Windows. Check http://git-scm.com/ or http://uncod.in/blog/installing-tortoisegit-on-windows7/
You can use Egit to integrate with Eclipse.
Good Luck!
I really enjoy Veracity. It's cross-platform and you can run it as a sever that only exists on your local network. The interface is fairly similar to Subversion, but is distributed version control. Here's a quick introduction:
http://veracity-scm.com/qa/questions/53/ive-installed-veracity-how-do-i-get-started-using-it
I have terminal access to an AIX machine using ssh/telnet (No root access). I need to develop programs using C and compile it using the xlc compiler. Currently I can open remote files in eclipse(Juno) using RSE and edit files, but code-completion and error checking won't work. Can anyone please, help me to setup eclipse, so that code-completion would work and also, I would be able to compile the code from my Windows machine. Any help would be deeply appreciated.
You could try this, http://wiki.eclipse.org/PTP/rdt-setup or.. check out...
How to build a c++ project on a remote computer in Eclipse?
Somewhat similar. If you look at the 3rd answer.
Also you could try X11 Forwarding -
http://tartarus.org/~simon/putty-snapshots/htmldoc/Chapter3.html#using-x-forwarding
Instead of trying to setup Eclipse and CDT to do remote development, you may want to consider purchasing IBM Rational Developer for Power Systems Software (RDP), which is an Eclipse-based remote development environment that allows for C and C++ (and COBOL) application development on AIX from a Windows or Linux system. More information can be found here.
currently I am maintaining a django web application and I am using rsync via ssh to sync between my files and edits, using www-data user.
Then I reload the apache server.
I have tried git but had many problems on pushing, initiating a bare git couldn't help either.
Apart from deleted files from the source, rsync does it's job quite good.
What do you use?
Using OS: Ubuntu 10.04 LTS x64 on both server and local
I use mercurial, it's really easy to get running locally and very easy to push changes between different "servers".
you don't say what O/S you're using. I'm using Windows with tortoiseHg. I also use the VisualHg add-in for Visual Studio
When it comes to sync files between machines, I use BitTorrent Sync. Works on every major platform and it is super easy to configure. It even works for mobile devices.
Check out http://www.bittorrent.com/sync