Working with Sublime Text on local server [closed] - database-connection

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
Sublime Text is good native text editor for web developers and other programmers. Using ftp feature is not user friendly, so my question is second:
What is the best practices to work locally with sublime text editor?
Main problem is:
After do some changes on localhost(database is on localhost, not on
remote server) i want see immediately result on remote server.
Please, give me some practical info.

For Windows a good tool which allows automated sync(including deletes) with remote and also allows to add exclusion rules is WinScp
for Mac the same can be done using Yummy FTP Watcher
NetBeans IDE is available on both mac and windows and 8.0.2 version has perfect upload on save function which also updates remove on file add and delete.

Take a look at the Sublime SFTP package by wbond, the creator of Package Control. It works for FTP, SFTP, and FTPS connections, allows syncing of files/folders (in both directions), and is pretty much invaluable for this kind of work. It costs US$16, but is definitely worth it.
Alternatively, if you're on a Mac, check out Transmit. It allows you to map SSH/FTP shares as a local volume, so you can use any program, not just Sublime. It's US$34, but very much worth it.
For other operating systems, google "FUSE" (file system in user space). Many Linux distros have packages available for various solutions, and there are versions for Windows as well. They essentially do the same thing as Transmit in allowing you to map a network resource to a local drive/volume.

Related

Remove docker dependency [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed yesterday.
Improve this question
One of web tools we intend to use requires docker for installation. Due to limitation in resources, however, the only way for us to deploy this tool is on a shared university php webserver with an associated MySQL database. My question is, can you somehow convert or even "compile" this docker-dependent tool to get some simple package, similar, for instance, to Wordpress? Indeed, as per my understanding, Wordpress development does require docker, while the final package for Wordpress installation does not.
Is this operation of docker-removal possible and is there a standardised workflow? The tool in question is located in the following repository.
I have tried to install the tool as is, being blocked by the lack of admin privileges and the absence of docker on the described university webserver. I have experience in setting up Wordpress, I would expect for my tool of interest to have a more sophisticated installation process (compared to the current 3 steps) without docker and, for instance, to also require manual connection to an SQL-database.
Please excuse me for my limited understanding and layman terms, I am sadly not coming from a computer science background.

Is Nix Php-ready? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I'm new to Nix and quite excited about it (I've been using it so far for Haskell).
I'm planning to use it to deploy Php applications. However, how Nix deals with
Php packages (installed normally or with pear).
Working with PHP webapps generally requires several running services (php-fpm, httpd, mysqld, redis, etc). The answer depends on how you manage the services -- which, in turn, depends on whether you use:
(a) The full NixOS: NixOS provides a service-management layer - you edit a config file, twiddle some flags, and turn on the services. I haven't done this myself, and I think it needs a more pointed tutorial for folks coming from a PHP webdev background, but the system does exist.
(b) The crossplatform nix/nixpkgs: There does not appear to be a canonical service-management option here. nix basically just gives some binaries (php-fpm, mysqld, etc) which you can launch yourself. It's somewhat daunting for typical PHP developer.
Full disclosure: To try to improve the situation for crossplatform nix+PHP, I've written an example project locolamp. It won't help much with learning NixOS, but it may help get your toes wet with nix+php in cross-platform usage. See:
https://github.com/totten/locolamp
After spending a week trying to configure a LAMP platform and giving up (mainly because I couldn't make PHP send emails), I concluded that Nix is not ready for developping easily PHP application in production.

Integrating command-line SFTP and pgp into a delphi 2010 solution, what are the options? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
We use Delphi 2010 for development, and are looking to incorporate SFTP and pgp encryption into a inbound and outbound file transfer process. Particularly looking for a command line solution that can be integrated into a job script process we have. Does anyone know of two good free solutions we may try?
Are PGP Freeware 6.5.8 (SDK 1.7.x) or PGP 7.0, 8.0 (SDK 2.x) the best options?
I'd recommend SecureBlackBox. It supports SFTP, FTPS, OpenPGP, and quite a few more. It seems a little expensive (prices vary; they have a price calculator page based on which packages you want and how you want to license it for development - there's no run-time licensing costs, just to be clear), but they're pretty easy to use, come with full source (at least in the edition we have), and the documentation and samples seem pretty thorough. They could easily be used to build a non-GUI or console app that you could integrate however needed with your build process.
I'm not affiliated in any way with Eldos, the developers of SecureBlackBox - just a customer through my job.
Chilkat has a suite of components which could be useful for you

how to make setup file containing a delphi exe and some other files [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 10 months ago.
Improve this question
I have written a utility in delphi 5 professional which requires the some files while executing. I want to make a setup file which installs my utility program along with the other required files.
You can use InnoSetup to create professional installers here is the download link ... http://www.jrsoftware.org/isinfo.php
I'd go with InnoSetup any time if using Microsoft Windows Installer is not a requirement. If you would like to use MSI, then I'd recomment diving into Windows Installer XML, which is relatively easy to use for simple setups.
Delphi 5 came with InstallShield Express that is useful for simple setups (and IIRC could also install the BDE...) and is simple to use - if you have a "legal" copy you should find it easily on the installation CD (it should also be offered by the installation app autoruns launches).

Why doesn't Erlang come with a decent package management system like gem? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
Ok, this sounds like a bit of a rant, but I was wondering if there was a technical reason that Erlang doesn't have a proper package management system by default.
No major technical reason really. Just different needs as the classic way of setting up and installing erlang software is though applications. And some use releases added to that.
Often you see erlang software distributed completely self reliant. That is that it contains all the libraries and the virtual machine together in a package and not needing any sorts of external dependencies. You even see this in development versions of packages. The source tree of the Riak database for example has all dependent libraries in it.
This is not a bad idea like many coming from Ruby(like me) may think. This way each application is self reliant. As one of Erlang's main goals is to be the most reliable thing available it makes every sense in the world that each application can have it's own version of the library. Thus making sure one app does not make the other unstable.
Try rebar; it's a build system for erlang that includes a dependency management system. It doesn't have a central repository like gem does with rubygems.org, so you have to specify git urls. But, it does save you the trouble of having to download nested deps; it takes care of that itself.
And it sticks with Erlang's philosophy by keeping the downloaded deps inside your project directory rather then in a central system location; this is similar to bundler's deploy mode.

Resources