Programming editor with fetch code from web [closed] - c

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I am looking for an editor which can take a Web URL as the source of the code tree. I work in a restrictive environment where I cannot clone the code base into my desktop. The only way is to use putty and login to the server and browse code using vim. But all the code can be copied into a web directory and is visible at a URL. So my idea is have an ediotr which can accept URL as the source of the code tree and show the files in the editor so that I can browse/edit in my desktop. I am looking for an editor in windows/Linux

Both these commands let you list the content of a remote directory and choose what to edit:
$ vim ftp://[user#]machine/path/ <--- connect via FTP
$ vim scp://[user#]machine/path/ <--- connect via SSH
Use :Rex to go back to the listing after editing.
See :help netrw.

Vim ships with the netrw plugin that allows to access and edit remote files. Just use
:edit http://server/path/to/file
That will fetch the file from the server and edit a temporary copy in your local Vim / GVIM. If you want to push back your changes to the server, you need a bi-directional protocol, such as SSH / SCP:
:edit scp://user#server/path/to/file
For details, see :help netrw.

Related

Using VSCode to develop code (HTML, CSS, JS files) that are stored in a database? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 days ago.
Improve this question
If that question makes no sense, let me explain!
I currently store a templating system (raw HTML, CSS & JS) for a CMS system in a MySQL database. The CMS allows users to edit those templates, but currently the only way to do so is via a rubbish code editor in the browser.
In an ideal world, a user would be able to connect their VSCode editor to an endpoint that I can make that will provide all those templates in a relevant file structure which they can use to edit and save changes to via VSCode.
Does anyone know of any extensions that allow you to do a similar thing and/or if it's at all possible if I made my own extension? (I've never dabbled with VSCode extensions so not sure what the limitations are on the APIs accessible to me as a developer)

create a shortcut using vbs, set to 'run as' admin [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
[terse]
I am looking for a method of setting a desktop shortcut to "Run As Administrator".
pseudo.code: object.Advanced = "Administrator"
[verbose]
I have scoured the web and discovered how to make a batch script to gather required information for generating a 'shortcut' on a user's 'desktop'. This 'link' can sometimes need to be run as "Administrator" to perform certain actions (like clearing out TEMP locations, adding files to subfolders under %ProgramFiles(x86)%, etc.). I can have it display instructions to the script using "Run As Administrator" from the Context Menu but the less user interaction (beyond double-clicking) with the generated script file the better.
try with shortcutJS.bat - it can create a shortcut with "run as admin" tick from command line :
call shortcutJS.bat -linkfile "some.lnk" -target "%cd%\some.bat" -adminpermissions yes
There's no api function that can tick the 'run as admin' option. In this case I'm reading the lnk file and I'm changing the 21st byte of the file.
More information can be found somewhere in this docs.

Need Help Finding File for SSIS Tutorial [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I am trying to complete the tutorial here.
It lists a zip file called SQL2012.Integration_Services.Create_Simple_ETL_Tutorial.Sample.zip that at the very least has the flat file needed to complete the tutorial. All of the links either point to zip files that don't apply or lead to a page that tells you to click a "download tab" that isn't there. The "download archive" downloads a zip file but the required file isn't there either.
Has anyone managed to find the zip file? If so, would you please post the link in your answer or tell me which MS tutorial I should run instead? I have SQL Server 2017 Express.
The actual page with the download link is here - it's step 2, not the one you linked to
https://learn.microsoft.com/en-us/sql/integration-services/lesson-1-2-adding-and-configuring-a-flat-file-connection-manager?view=sql-server-2017
It refers to this page
http://go.microsoft.com/fwlink/?LinkId=275027
Which has a button at the top right with this download link
https://codeplexarchive.blob.core.windows.net/archive/projects/MSFTISProdSamples/MSFTISProdSamples.zip
Which downloads a ZIP file called MSFTISProdSamples.zip
In that ZIP file is another ZIP file called sourceCode.zip
Inside this ZIP file in Kilimanjaro_RTM\Tutorial\Creating a Simple ETL Package\Sample Data, I'm guessing you will find your files.
Yes that page is incorrect, out of date and full of blind links.
It's also referring a lot to very old versions of SQL Sever
I managed to work this out though
This is question is definitely not suitable for stack overflow but I want to illustrate that it's important to have strong problem solving skills. This is almost as important as just having the base technical skills for the product you are learning
From the comments, #halfer also found this link which is a lot simpler to use
https://www.microsoft.com/en-us/download/details.aspx?id=56827

jquery terminal to connect to remote host [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I am new to Jquery terminal. Can i use this to connect to remote unix/linux host though web browser? I don't find examples on this do you have any examples? I am also interested even if there something in angular.
Can i use this to connect to remote unix/linux host though web
browser?
NO.
JQuery Terminal Emulator is a plugin for creating command line
interpreters in your applications. It can automatically call JSON-RPC
service when user type commands or you can provide an object with
methods, each method will be invoke on user command. Object can have
nested objects which will create nested interpreter. You can also use
a function in which you can parse user command by your own. It′s ideal
if you want to provide additional functionality for power users. It
can also be used as debuging tool.
http://terminal.jcubic.pl/

Backup and upload to FTP server [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Can anyone direct me to a script solution that makes a backup of a directory and uploads it to an ftp server?
I was searching for a batch script initially but any solution would do, as long as it is open source.
Thanks in advance,
Jean
I'll be working on one soon, but WinSCP has a CLI that you can use to accomplish this:
http://winscp.net/eng/docs/commandline
There are plenty examples using WinSCP on stackoverflow and on other sites, like:
Batch file when using WinSCP and command prompt
Problem in executing the batch file in winscp
You can use this url get more examples:
https://stackoverflow.com/questions/tagged/batch-file+winscp
Please keep in mind WinSCP isn't the only solution for this, it's the one that I use at work :).

Resources