<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Michael S. Marmor on Medium]]></title>
        <description><![CDATA[Stories by Michael S. Marmor on Medium]]></description>
        <link>https://medium.com/@michaelmarmor?source=rss-10c0e52de50------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*vvBWATz3NbIYF6Cqvc2OwQ.jpeg</url>
            <title>Stories by Michael S. Marmor on Medium</title>
            <link>https://medium.com/@michaelmarmor?source=rss-10c0e52de50------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 15:12:19 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@michaelmarmor/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[GNU Emacs 101]]></title>
            <link>https://medium.com/@michaelmarmor/gnu-emacs-101-7332c936b8e5?source=rss-10c0e52de50------2</link>
            <guid isPermaLink="false">https://medium.com/p/7332c936b8e5</guid>
            <category><![CDATA[how-to]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[emacs]]></category>
            <category><![CDATA[windows-10]]></category>
            <category><![CDATA[text-editor]]></category>
            <dc:creator><![CDATA[Michael S. Marmor]]></dc:creator>
            <pubDate>Thu, 05 Oct 2017 11:37:53 GMT</pubDate>
            <atom:updated>2017-10-05T11:37:53.935Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZPWhfw8wfDiiOELGNQOWMg.png" /><figcaption>Yes, GNU Emacs is still worth learning in 2017.</figcaption></figure><h4>(With an admitted bias for Windows 10 users)</h4><p>EVERY PC POWER USER should have a full-featured text editor in their toolbox. There are many advanced editors to pick from, but none of them are as flexible and customizable as GNU Emacs. Some of the new programming tools from <a href="https://www.jetbrains.com/">JetBrains</a> are amazing for specific programming languages, and I’m growing to like <a href="https://code.visualstudio.com/">VS Code</a> for certain tasks, but I always fall back to GNU Emacs as my general purpose editing tool. It is old software, but still worth learning in 2017. GNU Emacs 25.3 was recently released, so if you are new to Emacs and want to give the latest version a try let me explain what you need to know and walk you through the basics.</p><p>Emacs is old-school software, but in the right hands it can be a fire-breathing beast with ninja-like powers. Watching an Emacs master edit text is like watching an experienced sushi chef create razor thin slices in a blur of high-speed motion. Like the sushi knife, Emacs is a professional-level tool and it rewards those who learn to use it properly. Learning to use Emacs takes time and practice, but the results are worth it. Emacs is <em>old</em>. It was in wide use before the mouse was common, it is older than current keyboard shortcuts such as ctrl-c and ctrl-v, and it even predates the standardized keyboard layout we use today. There is a good chance that Emacs is older than you are. Since most of the software you use every day sticks to modern conventions, using software like Emacs that does things its own way can be bewildering at first, even infuriating. But reprogramming your brain and muscle memory to avoid the mouse and learn a few dozen powerful new and unfamiliar keystrokes to rapidly navigate and modify your text is a key part of what makes editing in Emacs so blazing fast. Follow this step-by-step guide to install Emacs and begin the process of unleashing its hidden powers.</p><h4>INSTALLING GNU EMACS</h4><p>Start by visiting <a href="https://www.gnu.org/software/emacs">the official home of GNU Emacs</a><a href="https://www.gnu.org/software/emacs.">.</a> Pre-complied binaries for Windows are <a href="http://ftpmirror.gnu.org/emacs/windows">available here</a><a href="http://ftpmirror.gnu.org/emacs/windows.">.</a> Download the file emacs-XX.X-x86_64.zip (where XX.X is the latest official release version number, currently 25.3). Linux users can install Emacs using their package manager, and Mac OS X users should check out <a href="https://emacsformacosx.com/">Emacs For Mac OS X</a>.</p><p>The Windows version of Emacs does not have an installation program. Instead, you install the software by unpacking a compressed file into a folder of your choice and running the software directly from that folder. I use 7-Zip to decompress the downloaded file into C:\emacs. I recommend that you choose a folder location like C:\emacs that does not contain spaces in the directory path. Once you have downloaded and unpacked Emacs, you can run the editor by double-clicking on runemacs.exe in the bin folder. Also in the bin folder is a program called addpm.exe which will create a shortcut for Emacs in the Windows start menu.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/569/1*dzACB5FzB1X-tFy5ojs30A.png" /><figcaption>GNU Emacs 25.3 on Windows 10 without any configuration.</figcaption></figure><h4>START HERE</h4><p>The single most important thing you can do to get off to a good start with Emacs is to go through the built-in tutorial. Here are three ways to start the tutorial: click the words Emacs Tutorial on the default screen that comes up when you start Emacs (under the cursor in the image above); use the menu to select Help → Emacs Tutorial; or use the keyboard to type ctrl-h, then release ctrl-h and type the character t. The tutorial takes most people about an hour-and-a-half to complete. Yes, it is boring, and yes, you may want to roll your eyes when subjects like “scrolling” are introduced. But trust me here and just do it. Finish the entire tutorial and try to internalize what it is showing you. In about the same time it takes to watch the movie <em>Ex Machina</em> you can lay the foundation for mastering the world’s most powerful text editor.</p><h4>CONFIGURING EMACS</h4><p>Emacs is insanely configurable, which is one of its great strengths. It makes sense to complete the tutorial and learn the basics before you start customizing Emacs. Once you have finished the tutorial and spent some time practicing basic navigation, working with buffers, files and editing, you can start to change the way Emacs looks and behaves (check out the tricked-out Emacs image at the top of this article!).</p><p>When Emacs starts it looks for an initialization file called .emacs (pronounced “dot Emacs”) which contains code for any customizations that you want loaded. This code is written in the Emacs Lisp programming language, and is used throughout Emacs to define both major functionality and minor configurations. So far you have not needed a .emacs file since you have used the default settings.</p><p>Let’s set up our .emacs file now. On Windows the best practice is to create a “home” folder for our .emacs file and then set up a Windows environment variable called HOME that will tell Emacs how to locate the folder. I keep my Emacs configuration in a folder called POSIX_Home in my documents folder. Once you create the folder that will hold your configuration file, you can type env into the Windows start menu search box. As you type you should see a shortcut appear that says <em>“Edit the environment variables for your account”</em>. Clicking this shortcut will open the Environment Variables dialog from the Control panel. In the User variables section click New and type HOME into the Variable name box. Enter the full path of your folder into the Variable value box. On my system this is C:\Users\Michael\Documents\POSIX_Home (see image below). Click OK and then OK again to save your changes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/673/1*eyhQqYU2WmX9FDu2dUsrwA.png" /><figcaption>Setting up the HOME environment variable on Windows 10 to point to my POSIX_Home folder where Emacs will look for the .emacs configuration file.</figcaption></figure><p>Emacs now knows where to look for the .emacs initialization file, but you have not yet created the file. Most experienced Emacs users create their initialization files by hand, carefully adding to them over time as they use Emacs in different ways. The built-in Emacs documentation contains tons of info about customizing Emacs in this way. You can also find many blogs and websites that provide sample .emacs files that you can use as models when you are ready to hand code your own .emacs file. Another option is an Emacs feature called Customize that will create the .emacs file for you based on selections you make from a ridiculously clunky user interface built-into Emacs. Many people start using Customize for simple tweaks and then manually add their own code to the .emacs file as they gain experience and want more control over their configuration.</p><h4>CREATING .EMACS WITH CUSTOMIZE</h4><p>Let’s use Customize to set up a dark color theme. You will use the mouse and menus for this, but it is possible to do everything I describe without touching the mouse or menus. Using the mouse in Emacs, select Options → Customize Emacs → Custom Themes. Emacs shows you a list of installed themes. Use the mouse to check the box next to misterioso and then click the gray button that says <em>“Save Theme Settings”</em>. Emacs will create a .emacs file in your home folder and write code into the file to automatically start the misterioso color theme when Emacs starts.</p><p>Now let’s use the search feature in Customize to turn off the Emacs toolbar and hide those ugly and redundant buttons. This time select Options → Customize Emacs → All Settings Matching… and type tool bar and Enter when prompted in the minibuffer. Out of a huge number of settings, Customize will show you only the handful that match the words <em>“tool bar”</em>. Use the mouse to click the arrow to the left of <em>“Tool Bar Mode”</em> exposing the buttons. Click the <em>“Toggle”</em> button and you will see the word <em>“on” </em>to the right of the button switch to <em>“off”</em>. Next, click the gray “<em>Apply and Save”</em> button which will write this change to your .emacs file. After confirming Yes to the request to save all settings, close Emacs. Restart Emacs to test your changes, noticing the color theme and the refreshing lack of ugly tool bar buttons, then take a look at the .emacs file so you can see the code that Customize generated for you. (Customize generated the .emacs file in the folder you created earlier before you set up the environment variable — mine was called POSIX_Home which I put in my documents folder.)</p><h4>EDITING .EMACS BY HAND</h4><p>Now let’s manually enter some simple Emacs Lisp code that will accomplish the same two changes without using the Customize system. Open the .emacs file in Emacs if it is not already open. Delete all the code that Customize wrote for you so that the .emacs file is empty. Add these two lines to your .emacs file:</p><p>(load-theme ‘light-blue)</p><p>(tool-bar-mode -1)</p><p>For variety we have chosen the light-blue theme instead of misterioso, but you could also write (load-theme ‘misterioso) if you like that theme better. Pay attention to the parentheses and important single apostrophe before the theme name, and the minus one (not the letter L) after tool-bar-mode. Save this file with ctrl-x ctrl-s and then restart Emacs to see your changes. You can see that manually customizing Emacs does not have to be hard once you know what options are available and what code is needed in the .emacs file to bend these features to your will. You can learn a lot from example .emacs files you find online and the detailed descriptions in the Emacs manual.</p><p>If you want to go back to the default Emacs configuration you can delete the .emacs file or better, delete the code you entered and keep the .emacs file handy for any future changes. Emacs will give you an error message if your .emacs file is totally empty, so if you do delete your code you can put a comment, starting with a semicolon, into the file, such as</p><p>;My Emacs Configuration</p><p>to keep it from being empty.</p><h4>GETTING MORE POWERFUL</h4><p>So other than having an ancient user interface and non-standard keyboard shortcuts, why is Emacs so powerful? The short answer is that Emacs provides a well-documented platform, a programming language, and a set of features that allow developers to build specialized text editing “modes”. These modes turn Emacs into a thousand specialized editing tools, all optimized for the language, text format or unique characteristics of the files you want to edit. Emacs comes with many modes built-in, but there are a lot more you can download and install. To harness the full power of Emacs you need to install modes that will be useful to you, and make sure your .emacs file loads them with a configuration you like. Emacs contains its own package manager to make this process easier. This said, as with everything in Emacs there are multiple ways to do it. In this case there are several package repositories to pick from and configuring the system is a multi-step process. You might want to <a href="https://www.emacswiki.org/emacs/InstallingPackages">start here</a> or search for “gnu emacs package manager” to find an up-to-date tutorial and examples of setting up the package manager and installing a few packages.</p><p>Good luck with Emacs, and let me know if you get hooked.</p><h4>MAKING EMACS WORK LIKE WINDOWS</h4><blockquote>If teaching your fingers new keyboard shortcuts for cut, copy, paste and undo is out of the question, then you should know about CUA mode. CUA stands for Common User Access and it makes Emacs behave more like Windows in a few important ways. Turning on CUA mode from the Emacs Options menu or by adding (cua-mode t) to your .emacs file will give you Windows-style editing keyboard shortcuts. You can learn more about CUA mode within Emacs by typing ctrl-h f cua-mode and then Enter.</blockquote><h4>EMACS RESOURCES</h4><blockquote>— The official <a href="http://www.gnu.org/software/emacs/">GNU Emacs website</a>.</blockquote><blockquote>— The <a href="http://www.gnu.org/software/emacs/manual/emacs.html">GNU Emacs Manual</a> is the authoritative guide to GNU Emacs. You can read it inside of Emacs with ctrl-h r or on the web.</blockquote><blockquote>— The <a href="http://www.emacswiki.org/emacs?interface=en">EmacsWiki </a>has lots of tips for using and customizing Emacs.</blockquote><h4>Learned something? Click the 💚 to say “thanks!” and help others find this article.</h4><p><em>You can also follow me </em><a href="https://medium.com/@michaelmarmor/"><em>here on medium</em></a><em> and learn more about me </em><a href="http://www.michaelmarmor.com/"><em>on my website</em></a><em>. If you didn’t enjoy this, I’d love to know why in the comments.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7332c936b8e5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A delightful (and exceptionally nerdy) way to move files between devices]]></title>
            <link>https://medium.com/@michaelmarmor/hfs-http-file-server-3d29934650f2?source=rss-10c0e52de50------2</link>
            <guid isPermaLink="false">https://medium.com/p/3d29934650f2</guid>
            <category><![CDATA[software]]></category>
            <category><![CDATA[file-transfer]]></category>
            <category><![CDATA[tools]]></category>
            <category><![CDATA[windows]]></category>
            <category><![CDATA[utilities]]></category>
            <dc:creator><![CDATA[Michael S. Marmor]]></dc:creator>
            <pubDate>Mon, 10 Jul 2017 20:26:56 GMT</pubDate>
            <atom:updated>2017-07-10T20:26:56.185Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/934/0*rlnkWPE3P0DA3_rb." /><figcaption>Meet the HFS HTTP File Server: A tiny, free, open source, portable Windows program that can quickly copy files between devices or across the globe.</figcaption></figure><p>iTunes was driving me absolutely <em>bonkers</em>.</p><p>I just wanted to move some ebooks from a PC to an Apple device, but the accounts didn’t match and iTunes had a <strong>bad attitude</strong> about that. Long story short, I discovered <em>LOTS</em> of ways to move the books without iTunes, but in the process of solving the problem, I discovered a tiny, free, portable, and really useful tool. Now that I know about it, I keep it on a USB drive on my keychain. I’ve used it dozens of times and it has saved the day more than once. If you’re technically minded and use Windows machines I’ll show you what I discovered. Here we go…</p><h4>Meet the HFS HTTP File Server</h4><p>HFS is a tiny Windows program that will let you directly transfer files from your PC to any smart phone, tablet, Mac, Chromebook or another PC without installing any software on the receiving device. It has the Ninja stealth of a portable app that can set up a file server running off a Thumb Drive in only a few seconds.</p><p>HFS is a free, open source, easy to use drag-and-drop file server for personal file sharing. It is essentially a portable web server application designed for sharing files instead of web pages. It requires no installation, little or no configuration, and can easily move large files from your PC to other computers, mobile devices, and even virtual machines. Any device with a web browser can connect to HFS, which will present a simple HTML page that lists the shared files and allows them to be downloaded. (HFS stands for HTTP File Server and has nothing to do with Apple’s similarly abbreviated Hierarchical File System.)</p><p>You can use HFS on your Wi-Fi or local network with almost no configuration. This is a great way to transfer that huge ebook or video file from your PC to your iPad without battling with iTunes. If you are willing to set up port forwarding on your router, HFS has advanced features for connecting to the public Internet allowing anyone in the world to download, or upload, files directly to your PC. HFS will automatically find your public IP address, allow you to set up user accounts, limit bandwidth used, and even work with dynamic DNS services so you can have a consistent URL to connect to HFS even when your ISP changes your home IP address.</p><h4><strong>Why not Dropbox or FTP?</strong></h4><p>There must be a hundred ways to transfer files, so why bother with HFS? As it turns out, HFS is often faster to setup and use than most alternatives. HFS has the advantage of facilitating a high-speed direct connection between your PC and the downloading computer or device. This eliminates the need to upload a file to a remote service and then download it again. FTP software such as FileZilla Server also allows a direct connection, but it is more complex to set up than HFS and quite a bit harder to get working with your firewall and router if you want to use it on the public Internet. Using the web makes sense since web browsers are available on most devices, and HFS makes sense because it is free, easy to use, allows a direct connection and offers a lot of flexibility in a small, portable, ninja-like package.</p><h4><strong>Try it Out!</strong></h4><p>Let’s take HFS for a spin. We will need a PC running any modern version of Windows. HFS is reported to work on every version from Windows 98 to Windows 10.</p><p>Start by downloading hfs.exe <a href="http://www.rejetto.com/hfs/?f=dl">from this link</a>. The entire program is just over 2 MB, which is impressive when you consider that many phones these days take single photos that are larger than that.</p><p>HFS does not have an installer, so we can keep the hfs.exe executable file anywhere on our system. We can run it right from the Desktop, we can run it from a USB Thumb Drive we keep on a keychain, or we can copy it to the C:\Program Files\ folder like traditional installed software. HFS does not require Administrator privileges to run, but we will need Administrator access if we want to copy the program to C:\Program Files\.</p><p>Massimo Melina, the author of HFS, has not digitally signed the program, so you should expect to see a security warning from Windows that it is from an unknown publisher. Also, if you are using Windows Firewall, the first time you run HFS Windows may open a dialog box asking if it should allow hfs.exe to communicate on private and public networks. HFS is useless if it cannot connect to the network, so you should give it permission.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/541/0*qJ6BbkHCOQUHB6CW." /></figure><p>Next HFS will open an Option dialog box asking if you want an “Add to HFS” shortcut on your Windows context menu when you right-click on files. Since we are just trying out HFS, go ahead and select No. You can always add this later from the application if you find yourself using HFS a lot. (You do this in Expert mode by selecting: Menu → Other options → Integrate in shell context menu).</p><p>For such a tiny program, HFS has a surprising number of features. To keep the program simple and focused on how the majority of people use it, HFS starts in “Easy mode”, which hides more advanced functionality. Let’s explore some of the common uses of HFS in Easy mode.</p><p>Pick a few files that you do not mind sharing and drag and drop them onto the Virtual File System pane in HFS. To keep things simple for now, do not drag and drop a folder, only individual files.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/806/0*XaTn8ltktwcBqdn7." /></figure><p>Click anywhere in the Virtual File System pane to make sure that your files are not selected and then click the “Open in browser” button, which will open your default web browser to <a href="http://localhost/">http://localhost/.</a> You should see your shared files in a simple web interface.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/939/0*fzBuy0QJzeRy3bnj." /></figure><p>At the moment your PC is acting as both the server (HFS) and the client (web browser), which is not that useful, but it does demonstrate how HFS works. The web interface allows you to click on files to download them individually, or to select multiple files which can be downloaded in a tar-format archive (you can open tar files on Windows using 7-Zip). Notice that with the default settings you do not need a login to gain access and there is no ability to upload or delete files, only download them.</p><p>As long as the firewall software on your PC allows connections to HFS on port 80, any web browser on any device on your local network should be able to view the web interface and download files. Give this a try on another device on your network, such as a laptop, an iPad or your phone. Use the web browser on this device and go to the URL shown in the HFS URL bar.</p><h4><strong>Using HFS to Move an eBook to an iPad</strong></h4><p>In the example below we share a few epub format ebook files in HFS by dragging them into the Virtual File System pane. We open the address that HFS gives us (in this case <a href="http://10.0.0.7)/">http://10.0.0.7)</a> on an iPad using the Safari web browser. The web interface looks very similar to how it looked in Chrome on the PC. We tap the shared Dracula ebook, and the iPad begins downloading the file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GKwSSOBYy7nX_kWr." /></figure><p>The iPad asks us which app we want to use to open the book file. We tap Open in “iBooks”, which saves a copy of the book in iBooks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*t_ARFApYgae4bU7w." /></figure><p>We have successfully transferred the book from the PC to the iPad and can start reading it in iBooks</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2exq14X2Nuc4Gpb4." /></figure><p>The HFS Log pane records the request made by the iPad and shows the transfer speed of the file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/622/0*wsRoleGir0YqCaXE." /></figure><h4><strong>Using Folders and Accounts and Enabling Uploads</strong></h4><p>We have access to additional functionality when we use folders. Create a new folder on the Desktop called WebUpload and drag it into the HFS Virtual File System pane. HFS may display a dialog box asking if you want ANYONE to be able to upload to this folder. If it does, be conservative and click No. It is far better to set up an account to allow upload access only to specific users. We will do that below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/354/0*oWfuW-kDmUrQ20hI." /></figure><p>When we drag a folder into HFS it asks if we want a Real folder or a Virtual folder. Selecting a real folder provides the most flexibility, allowing web users to upload files to the folder if we grant them access. Let’s try this now. Click Real folder when HFS asks what kind of folder we want.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/369/0*bZOu9JvoCeeQVRGb." /></figure><p>Right click the WebUpload folder in HFS, select Properties and then select the Upload tab. From this tab we can both create users and grant them upload permissions. We will create a user called Anna and give her the ability to upload files into the WebUpload folder. To do this click New account and enter the Username Anna and a password, and click OK.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/803/0*oa_cqXo1TFZxyqS-." /></figure><p>HFS will show the Anna user with a check-mark in the Upload tab.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/395/0*a4s2X9qTukLBcxWl." /></figure><p>Click OK to save your changes.</p><p>Click “Open in browser” to view the web interface. Note that there are no upload buttons in the interface because we have not yet logged in. Go ahead and click Login and enter Anna’s login information. In the Actions section of the web interface you should now see an Upload button that will place any uploaded files into the WebUpload folder.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/262/0*UAWM-G1ZZ3gy4Zdh." /></figure><p>We can add granular security by allowing only certain users to access specific folders. We do this exactly the same way we added Upload permissions except this time we check the names of users in the Access tab instead of the Upload tab. Selecting Anna in the Access tab and clicking OK will allow only Anna to see this folder. We can restrict access to the entire website to Anna by right clicking on the web root “/”, selecting Properties, and checking Anna in the Access tab.</p><h4><strong>Going Global</strong></h4><p>Before we talk about setting up HFS for use on the public Internet we need to talk about security. We obviously need to be careful when allowing Internet traffic to directly access our PC. It is critical that we use Windows Update and ensure that our system has all the most recent security patches installed. We highly recommend setting up HFS with a sufficiently complex root level password. Also, be aware that just creating an account in HFS is not enough to protect your files, you must follow the directions in the previous section to right click on a folder or file and set the permissions to explicitly require a login to access the folder or file. Finally, we recommend testing your system from outside your network to make sure it works as you expect.</p><p>While we are talking about security, you should know that HFS can support HTTPS and SSL, but it requires setting up an additional tool called Stunnel. You can <a href="http://www.rejetto.com/wiki/index.php?title=HFS:_Secure_your_server">read about Stunnel here</a>. If you are not using SSL, be aware that your file transfers are not encrypted.</p><p>To allow users outside of your home network to access HFS over the Internet you generally need to setup port forwarding on your router. Because some ISPs block port 80, it is usually a good idea to pick a higher port, such as 8000. To set this up on our Comcast router, we start by logging into the router’s web interface and selecting Advanced and Port Forwarding. You router will likely have a different interface, but the concept should be the same.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/997/0*DJASBNcIxzLAkfSw." /></figure><p>We enable port forwarding and add a service directing all traffic on port 8000 to the IP address shown in the HFS address bar.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/704/0*VYavJfclwD-zToqq." /></figure><p>The router shows port forwarding enabled.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/713/0*6f8WZcePKjC5Ukey." /></figure><p>In HFS, click on the “Port: 80” button and change the port to 8000. HFS contains a feature to test Internet access and tell you the IP address for browsers to use. To activate it, select Menu → Self Test and follow the prompts. If we see the test successful message, we should be all set to use HFS to connect to our PC from anywhere on the Internet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/403/0*_YaGTU-xCGA6RlYu." /></figure><p>When we are done allowing Internet users to directly connect to our PC we should immediately turn off port forwarding on our router to improve the security on our network.</p><p>When we exit HFS it will ask if we want to save our current file system. Saving it will create a vfs file that will remember our shared directory structure. Note that other settings, including information about users is stored in the Windows registry by default. This can be saved to a file instead, or erased from the registry by putting HFS in Expert mode and selecting the appropriate command from Menu → Save options.</p><p>Whoa. That was way longer than I thought it would be when I started writing. If you made it this far, thanks for sticking with me! I hope you find HFS as useful as I have.</p><h4>Learned something? Click the 💚 to say “thanks!” and help others find this article.</h4><p><em>You can also follow me </em><a href="https://medium.com/@michaelmarmor/"><em>here on medium</em></a><em> and learn more about me </em><a href="http://www.michaelmarmor.com/"><em>on my website</em></a><em>. If you didn’t enjoy this, I’d love to know why in the comments.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3d29934650f2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>