allow to use torrenttorrent是什么意思思

Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free.
I'm trying to use Sublime Text 2 as an editor when I SSH in to my work server, and I'm stumped.
I found this
(among many other posts) that looks like it might help, but I don't follow it exactly, particularly with what values I should put in for the remote variable in line 5.
I set "/Users/path/to/local/copy" to my local root directory, but I don't know if that's right or if there's more to do.
Any thoughts?
I'm on OSX10.8
1,51221231
There are three ways:
Use SFTP plugin (commercial)
- I personally recommend this, as after settings public SSH keys with passphrase it is safe, easy and worth of every penny
Mount the remote as local file system using osxfuse and sshfs as mentioned in the comments. This might be little difficult, depending on OSX version and your skills with UNIX file systems.
Hack together something like rmate which does file editing over remote tunneling using some kind of a local daemon (very difficult, cumbersome, but sudo compatible)
Also, in theory, you can install X11 on the remote server and run Sublime there over VNC or X11 forwarding, but there would be no point doing this.
29.5k1598199
You can use , which is inspired on TextMate's rmate. From the description:
Rsub is an implementation of TextMate 2's 'rmate' feature for Sublime Text 2, allowing files to be edited on a remote server using SSH port forwarding / tunnelling.
on how to set it up properly.
9,45733057
I'm on Windows and have used 4 methods: SFTP, WinSCP, Unison and Sublime Text on Linux with X11 forwarding over SSH to Windows (yes you can do this without messy configs and using a free tool).
The fourth way is the best if you can install software on your Linux machine.
The fourth way:
on Windows
SSH to your Linux box
On your linux box, install Sublime Text 3. Here's
At the command prompt, start sublime with subl
That's it! You now have sublime text running on Linux, but with its window running on your Windows desktop. This is possible because MobaXterm handles the X11 forwarding over SSH for you so you don't have to do anything funky to get it going. There might be a teeny amount of a delay, but your files will never be out of sync, because you're editing them right on the Linux machine.
If you can't install software on your Linux box, the best is Unison. Why?
It's reliable and doesn't care which editor you use
You can create custom ignore lists
Install the
Sublime Text package. This package requires a license.
Create a new folder
Open it as a Sublime Text Project.
In the sidebar, right click on the folder and select Map Remote.
Edit the sftp-config.json file
Right click the folder in step 1 select download.
Work locally.
In the sftp-config, I usually set:
"upload_on_save": true,
"sync_down_on_open": true,
This, in addition to an SSH terminal to the machine gives me a fairly seamless remote editing experience.
Install and run
Go to Preferences (Ctrl+Alt+P) and click on Transfer, then on Add. Name the preset.
Set the transfer mode to binary (you don't want line conversions)
Set file modification to "No change"
Click the Edit button next to File Mask and setup your include and exclude files and folders (useful for when you have a .git/.svn folder present or you want to exclude build products from being synchronized).
Connect to your remote server and navigate to the folder of interest
Choose an empty folder on your local machine.
Select your newly created Transfer settings preset.
Finally, hit Ctrl+U (Commands > Keep remote directory up to date) and make sure "Synchronize on start" and "Update subdirectories" are checked.
From then on, WinSCP will keep your changes synchronized.
Work in the local folder using SublimeText. Just make sure that Sublime Text is set to guess the line endings from the file that is being edited.
I have found that if source tree is massive (around a few hundred MB with a deep hierarchy), then the WinSCP method described above might be a bit slow. You can get much better performance using . The down side is that Unison is not automatic (you need to trigger it with a keypress)
and requires a server component to be running on your linux machine. The up side is that the transfers are incredibly fast, it is very reliable and ignoring files, folders and extensions are incredibly easy to setup.
15.1k34473
As a follow up to @ubik's answer, here are the three simple (one-time) steps to get the 'subl' command working on your remote server:
[Local] Install the rsub package in Sublime Text using the
[Local] Execute the following Bash command (this will set up an , which is rsub's secret sauce):
printf "Host *\n
RemoteForward .0.1:52698" && ~/.ssh/config
[Server] Execute the following Bash command on your remote server (this will install the 'subl' shell command):
sudo wget -O /usr/local/bin/subl /aurora/rmate/master/ sudo chmod +x /usr/local/bin/subl
And voila! You're now using Sublime Text over SSH.
You can open an example file in Sublime Text from the server with something like subl ~/test.txt
I am on MaxOS, and the most convenient way for me is to using CyberDuck, which is free. You can connect to your remote SSH file system and edit your file using your local editor. What CyberDuck does is download the file to a temporary place on your local OS and open it with your editor. Once you save the file, CyberDuck automatically upload it to your remote system. It seems transparent as if you are editing your remote file using your local editor.
You can try something that I've been working on called ''.
It will allow you to open up files/folders in Sublime Text (or any local editor really) over an SSH connection and automatically synchronize changes to the remote machine.
It should work on almost all POSIX systems (I myself use it from OS X to connect to Linux machines and edit files in Sublime Text).
It's free and open source.
I'd love some feedback.
For more information: it's basically a Git/SSH mashup written in Python that allows you to edit files and folders on a remote machine in a local editor.
You don't have to configure kernel modules, you don't need to have a persistent connection, it's all automatic, and it won't interfere with existing source control because it uses an out-of-worktree Git repository.
Also, because it's built on Git, it's extremely fast and supports automatic merging of files that might be changing on both ends, unlike SSHFS/SFTP which will just clobber any files with older timestamps.
I've been working on a project called . It still needs some work, but it's open source and I've been using it every day for a couple of years. I'm also working on a native OS X version I'm called
Right not it's OS X only but it should be easy to add support for Linux, and possibly Windows too.
It works by watching file system events and it uses to
to sync a project folder on your local machine and a server.
I tried the other solutions like osx fuse, Expand Drive, Transmit, several solutions that used rsync, etc. They all work 'OK' for small projects, but if you're working with a lot of code they
did not work for me.
A lot of the file system options do caching to improve performance, which is fine, until it's not. Like if you're working with other people and someone else changes the files on the server.
I also ran into issues if I was on a flaky or slow network where I'd end up with empty files. Or file that didn't sync, then t hopefully you committed recently. Using git solves this problem because it checks each commit's integrity.
Two bonus features:
You end up with a commit for every save. It's not super useful but if you ever have to go back in time you can.
It works with any text editor.
Another mac solution similar to osxfuse is to just use Transmit FTP client from Panic Software, which allows you to mount a remote folder as a local disk.
It supports SFTP, which is very secure.
I know this is way old, but I have a really cool way of doing this that is worth sharing.
What is required in
These are simple instructions
Open Winscp.exe and login to my desired remote
server (I have
found that it's important to login before attaching ... ).
In the preferences for Winscp -
two settings to change.
Choose Explorer type interface and rather than Commander - so you don't see local files.
Unless you want to (but that seems like it would suck here).
Set up Sublime as your default editor.
With ConEmu open, right click the tab bar and select the option Attach to....
A dialog box will open with your running applications.
Choose, Winscp and select OK.
ConEmu will now have an open tab with Winscp displaying your remote files.
Right click on the Winscp tab and choose New console....
When the dialog box opens, enter the path to the Sublime executable on your system.
Before you press Start, In the box that says New console split select the radio button to right and set the percentage.
I usually choose 75%, but you can customize this to your liking, and it can be changed later.
Now you will see Sublime in the same window running to the right of WinScp.
In Sublime, from the View menu, choose Sidebar-&Hide Sidebar, and bam, you now have remote files in exactly the same manner as you would locally - with a few caveats of course that comes with editing anything remotely.
Winscp is lightening fast though.
I have two monitors - left monitor display's Chrome browser, right monitor displays code editor.
Also in ConEmu, I create another tab and ssh into the site I'm working on, so I can do things like run gulp or grunt remotely and also manipulate files from the command line.
Seriously sped up development.
Here's a screenshot:
Depending on your exact needs, you may consider using BitTorrent Sync. Create a shared folder on your home PC and your work PC. Edit the files on your home PC (using Sublime or whatever you like), and they will sync automatically when you save. BitTorrent Sync does not rely on a central server storing the files (a la Dropbox and the like), so you should in theory be clear of any issues due to a third party storing sensitive info.
You can use sftp to mount the remote directory on your location machine and then simply open the files using Sublime text the way you normally would.
To mount remote directory using sftp, enter the following on your L
sftp://user@:22/home/user/code_directory
It might seem slow depending on your internet speeds. But this worked for me.
Your Answer
Sign up or
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Post as a guest
By posting your answer, you agree to the
Not the answer you're looking for?
Browse other questions tagged
Stack Overflow works best with JavaScript enabledAlways download from a known torrent site, such as torrentz, or kickass.
Only use clients that allow you to choose specific files to download, and not automatically download everything contained in the torrent. (Good ones to use include uTorrent, BitTorrent, and Bitcomet).
If you download a .rar file or other compressed file, before extracting, see what's in the .rar file first.
If a torrent includes an .exe file and a .txt file containing a product serial number: Only download the .txt from the torrent. Download a trial version of the program from the product website or 3rd party internet site. Then use the downloaded serial number to unlock the program. This ensures that no potentially harmful .exe files are torrented.
If the torrent contains an .exe file, download it to a test computer first, then disconnect the test computer from the internet to avoid virus spread, and run the file. If it is clean, download it to your real computer. If you don't have a test computer, always scan it with your anti-virus.
On the site where you get the torrent, read the comments, if the people are commenting that it is a virus, don't get it, if there are comments saying it works and is clean, go ahead and get it!
Can you tell us about
Frosting Icing and Fondant?
Can you tell us about
Can you tell us about
Microwave cooking?
Can you tell us about
Mudding and tiling?
Tell us everything you know here. Remember, more detail is better.
Please be as detailed as possible in your explanation. We will take your detailed information, edit it for clarity and accuracy, and incorporate it into an article that will help thousands of people.Don't say: Eat more fats.
Do say: Add fats with some nutritional value to the foods you already eat. Try olive oil, butter, avocado, and mayonnaise.
Virus programs are usually .exe files. Use your own discretion when downloading these.
Make sure your antivirus is up to date, or that you actually have one. A 3rd party firewall to replace the windows firewall helps.
The safest way to download games, is downloading an .iso image file of the game and then burning it to a disc using a program such as ImgBurn, creating a replica of the actual game disc.
There is no way to be sure that what you are downloading from a torrent file is safe.
Downloading copyrighted or otherwise private or restricted material is against the law. However, you can go to websites such
for torrents which are not under any copyright laws.
A torrent client
Anti-Virus software
A test computer (optional)
A computer with a Virtual Machine(VM) on it
Thanks to all authors for creating a page that has been read 439,548 times.
439,548&views
18 Co-authors
Meet , a college student and wikiHow
and , who has been active in the community for over 8 years. He has started 32 articles, patrolled over 48,600 edits, and contributed to wikiHow code as an engineering intern. He also enjoys helping with administrative backlogs, , and working on content to improve readability, particularly in articles’ . He’s most proud of his work on , which has been featured and translated into 5 different languages. He says that, in the wikiHow community, the fusion of friendly people with an ideology of knowledge philanthropy gives him a sense of belonging, a desire to stay connected and keep growing the . To new editors, he says: “Don't worry about making mistakes. Everything is fixable. If you think you can leave an article better than the way you found it, I'd encourage you to do just that. A little bit goes a long way toward achieving !”
Becomean Author!The Pirate Bay is a Swedish file-sharing website that hosts magnet links and torrents. While notorious for facilitating the sharing of commercial content without the copyright owner's permission, it's also a popular website for sharing legal content via torrents, and you may choose to distribute your music, photos, ebook, or anything else on the site. Many content authors have found that releasing their content for free via torrents allows them to gain widespread publicity, which can be beneficial for those seeking further recognition of their work.
Create an account on The Pirate Bay. Click 'Register' on the homepage of The Pirate Bay at . Enter in a username, email address, and password.
2Once registered and logged in, scroll down and click on 'Upload torrent' at https://thepiratebay.se/upload.
Browse for the torrent you would like to upload. If you only have the content you wish to upload but have not yet created a torrent for it, follow the steps in the wikiHow article .
Select a torrent name. Usually it is fine to leave this blank, as it will use the name you used when saving the torrent file.
Select a category. The categories offered are Audio, Video, Applications, Games, Porn, or Other. The Pirate Bay has certain restrictions on what can be uploaded into each category. For instance, if you are uploading a torrent into the Music category but it contains a text file with information, you will receive an error message. Such torrents should be categorized under Audio & Other.
Choose whether you would like to upload anonymously. If you are leaking something or otherwise feel you would face retribution, you may choose to remain anonymous. Perhaps you are just humble and would like to give your work to the online community without receiving any recognition.
Add tags to your upload. Although optional, the addition of tags helps people find your torrent when searching. Suggestions for tags include the name of the work, your name, and/or the genre of the work.
Write a description. Describe what you are uploading, what it contains, where one can find more information, and any other information you find relevant.
what you have written. The Pirate Bay no longer allows editing torrent descriptions, so if you make a mistake, you will have to request that your torrent be deleted and then re-upload it.
for at least a few days until other users have begun seeding it.
Can you tell us about
Can you tell us about
Removing paint?
Can you tell us about
Iced chocolate?
Can you tell us about
Tell us everything you know here. Remember, more detail is better.
Please be as detailed as possible in your explanation. We will take your detailed information, edit it for clarity and accuracy, and incorporate it into an article that will help thousands of people.Don't say: Eat more fats.
Do say: Add fats with some nutritional value to the foods you already eat. Try olive oil, butter, avocado, and mayonnaise.
You may wish to give away a part of your content or limit it in some form as an enticement for users to buy the full version. For books, you may wish to give away an excerpt, or for games, a demo.
If you're getting an odd error or otherwise have an issue, your question may be answered in the .
It may help to look at other torrents in the category into which you are uploading your torrent to see what kind of information is included, inside the torrent and in the description. It is often smart to include a readme.txt with the information you placed in the description, so people will get the information even if they download the torrent from a different website. However, this may not be allowed in some categories and may cause a "Error: Filename error" message to be displayed.
Some BitTorrent clients such as uTorrent allow you to use a feature called "Initial Seeding", which tries to help a peer complete the download as soon as possible to gain more seeds.
From time to time, The Pirate Bay is taken offline due to hardware failures, police activity, or denial of service attacks. In addition, the website may be unavailable due to content restrictions in some countries. Consider uploading your torrent to other popular torrent websites or allowing people to download it directly from
If you lose one of the original files or they are corrupted before someone else can completely finish downloading your torrent, it will forever be dead, as no one will possess a complete copy of the data. Note that The Pirate Bay only possesses limited information about your torrent, and in some cases only the torrent hash, a string of characters used to identify the file. The Pirate Bay will not host a copy of your data.
to the work you are uploading, it is under a license such as
that allows sharing, it is in the public domain, or that you have permission from the copyright owner. If not, sharing it is probably illegal where you live.
Thanks to all authors for creating a page that has been read 171,930 times.
171,930&views
18 Co-authors
Becomean Author!

我要回帖

更多关于 torrent hash什么意思 的文章

 

随机推荐