<?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 Douglas Muth on Medium]]></title>
        <description><![CDATA[Stories by Douglas Muth on Medium]]></description>
        <link>https://medium.com/@dmuth?source=rss-a7ae5f998e13------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*wgfJVe-TUb_nRO65x2yijg.png</url>
            <title>Stories by Douglas Muth on Medium</title>
            <link>https://medium.com/@dmuth?source=rss-a7ae5f998e13------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 07:43:00 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dmuth/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[So, You Think Someone Should Be Banned From A Furry Con]]></title>
            <link>https://dmuth.medium.com/so-you-think-someone-should-be-banned-from-a-furry-con-1fadff95719b?source=rss-a7ae5f998e13------2</link>
            <guid isPermaLink="false">https://medium.com/p/1fadff95719b</guid>
            <category><![CDATA[furry-fandom]]></category>
            <category><![CDATA[risk-management]]></category>
            <category><![CDATA[governance]]></category>
            <category><![CDATA[furry-con]]></category>
            <category><![CDATA[furry-convention]]></category>
            <dc:creator><![CDATA[Douglas Muth]]></dc:creator>
            <pubDate>Sun, 02 Aug 2026 17:34:33 GMT</pubDate>
            <atom:updated>2026-08-02T17:34:33.790Z</atom:updated>
            <content:encoded><![CDATA[<p>So, you think someone should be banned from a con? Let’s discuss how that works.</p><h3>First, let’s set expectations</h3><p>I want to get this part out of the way: Conventions generally reserve bans for credible risk, repeated misconduct, or clear violations of their policy, based on behavior that is documented, corroborated, or observed by staff. Conventions generally won’t ban someone based purely on speculation or dislike, but they may act on credible patterns of concerning behavior or documented risk.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0LLgxcvkhvjHdm1rlMI9Yg.jpeg" /><figcaption>“This picture is the joke. The rest of this post isn’t.”</figcaption></figure><p>That said, even if a con does not ban a person, conventions do want to be told about possible issues in advance, so that they know a specific person may be a problem down the road. So even though your email to a convention’s Safety department may not result in a ban, you are still doing the con a solid if you let them know about a particular person in advance. It also helps you create a paper trail if that person does escalate at the con and decides to cause you problems there in person.</p><p>Please keep that in mind as you read the rest of this post.</p><h3>Request, don’t demand</h3><p>When contacting a con, the very first thing NOT to do is make demands of the convention. No one likes being told what to do. Emailing a con with demands (“you must ban this person”) tends to be counterproductive. Staff are far more likely to engage with a request framed as concern and information rather than orders or demands.</p><h3>Stick to first hand facts</h3><p>When emailing a con, stick to things you observed first hand. Statements that start with “I experienced” and “I witnessed” are good statements.</p><p>Police reports and court dockets are excellent things to provide. If you are a victim, this is one of those times that talking to the police is a very good idea. Police reports and court records are particularly useful because they are formal, documented accounts made under legal frameworks where false reporting carries penalties. They don’t “prove” what happened on their own, but they are significantly more reliable than informal claims.</p><p>It is also important to understand what a police report is. It is documentation of a complaint. It does not mean an investigation will occur, or that charges will be filed, or the behavior is substantiated. It provides a formal, time-stamped record of an allegation made through a formal channel that is tied to an identifiable party.</p><p>(A related, cautionary note: Do not lie in a police report. Ever. That’s a crime.)</p><p>If you happen to have a Protection Order, Restraining Order, or other form of court order, those are GOLD and should absolutely be sent along in an email to the convention’s Safety Department.</p><p>Statements like “I heard” or “everybody knows” are not helpful. Do not include those in an email.</p><h3>Tell a story, not a conclusion</h3><p>This one is simple–don’t say “this person is a stalker”. Instead, say “this person kept creating accounts after I blocked him and later showed up on my doorstep”.</p><p>Examples of specific and escalatory behavior are often more persuasive than labels. Labels lack context and force staff to do more work to reinterpret your conclusion rather than evaluate and verify behavior.</p><h3>Make it easy to investigate</h3><p>Avoid sending large, unstructured dumps of screenshots. Having a papertrail is good, but I assure you that nobody is going to read through 600 screenshots while checking emails on their phone.</p><p>DO send things like summaries, timelines, names, and dates. You made a police report, right? DO send that along. Do you have any sort of Court Order against this person? Court orders are among the strongest forms of documentation you can provide, because they show that a court has issued a legally binding restriction on that person based on evaluated evidence. Court orders are among the most straightforward forms of documentation for conventions to act on.</p><h3>Understand that bans are risk management</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dGkRyYIX-x0-1xp9D19etw.jpeg" /><figcaption>“Yelling at the decision-maker rarely changes the decision.”</figcaption></figure><p>Cons don’t ban people because they’re unpopular. Cons ban people because they are a risk to others or their presence at the event becomes disruptive to the orderly operation of the convention.</p><p>This means conventions may act even in the absence of criminal behavior, and may also decline action even when behavior is socially unacceptable, depending on policy thresholds and evidence.</p><h3>Risks and tradeoffs conventions consider when taking action</h3><p>Taking action against an individual is not without cost.</p><p>When a convention disciplines or bans someone, any of the following can result:</p><ul><li>Public narratives that may be incomplete or one-sided.</li><li>Increased attention or scrutiny of the convention’s decisions.</li><li>Potential harassment of individual staff members and leadership in rare cases.</li><li>Legal threats / legal action.</li></ul><p>These risks are one reason conventions rely heavily on documented behavior rather than informal reports or rumors. They are also why decisions are not necessarily made quickly or publicly discussed in detail afterward.</p><p>Importantly, these considerations do not overrule safety concerns, but they are part of the overall risk assessment.</p><h3>Timing Matters</h3><p>DON’T wait until 2 days before a con, when organizers are frantic.</p><p>DO reach out WELL in advance. Not only is it less stressful for convention organizers, but it gives the con time to consider other options, which leads to…</p><h3>Recognize that there are intermediate options</h3><p>There are multiple ways to deal with a “problem attendee” beyond “ban/don’t ban”.</p><p>Sometimes a convention will flag someone’s registration and when that person goes to pick up their conbadge, they will be pulled aside and spoken with. Often the conversation is along the lines of “we’ve received some complaints about your conduct towards other attendees online, if you escalate things in person here, you won’t be welcome back”. This can be surprisingly effective.</p><p>Of course it is unlikely you will hear about such things, because…</p><h3>Accept that you may never know what happened</h3><p>This is probably the hardest and most frustrating part of the entire process.</p><p>Conventions almost never discuss disciplinary actions publicly.</p><p>This is primarily to protect attendee privacy and avoid escalating interpersonal conflicts. It also prevents the convention from becoming entangled in disputes about individual cases, where legal risk and reputational concerns can arise depending on what is disclosed.</p><p>Yes, I know it’s frustrating. I am sorry.</p><h3>Know What Outcome You Want</h3><p>Not every report has to be a request for a ban.</p><p>Sometimes the goal is “I want to inform the con of a person who may be a future problem”. Sometimes the goal is “I think it’s less likely than likely this person may cause me a problem, but I would like to start a paper trail with the Safety Department just in case”.</p><p>Both of those are excellent reasons to reach out to a con, just be specific that you’re seeking to inform them about a specific individual, not asking for a ban.</p><h3>In Closing</h3><p>Us con staff want attendees to have a safe event, we want you to feel safe, and we want you to have fun. The easiest requests to act on are those that are factual, well organized, supported by evidence, and focused on specific behavior rather than conclusions. Your goal isn’t to “win the argument”, it is to give convention organizers enough reliable information to make a sound risk-management decision.</p><h3>About the Author</h3><p>Doug (known in the furry community as “Giza White Mage”) has been staffing furry conventions for nearly 30 years, ranging from frontline staff roles up to and including Executive Leadership. You can read more about his community involvement at<a href="https://www.dmuth.org/furry/"> Inside The Furry Fandom</a>. And while he volunteers with/staffs numerous furry conventions, he speaks solely for himself in this article.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1fadff95719b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Migrate Follows and Blocks from Twitter to Bluesky]]></title>
            <link>https://dmuth.medium.com/how-to-migrate-from-twitter-to-bluesky-8609e6dc60d1?source=rss-a7ae5f998e13------2</link>
            <guid isPermaLink="false">https://medium.com/p/8609e6dc60d1</guid>
            <category><![CDATA[twitter]]></category>
            <category><![CDATA[elon-musk]]></category>
            <category><![CDATA[blue-sky]]></category>
            <category><![CDATA[xs]]></category>
            <dc:creator><![CDATA[Douglas Muth]]></dc:creator>
            <pubDate>Fri, 18 Oct 2024 22:23:58 GMT</pubDate>
            <atom:updated>2024-10-18T22:31:53.114Z</atom:updated>
            <content:encoded><![CDATA[<p>If you’re like me, and you’ve had just about enough of being on Twitter and would like to move to Bluesky, there’s a way to take your followings and blocks with you!</p><p>To get started, <a href="https://chromewebstore.google.com/detail/sky-follower-bridge/behhbpbpmailcnfbjagknjngnfdojpko?hl=en">go here and download the extension “Sky Follower Bridge”</a>, which is a plugin for the Chrome web browser.</p><p>Next, go to <a href="https://bsky.app/settings/app-passwords">https://bsky.app/settings/app-passwords</a> and click “Add App Password”. You’ll be prompted to enter a name:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qK2nXJfuoBSNzGPq.png" /></figure><p>…and then a password will be shown. Copy that into your clipboard and click “Done”:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*e93wF4x6vWHjljd3.png" /></figure><p>Next, go to your followers or following page on Twitter. The URL will look something like <a href="https://x.com/dmuth/followers">https://x.com/dmuth/followers</a> or <a href="https://x.com/dmuth/following">https://x.com/dmuth/following</a>, but you’ll want to substitute your username instead of mine. Once you’re there, hit Alt-B (or Option-B on MacOS), and that will bring up a widget from the Sky Follower Bridge. Type in your Bluesky username and the App Password:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/758/0*9-1_cvZ9Tnuus60J.png" /></figure><p>This will bring up a pane which will populate with all usernames on Bsky that match what you’re following on Twitter:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cx0GfpnU7Wx_gzzZ.png" /></figure><p>…note that this may take a few minutes to populate.</p><p>Finally, if you also want to migrate your block list, go to <a href="https://x.com/settings/blocked/all">https://x.com/settings/blocked/all</a> and run the widget again — this will give you a list of all matching names on Bluesky with the option to block them:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_-wHthFpgyLYfAGi.png" /></figure><p>…and that’s it, you’re done! One thing I noticed when I ran this yesterday was that many of the people I followed, upon seeing that I followed them, returned the favor. This increases the amount of connections within Bluesky, and the overall usefulness of Bsky as a social network.</p><p>Happy Skeeeting/Skying/whatever it’s called!</p><p>Oh, and if you made it this far, here’s the full image that was shown in the teaser:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*mjkhocX9t8zP7V0FXMwxrA.png" /><figcaption>Elon Musk “My Wife Left Me” comic book cover.</figcaption></figure><p>(<a href="https://www.dmuth.org/how-to-migrate-from-twitter-to-bluesky/">Original blog post here</a>)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8609e6dc60d1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How’s PECO? My New Website Will Tell You]]></title>
            <link>https://dmuth.medium.com/hows-peco-my-new-website-will-tell-you-eccc82582765?source=rss-a7ae5f998e13------2</link>
            <guid isPermaLink="false">https://medium.com/p/eccc82582765</guid>
            <category><![CDATA[electricity]]></category>
            <category><![CDATA[philadelphia]]></category>
            <category><![CDATA[peco]]></category>
            <category><![CDATA[power-grid]]></category>
            <dc:creator><![CDATA[Douglas Muth]]></dc:creator>
            <pubDate>Tue, 23 Jul 2024 00:19:00 GMT</pubDate>
            <atom:updated>2024-07-23T18:48:13.300Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*lk87J_Ng-SQI6LN6.jpg" /><figcaption>Is PECO Okay?</figcaption></figure><p>I’ve been pretty quiet on this blog, but I’ve been busy behind the scenes. One of the projects I’ve worked on is <a href="https://www.ispecookay.com/">https://www.ispecookay.com/</a>, my first major project built in Serverless!</p><p>Thanks to COVID, I was made a remote employee, which now means most days I’m in my apartment building about 23 hours a day. This means that if power is lost in the middle of the day, I’ll notice it. If PECO has to do maintenance in the middle of the day, I’ll notice it. If a storm takes out power for several hours, I’ll definitely notice it.</p><p>While sitting around in the dark and refreshing PECO’s status page, I found that I really only cared about two values:</p><ul><li>How many customers are without power?</li><li>Is that number moving up or down?</li></ul><p>If the number is moving up, that means things are getting worse and I shouldn’t expect power back for awhile. If the number is moving down, it means that restorations are happening, and I should expect power back sooner. And that is largely why I built <a href="https://www.ispecookay.com/">https://www.ispecookay.com/</a>.</p><p>I also want to state that I am throwing absolutely NO shade on PECO, I found that <a href="https://www.peco.com/outages/experiencing-an-outage/outage-map">their existing outage page</a> did not meet my needs, because it is very content and Javascript heavy, and when there is a power outage going on, I would like to conserve my phone’s battery. CNN does a great job at this with <a href="https://lite.cnn.com/">CNN Lite</a> and it was one of my inspirations for “Is PECO Okay?”.</p><h3>Technologies Used in Building IsPecoOkay</h3><figure><img alt="Tracking 100,000 PECO customers without power during a storm on July 16, 2024." src="https://cdn-images-1.medium.com/max/1024/0*degfk9Tpn-zuVixg.png" /><figcaption>Tracking 100,000 PECO customers without power during a storm on July 16, 2024.</figcaption></figure><p>So what technologies did I use to build the website? Here’s the list:</p><ul><li>AWS S3 — Static file hosting</li><li>AWS Lamba and API Gateway — Execution of my Python scripts to retrieve outage data from PECO, store it in DynamoDB, and retrieve it from DynamoDB.</li><li>AWS DynamoDB — Data Storage</li><li>AWS CloudFront — HTTPS termination.</li><li>AWS Certificate Manager — SSL Certificates</li><li>AWS Route 53 — DNS</li><li><a href="https://gohugo.io/">Hugo</a> — Static site content generator.</li><li><a href="https://www.serverless.com/">Serverless</a> — Code Deployment and DyanmoDB Schema Management</li><li>Github — Hosting and Issue tracking</li><li><a href="https://workflowy.com/">Workflowy</a> — Managing my personal TODO list and brainstorming</li></ul><p>Some of these technologies I knew, such as S3 and CloudFront. But there were some such as Serverless, Lambda, and DnyamoDB that I didn’t know at all. So there were a handful of evenings and weekends spent diving into each of those technologies, learning what is possible with each of them and how to use it.</p><h3>The Total Cost</h3><p>DNS costs me 50 cents per domain per month, so that’s the most expensive part of this project. Everything else currently comes up to less than 50 cents per month, which means my total cost to run this website is less than a dollar a month. Pretty neat!</p><h3>What Comes Next?</h3><figure><img alt="Tracking the recovery from the July 16th, 2024 storm 2 days later." src="https://cdn-images-1.medium.com/max/1024/0*7Is2FWNXQ4KHgcHr.png" /><figcaption>Tracking the recovery from the July 16th, 2024 storm 2 days later.</figcaption></figure><p>I think I did as much as I can with PECO, and now that I’m more comfortable with Serverless, I’m going to look into other data sources that I can crawl and process with Serverless-based websites. NJ Transit is one that I am closely looking at. If you have suggestions for others, feel free to drop them in the comments!</p><p>My source code, if you’d like to see it, can be found at <a href="https://github.com/dmuth/is-peco-okay">https://github.com/dmuth/is-peco-okay</a></p><p><a href="https://www.dmuth.org/hows-peco-my-new-website-will-tell-you/">Original post.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eccc82582765" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Behold! A QR Code Generator That Doesn’t Suck!]]></title>
            <link>https://dmuth.medium.com/behold-a-qr-code-generator-that-doesnt-suck-4dc046393362?source=rss-a7ae5f998e13------2</link>
            <guid isPermaLink="false">https://medium.com/p/4dc046393362</guid>
            <category><![CDATA[qrcodegenerator]]></category>
            <category><![CDATA[qr-code-generator-app]]></category>
            <category><![CDATA[qr-code]]></category>
            <dc:creator><![CDATA[Douglas Muth]]></dc:creator>
            <pubDate>Fri, 10 Mar 2023 03:18:29 GMT</pubDate>
            <atom:updated>2023-03-10T03:19:16.220Z</atom:updated>
            <content:encoded><![CDATA[<p>Awhile ago, I got into QR Codes. I’ve found them increasingly handy because I could make QR codes based on documents that I had stored in Google Docs, and then I could invite people to scan those QR Codes in person if I wanted to share what was in the doc. The QR Codes themselves could be printed out on paper, be saved to my phone and scanned from them, or even put on my Apple Watch.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*BQyKGFd4dXJDTBRHciItlQ.jpeg" /></figure><p>But I ran into a challenge: creating QR Codes. When I did searches for QR Code generators, most of the ones I found online either generated small QR Codes, had ads, required money, or all three! It was very much Not Fun, and I felt it was a minor injustice that being able to create something as useful as QR Codes was off limits for so many people.</p><p>So I decided to create my own.</p><p>After reading some tutorials on how to do it, I found one that talked about how to make QR Codes in Python. I then remembered, that I <a href="https://www.dmuth.org/introducing-fastapi-httpbin/">had an app with a bunch of API endpoints available</a>, and it was written in Python! So, I figured, why not add a QR Code generator, expose it as another endpoint, and create a form which submits to that API?</p><p>And that’s exactly what I did, you can find the QR Code generator here:</p><p><a href="https://httpbin.dmuth.org/qrcode/">https://httpbin.dmuth.org/qrcode/</a></p><p>This is 100% free with no ads, no tracking, and no spam. Just QR Codes when you want them.</p><p>Enjoy!</p><p><a href="https://www.dmuth.org/behold-a-qr-code-generator-that-doesnt-suck/">Original blog post.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4dc046393362" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing Docker in Vagrant]]></title>
            <link>https://dmuth.medium.com/introducing-docker-in-vagrant-5e6ddcc6c2e7?source=rss-a7ae5f998e13------2</link>
            <guid isPermaLink="false">https://medium.com/p/5e6ddcc6c2e7</guid>
            <category><![CDATA[vagrant]]></category>
            <category><![CDATA[ssh]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[virtualbox]]></category>
            <dc:creator><![CDATA[Douglas Muth]]></dc:creator>
            <pubDate>Wed, 08 Mar 2023 02:40:57 GMT</pubDate>
            <atom:updated>2023-03-08T02:44:24.439Z</atom:updated>
            <content:encoded><![CDATA[<p>If you’re a Mac user, you have a few options for running Docker. Aside from Docker’s official client, there also exists Rancher Desktop and Podman. I’ve used them all, and they’re all decent implementations of Docker. However, I ran into some limitations in each platform that are beyond the scope of this post that nonetheless prompted me to try building out my own Docker offering.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/1*ZzYBzHXXjHN9SkqWI8jPOQ.png" /></figure><p>Having used <a href="https://www.virtualbox.org/">VirtualBox</a> and <a href="https://www.vagrantup.com/">Vagrant</a> before, I found myself wondering if I could use Vagrant to stand up an instance of Docker, proxy connections to Docker over SSH, and mount directories on the host machine’s filesystem.</p><p>It turns out I could.</p><h3>Features</h3><p>So let me tell you about some of the features that my app, <a href="https://github.com/dmuth/docker-in-vagrant">Docker in Vagrant</a> has:</p><ul><li>Aliases and scripts for all operations. No need to run Vagrant directly!</li><li>Packages that are installed on the VM via yum will be cached to disk outside of theVM, making future builds less network intensive.</li><li>With a single command, Docker images can be saved outside of the VM and reloaded if a new VM is stood up.</li><li>I even figured out <a href="https://github.com/dmuth/docker-in-vagrant/commit/bf63d2973ce0173405e912f94d4d415dd8a82351">how to keep the VM’s clock in sync</a> with the host machine!</li></ul><h3>Getting Started</h3><p>In addition to VirtualBox and Vagrant, you’ll also need to have the <a href="https://formulae.brew.sh/formula/docker">Docker CLI Tools</a> and <a href="https://catonmat.net/unix-utilities-pipe-viewer">Pipe Viewer </a>installed. Once those are all installed, you can <a href="https://github.com/dmuth/docker-in-vagrant">clone the repo</a>! After the repo is cloned, run the script ./bin/start.sh to start the VM. The script will then print out some additional configuration instructions, which I will summarize here:</p><ul><li>This will tell Docker to talk to the VM when issuing Docker commands:</li><li>echo &quot;export DOCKER_HOST=ssh://vagrant@127.0.0.1:2222&quot; &gt;&gt; $HOME/.bashrc</li><li>This will set aliases that can be used to interact with the VM running Docker:</li><li>echo . $(pwd)/bin/docker-aliases-bash.sh &gt;&gt; $HOME/.bashrc</li></ul><p>Finally, add this into $HOME/.ssh/config so that you can connect to the VM via SSH:</p><pre>Host 127.0.0.1<br>     ControlMaster auto<br>     ControlPath ~/.ssh/master-%r@%h:%p<br>     ControlPersist yes<br>     StrictHostKeyChecking no<br>     UserKnownHostsFile /dev/null<br>     IdentityFile $(pwd)/.vagrant/machines/default/virtualbox/private_key<br>     IdentitiesOnly yes</pre><p>At this point, you’re good to go! Just start a new shell so the environment variable and aliases are set up, first. :-)</p><h3>Usage</h3><p>All Docker commands should Just Work. But you can start by running docker ps, followed by docker run hello-world. In addition to the Docker commands that you know and love, there are a number of aliases that can be used to manage the underlying VM:</p><ul><li>docker-status - Check to see if the VM exists and if it is running.</li><li>docker-start - Start the VM if it is stopped.</li><li>docker-stop - Stop a running VM.</li><li>docker-restart - Restart a running VM.</li><li>docker-destroy - Destroy a VM. It can be recreated with docker-start.</li><li>docker-ssh - SSH into a VM if you need to do any troubleshooting in there.</li><li>docker-images-save - Export all existing images from the VM to the host filesystem. Use before running docker-destroy.</li><li>docker-images-list - List all images that have been exported from the VM.</li><li>docker-images-load - Load all images from disk into the VM. Used after creating a new VM.</li><li>docker-check-time-offset – Check the time on the host versus the VM. Run docker-restart in the highly unlikely event that they’ve fallen out of sync.</li><li>docker-aliases – Print these aliases.</li></ul><h3>Conclusion</h3><p>I have been successfully using Docker In Vagrant for my own development for a few months now, and I am overall pleased with the functionality and performance that it offers. If you’re looking for something new in the Docker ecosystem, why not give it a try?</p><p><a href="https://www.dmuth.org/introducing-docker-in-vagrant/">Original blog post.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5e6ddcc6c2e7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Displaying Your Wireless Network in the Touch Bar on a Macbook]]></title>
            <link>https://dmuth.medium.com/displaying-your-wireless-network-in-the-touch-bar-on-a-macbook-b5297e41fcba?source=rss-a7ae5f998e13------2</link>
            <guid isPermaLink="false">https://medium.com/p/b5297e41fcba</guid>
            <category><![CDATA[touch-bar]]></category>
            <category><![CDATA[mtmr]]></category>
            <category><![CDATA[macbook]]></category>
            <category><![CDATA[apple]]></category>
            <dc:creator><![CDATA[Douglas Muth]]></dc:creator>
            <pubDate>Sat, 18 Feb 2023 16:06:42 GMT</pubDate>
            <atom:updated>2023-02-18T16:07:26.698Z</atom:updated>
            <content:encoded><![CDATA[<p>If you have a Macbook laptop, you’re probably familiar with <a href="https://support.apple.com/guide/mac-help/use-the-touch-bar-mchlbfd5b039/mac">the touch bar</a>. It’s a neat little LED display above the top row of your keyboard that Mac OS/X uses to display context-sensitive widgets. However, you don’t just have to accept the widgets that Apple provides — you can in fact customize the touchbar however you like.</p><p><strong>“But why would I want to do this?”</strong>, I hear you ask. Well, maybe you need to have a custom status of some kind displayed on your menu bar. For me, it was… wireless networks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/0*CoFMZEmbNlp5QcW_.png" /><figcaption>MTMR</figcaption></figure><p>That sounds confusing, but hear me out. Sometimes when I am traveling, I get kicked off of whatever wireless network I’m on. I wanted a way to easily determine what network I was on, without having to keep clicking on the wireless icon in my menu bar. I found that the touch bar was a convenient way to do that, and in this post, I will show you how I did it.</p><p>First, download <a href="https://github.com/Toxblh/MTMR">an app called MTMR</a>. MTMR stands for “My Touchbar. My rules.” Installation instructions are on that page, but most users will want the dmg file.</p><p>Once that’s installed, you can edit the file $HOME/Library/Application Support/MTMR/items.json to change what appears in the menu bar. The contents of the file are JSON, and you can edit this in whichever editor you like. Furthermore, once you save changes, they take effect <strong>immediately</strong>--no restarts of the MTMR app are necessary!</p><p>The next thing you’ll want to do is paste in this bit of JSON:</p><pre>{<br>    &quot;type&quot;: &quot;shellScriptTitledButton&quot;,<br>    &quot;source&quot;: {<br>      &quot;inline&quot;: &quot;/System/Library/PrivateFrameworks/Apple80211.framework/Resources/airport -I  | awk -F&#39; SSID: &#39;  &#39;/ SSID: / {if ($2) print \&quot;SSID: \&quot; $2; else print \&quot;NO SSID\&quot;}&#39;&quot;<br>    },<br>    &quot;action&quot;: &quot;appleScript&quot;,<br>    &quot;actionAppleScript&quot;: {<br>      &quot;inline&quot;: &quot;tell application \&quot;System Preferences\&quot;\ractivate\rreveal pane \&quot;Network\&quot;\rend tell&quot;<br>    },<br>    &quot;refreshInterval&quot;: 1,</pre><pre>    &quot;width&quot;: 200,<br>    &quot;align&quot;: &quot;left&quot;<br>  },</pre><p>Note the comma at the end! You’ll want to leave that in if you’re putting more things in that file. That said, let’s walk through the more interesting parts of the JSON, starting with the”inline” section:</p><pre>&quot;type&quot;: &quot;shellScriptTitledButton&quot;,<br>&quot;source&quot;: {<br>  &quot;inline&quot;: &quot;/System/Library/PrivateFrameworks/Apple80211.framework/Resources/airport -I  | awk -F&#39; SSID: &#39;  &#39;/ SSID: / {if ($2) print \&quot;SSID: \&quot; $2; else print \&quot;NO SSID\&quot;}&#39;&quot;<br>},</pre><p>What this does is it tells the MTMR app to run a command called airport, which prints out info on the wireless network you are connected to. That text is then piped into a utility called awk, which grabs the line with the SSID, strips out the &quot;SSID:&quot; text, and prints out just the name of the network you are connected to. If you are not on any wireless network, it prints &quot;NO SSID&quot; instead.</p><p>The other important part of that config that I want to talk about is what happens when you press on that button on the touchbar:</p><pre>&quot;action&quot;: &quot;appleScript&quot;,<br>&quot;actionAppleScript&quot;: {<br>   &quot;inline&quot;: &quot;tell application \&quot;System Preferences\&quot;\ractivate\rreveal pane \&quot;Network\&quot;\rend tell&quot;<br>},</pre><p>What this section does is that it tells MTMR that when the button on the touch bar is pressed, to run some AppleScript. AppleScript is a language to well… script actions in Mac OS/X. In this case, the Apple Script will open the Network pane in System Preferences whenever the button is clicked on.</p><p>Putting this all together, you’ll now have a status bar which shows which wireless network you’re on, and if you happen to drop off the network, a simple glance at the touch bar will confirm it, and then all you need to do is click on the touch bar to bring up your network preferences so you can rejoin the wireless network.</p><p>Here are some real life action shots:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*VDXYkIcngLC3izrX.jpeg" /><figcaption>Cheetah Wifi</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*SbbpdsJPIfxOxO8F.jpeg" /><figcaption>No SSID</figcaption></figure><p>This ended up being one of those “quality of life” tweaks that I didn’t know I needed for my setup until I made that change, and it has made things a lot more pleasant for me.</p><p>Enjoy!</p><p><a href="https://www.dmuth.org/displaying-your-wireless-network-in-the-touch-bar-on-a-macbook/">Original post on my blog.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b5297e41fcba" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I Created an AI Chatbot of Gritty, and it is Horrifying]]></title>
            <link>https://dmuth.medium.com/i-created-an-ai-chatbot-of-gritty-and-it-is-horrifying-42158b61e1ce?source=rss-a7ae5f998e13------2</link>
            <guid isPermaLink="false">https://medium.com/p/42158b61e1ce</guid>
            <category><![CDATA[philadelphia-flyers]]></category>
            <category><![CDATA[gritty]]></category>
            <category><![CDATA[philadelphia]]></category>
            <category><![CDATA[chatbots]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Douglas Muth]]></dc:creator>
            <pubDate>Sat, 04 Feb 2023 23:12:11 GMT</pubDate>
            <atom:updated>2023-02-04T23:12:11.403Z</atom:updated>
            <content:encoded><![CDATA[<p>Living 20 minutes from downtown Philadelphia, I’m a big fan of our hockey mascot, <a href="https://en.wikipedia.org/wiki/Gritty">Gritty</a>. Recently I’ve been playing around with a website called <a href="https://character.ai/">character.ai</a>, and one of the neat things that site lets you do is create bots based on characters, real or imaginary. For example, there is one character based on <a href="https://c.ai/c/pQus24wbEGuwjRkJSWJGiYT4jA79HsrU5BMbekJB_lc">Albert Einstein</a>, and another is based on <a href="https://c.ai/c/QnMrLuyzElOrQd1VfM9CJhJXwpnT7TY-nRNdpIa6CfI">Darth Vader</a>. So I decided I would create <a href="https://c.ai/c/XIw8aTjlR-d-RctbD3MaV0Kj70xT5qD2QkxdUlVdfFc">a character based on Gritty</a>.</p><p>I immediately regretted that.</p><p>The AI powering that site is… frightfully good, to say the least. After seeding the character with just a handful of tweets from Gritty’s Twitter feed, the bot quickly took on a life of its own and said things that I would absolutely expect the real Gritty to say.</p><p>For example, let’s start with the no-fly list:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*H_tTnaCRRmYn6rt-.png" /></figure><p>Well then.</p><p>Next I asked Gritty about his diet, and the answers the bot gave were concerning, to say the least:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*XIEBtQ-KvqG6YJvs.png" /></figure><p>Oh god.</p><p>Next I asked the bot about crimes it may have committed and relationships with the police:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Hi_ckIEeb5fsSKjv.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WOn6PYQv5kqG_00a.png" /></figure><p>Yeaaaaah… I should have expected that.</p><p>Next I asked him about the Penguins, specifically harassing phonecalls and violence against the mascot of the Penguins. Not surprisingly, Gritty was super into both:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*yp5iBUB_Vm2aqQ9O.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DAXjPCNQvH3J6ug7.png" /></figure><p>Good lord!</p><p>Finally I asked Gritty about his kill count and if he owned any weapons. I don’t know what I was expecting, but here’s what I got:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*SucGsq-BCAVWZa0r.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ixcSzqrH2iQWroAR.png" /></figure><p>I’m not even sure why I thought it was a good idea to ask that, but here we are.</p><p>For the sake of my sanity, I stopped there, but if you’d like to try talking to Gritty yourself, feel free. <a href="https://c.ai/c/XIw8aTjlR-d-RctbD3MaV0Kj70xT5qD2QkxdUlVdfFc">Here’s the link to to do.</a> Enjoy!</p><p>Oh, before I go, the bot also got a writeup in a couple of publications:</p><ul><li><a href="https://technical.ly/startups/gritty-ai-chat-bot/">Technical.ly</a></li><li><a href="https://www.phillyvoice.com/gritty-chatbot-interview-character-ai-artificial-intelligence/">Philly Voice</a></li></ul><p><a href="https://www.dmuth.org/i-created-an-ai-chatbot-of-gritty-and-it-is-horrifying/">Original post on my blog.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=42158b61e1ce" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing FastAPI Httpbin]]></title>
            <link>https://dmuth.medium.com/introducing-fastapi-httpbin-6eebcd977fcb?source=rss-a7ae5f998e13------2</link>
            <guid isPermaLink="false">https://medium.com/p/6eebcd977fcb</guid>
            <category><![CDATA[http-request]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[fastapi]]></category>
            <category><![CDATA[httpbin]]></category>
            <dc:creator><![CDATA[Douglas Muth]]></dc:creator>
            <pubDate>Sun, 29 Jan 2023 19:19:52 GMT</pubDate>
            <atom:updated>2023-01-29T19:20:21.878Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*AHF38qEDadVUcDuObLSoqw.png" /><figcaption>It even has a logo!</figcaption></figure><p>I write a lot of back end code and sometimes have to make use of HTTP endpoints. Sometimes I want to test those endpoints. I used to use httpbin.org for my endpoint testing, but over time noticed that some of the endpoints were returning HTTP 5xx errors. Some investigation reveals that the project seems to be abandoned, with <a href="https://github.com/postmanlabs/httpbin/issues/371">open issues going all the way back to 2017</a>. That’s not so good.</p><p>So I decided to build my own.</p><p>In this post I’d like to talk about <a href="https://httpbin.dmuth.org/">FastAPI Httpbin</a>. But before I can, I need to talk about <a href="https://fastapi.tiangolo.com/">FastAPI</a> itself. FastAPI is a framework for building high-performance frameworks in Python based on Python type hints. The really neat thing about FastAPI is that your function definition for each endpoint is the source of truth — FastAPI handles argument validation for any calls to that endpoint, and generates the appropriate Swagger documentation for that endpoint.</p><p>I then went about building my own version of Httpbin, which I call <a href="https://httpbin.dmuth.org/">FastAPI Httpbin</a>. The source <a href="https://github.com/dmuth/fastapi-httpbin">can be found here</a>.</p><ul><li><a href="https://httpbin.dmuth.org/get">https://httpbin.dmuth.org/get</a> — Return GET method data</li><li><a href="https://httpbin.dmuth.org/post">https://httpbin.dmuth.org/post</a> — Return POST method data</li><li><a href="https://httpbin.dmuth.org/headers">https://httpbin.dmuth.org/headers</a> — Return headers that were sent by the browser</li><li><a href="https://httpbin.dmuth.org/redirect/3?code=301">https://httpbin.dmuth.org/redirect/3?code=301</a> — Redirect 3 times with HTTP 301</li><li><a href="https://httpbin.dmuth.org/uuid">https://httpbin.dmuth.org/uuid</a> — Return a type 4 (random) UUID</li><li><a href="https://httpbin.dmuth.org/uuid/qrcode">https://httpbin.dmuth.org/uuid/qrcode</a> — Return a QR Code of a random UUID</li><li><a href="https://httpbin.dmuth.org/cookies">https://httpbin.dmuth.org/cookies</a> — Get, set, or delete cookies in the web browser</li></ul><p>That’s about all I have for now, but I am actively developing this app, and I am open to any feature requests, bug fixes, or suggestions!</p><p><a href="https://www.dmuth.org/introducing-fastapi-httpbin/">Original blog post.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6eebcd977fcb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using the Makeresults in Command in Splunk]]></title>
            <link>https://dmuth.medium.com/using-the-makeresults-in-command-in-splunk-bc4dc6a03d0?source=rss-a7ae5f998e13------2</link>
            <guid isPermaLink="false">https://medium.com/p/bc4dc6a03d0</guid>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[data-analytics]]></category>
            <category><![CDATA[splunk]]></category>
            <dc:creator><![CDATA[Douglas Muth]]></dc:creator>
            <pubDate>Fri, 24 Jun 2022 23:25:56 GMT</pubDate>
            <atom:updated>2022-06-24T23:26:20.669Z</atom:updated>
            <content:encoded><![CDATA[<p>If you’re been reading this blog for awhile, you’ll know that I’m a big fan of Splunk, and I even went so far as <a href="https://github.com/dmuth/splunk-lab">to Dockerize it</a> for use in a lab/testing environment.</p><p>Well today I want to talk about a command in Splunk which I believe is seriously underrated: makeresults.</p><p>Makeresults (<a href="https://docs.splunk.com/Documentation/SplunkCloud/8.2.2203/SearchReference/Makeresults">documented here</a>) lets you generate fake events for testing purposes. No indexes are queried, no disks are touched, which means that makes results is very very fast. And when a query runs quickly, that means you can run it more times which means new queries and content will be developed faster.</p><p>In this post, I’m going to walk you through a way to use makeresults to learn the difference between the streamstats and eventstats commands.</p><p>To get started, either log into your instance of Splunk or spin up an instance of <a href="https://github.com/dmuth/splunk-lab">Splunk Lab</a> in Docker by typing:</p><blockquote>bash &lt;(curl -Ls <a href="https://bit.ly/splunklab">https://bit.ly/splunklab</a>)</blockquote><p>Once you’re in Splunk create 5 sample events:</p><blockquote>| makeresults count=5</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WpKvuYz4BXBFWtLk.png" /></figure><p>Okay, that’s cool–we have 5 events that just have timestamps, but can’t we add more? This is Splunk, which means that we can do tons of things with our data.</p><p>Let’s start by increasing the number of rows, and adding in some random data</p><blockquote>| makeresults count=100<br>| eval newval=(random() % 100) + 1<br>| streamstats count as event_num<br>| eval _time=_time — 100 + event_num</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8agkmrCp6KbP5LUH.png" /></figure><p>We got more going on here, an eval which creates a field called newval with a random value between 1 and 100, and another eval which sets the timestamp sometime in the past 100 seconds. But the most interesting part is the addition of streamstats. Just be looking at the results, we can see that streamstats runs that stats command on the stream for each event as it comes in and basically gives us a counter. That fields (event_num) then goes on to be used by the following eval command. Neat!</p><p>So now lets do a little more with streamstats and its cousin eventstats:</p><blockquote>| makeresults count=100<br>| eval newval=(random() % 100) + 1<br>| streamstats count as event_num<br>| eval _time=_time — 100 + event_num<br>| streamstats avg(newval) as avgstreamsum<br>| eventstats avg(newval) as avgeventsum<br>| eval diff=abs(avgeventsum — avgstreamsum)</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*iMmzTnsJkEWgDJxh.png" /></figure><p>We have 3 commands here. The first is another call to streamstats, which creates the running average of newval <em>as of each event</em>. The second function is eventstats, which takes the logic behind streamstats and turns it on its side–the average of newval will be computed across all events but the computed value <em>will be added to each event</em> as a new field! Finally, the last eval computes the difference between the two.</p><p>Last Splunk query, goooo!</p><blockquote>| makeresults count=100<br>| eval newval=(random() % 100) + 1<br>| streamstats count as event_num<br>| eval _time=_time — 100 + event_num<br>| streamstats avg(newval) as avgstreamsum<br>| eventstats avg(newval) as avgeventsum<br>| eval diff=abs(avgeventsum — avgstreamsum)<br>| timechart span=1s avg(avgstreamsum) as avg_stream_sum avg(diff) as diff avg(avgeventsum) as avgeventsum</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*PRdWLBdd6oHKTHkB.png" /></figure><p>Now we have a nice timechart that shows the average of that field over the entire set of events, which is a flat line. Next we have the average of our field <em>as of each event</em>, and you can see it is all over the place early on, and eventually closes in on average. Finally, we have a diff which shows us the difference between those two averages as of each event.</p><p>That’s all I have for this post–I just wanted to show a quick and simple use of makeresults, as it’s been one of my favorite commands for quite some time. And if you wanted to learn more about Splunk Lab, you can visit the project page on GitHub: <a href="https://github.com/dmuth/splunk-lab">https://github.com/dmuth/splunk-lab</a></p><p><a href="https://www.dmuth.org/using-the-makeresults-in-command-in-splunk/">Original post on my blog.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bc4dc6a03d0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Back Up Your Google Drive Files with Rclone]]></title>
            <link>https://dmuth.medium.com/back-up-your-google-drive-files-with-rclone-ff8ff6682db?source=rss-a7ae5f998e13------2</link>
            <guid isPermaLink="false">https://medium.com/p/ff8ff6682db</guid>
            <category><![CDATA[rclone]]></category>
            <category><![CDATA[backup]]></category>
            <category><![CDATA[google-drive]]></category>
            <category><![CDATA[backup-software]]></category>
            <category><![CDATA[backup-and-sync]]></category>
            <dc:creator><![CDATA[Douglas Muth]]></dc:creator>
            <pubDate>Sun, 09 Jan 2022 23:44:38 GMT</pubDate>
            <atom:updated>2022-01-09T23:50:42.367Z</atom:updated>
            <content:encoded><![CDATA[<p>Google Drive is one of my favorite apps for storing and editing documents and spreadsheets. If don’t currently use Google Drive in place of Microsoft Office, I would recommend checking it out!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hAAVNOpxll1N_4nVTABmgQ.png" /><figcaption>Trust, but always make backups.</figcaption></figure><p>That said, while it’s a useful tool, your files are being stored on somebody else’s computer, which means that if your <a href="https://www.dmuth.org/staying-safe-online-a-guide-for-beginners/">Google account should get hacked</a> or suspended, you will lose access to your files. Not good.</p><p>In this post, I will show you how to back up the contents of your Google Drive onto your filesystem. You will need a medium level of knowledge and some experience with the command line for this.</p><h3>Installing and Configuring Rclone</h3><p>First, start by <a href="https://rclone.org/downloads/">downloading Rclone</a>. Rclone is a command line app for managing, copying, and syncing files across over 40 different cloud providers. In addition to Google Drive, it has support for Dropbox, AWS S3, Microsoft OneDrive, and a whole list of cloud providers that I’ve never even heard of!</p><p>Once you have Rclone downloaded, start up its configuration wizard by typing:</p><pre>rclone config</pre><p>From there, do the following:</p><ul><li>n) New remote</li><li>Type in “gdrive” as the name of the remote</li><li>Type “drive” to select Google Drive</li><li>For the rest of the questions, hit the enter key to choose the default</li><li>Eventually a web browser window will open and you will have to authenticate with Google. Do so.</li><li>When done, quit the configuration</li></ul><h3>Listing the Contents of Your Google Drive</h3><p>To list the directories in your Google Drive, use the “rclone lsd” command as follows:</p><pre>rclone lsd gdrive:<br>          -1 2021-06-16 18:34:42        -1 test123<br>          -1 2020-11-08 20:39:12        -1 test124<br>          -1 2021-12-07 14:50:16        -1 test125<br>          -1 2021-02-21 15:27:12        -1 test126</pre><p>Note that colon at the end of the remote, that’s important!</p><p>If you want to view individual files, use “rclone ls” instead but note that every file on the drive will be listed recursively. You can narrow down the list by appending a directory name like this:</p><pre>rclone ls gdrive:/misc<br>   44749 file.docx<br>   388046 file2.pdf<br>   275639 file3.xlsx<br>[snip]</pre><p>Finally, check the total size of your files on Google Drive with the “rclone size” command:</p><pre>rclone size gdrive:<br>Total objects: 1.236k (1236)<br>Total size: 2.309 GiB (2479268463 Byte)</pre><p>In my case, I have just over 2 Gigs of files in 1,200 files on my Google Drive</p><h3>Syncing the Contents of Your Google Drive to Your Disk</h3><p>Here comes the best part, syncing the contents of your Google Drive down to your disk! Start by changing to the directory that you want to back up and then using the “rclone sync” command as follows:</p><pre>rclone sync -P --fast-list --transfers=32 gdrive:/ .</pre><p>Here’s a breakdown of the options shown above:</p><ul><li>-P — Show a progress indictor</li><li>— fast-list — Speeds up the sync by downloading a list of all files first and storing them in RAM. I recommend this option as the speedup is substantial in successive syncs.</li><li>— transfers=32 — Transfer 32 files at once instead of the default of 8. You’ll get more value from 32 simultaneous transfers if you have a fast Internet connection.</li></ul><p>A successful sync will look something like this:</p><pre>rclone sync -P --fast-list --transfers=32 gdrive:/ .<br>Transferred:     1019.980 KiB / 1019.980 KiB, 100%, 892.205 KiB/s, ETA 0s<br>Checks:              1236 / 1236, 100%<br>Deleted:                8 (files), 1 (dirs)<br>Transferred:            7 / 7, 100%<br>Elapsed time:        14.4s</pre><p>I had previously synced down all my files, so this sync only grabbed the changes. Because I used — fast-list, it only took 14.4 seconds versus 19.8 seconds without. Larger filesystems will see increased gains.</p><p>And there you have it! Rclone can be used to download the contents of your entire Google Drive, which will then be saved to your disk and can be copied to a USB stick or elsewhere. If you want to know more about Rclone’s Google Drive integration, the <a href="https://rclone.org/drive/">Rclone documentation is an excellent starting point</a>.</p><p>Happy backing up!</p><p><a href="https://www.dmuth.org/back-up-your-google-drive-files-with-rclone/">Original blog post.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff8ff6682db" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>