<?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 Devan Pellow on Medium]]></title>
        <description><![CDATA[Stories by Devan Pellow on Medium]]></description>
        <link>https://medium.com/@devthedev?source=rss-fbc466ec0675------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*u3L_Xv-CQRNQHnxmA1Lp4g.jpeg</url>
            <title>Stories by Devan Pellow on Medium</title>
            <link>https://medium.com/@devthedev?source=rss-fbc466ec0675------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 02:54:49 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@devthedev/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[OTD in 1775: The Marine Corps is born (Nov. 10)]]></title>
            <link>https://devthedev.medium.com/otd-in-1775-the-marine-corps-is-born-nov-10-32a43d1b6c9f?source=rss-fbc466ec0675------2</link>
            <guid isPermaLink="false">https://medium.com/p/32a43d1b6c9f</guid>
            <dc:creator><![CDATA[Devan Pellow]]></dc:creator>
            <pubDate>Tue, 10 Nov 2020 12:40:30 GMT</pubDate>
            <atom:updated>2020-11-10T12:40:30.008Z</atom:updated>
            <content:encoded><![CDATA[<p>On this day, six months after the first shot of the revolutionary war was fired, the <a href="https://en.wikipedia.org/wiki/Second_Continental_Congress">Second Continental Congress</a> composed of delegates from the 13 colonies established the <strong>Continental Marines</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/550/1*p-KbjJJ5yOaqjisHIyKUHQ.png" /><figcaption>Semper Fidelis, Marine Corps Motto meaning “always faithful”.</figcaption></figure><p>The first marines signed up at a brewery called <a href="https://en.wikipedia.org/wiki/Tun_Tavern"><strong>Tun Tavern</strong></a> in Philadelphia, Pennsylvania. In this same tavern you’d find Benjamin Franklin years before organizing militia or a few decades after you’d see John Adams writing articles of war to build America’s first naval fleet.</p><p>It wasn’t until a few months later in March 1776 that the Marines made their first raid. Lead by Captain Samuel Nicholas, Marines landed in New Providence Island, Bahamas. And in 13 days they secured two forts, occupied Nassau, controlled the <a href="https://en.wikipedia.org/wiki/Government_House,_The_Bahamas">Government House</a>, seized 88 guns, 16,535 shells, and other supplies.</p><p>The Marine Corps was dismantled after the Revolutionary War but reinstated fifteen years later and have fought in every major US war since.</p><p>In the 1800s they fought <a href="https://en.wikipedia.org/wiki/Barbary_pirates">Barbary pirates</a> in North Africa and defeated enemy forces in Tripoli (in what is now Lybia).</p><p>In 1859, under the command of Confederate General Robert E. Lee, the Marines were sent to Harper’s Ferry, in now West Virginia to captures abolitionist John Brown. Often referred to as the tragic prelude to the American Civil War, John Brown was captured after he tried to arm enslaved people by raiding a federal armory.</p><p>In 1898, 20 marines were among the 260 that died in the Havana Harbour after the USS Maine blew up. This ignited the Spanish-American war, the same war where the Marines founded Guantanamo Bay naval base.</p><p>During the First World War, the US Marines aided the French and British army in many operations including a significant battle 85km west of Paris at a place called Bois de Belleau (Belleau Wood). Over the course of 31 days of constant fighting, the Marines suffered over 9 000 casualties. The French Army in appreciation of the valor of the Marines, officially renamed Belleau Wood as the “Bois de la Brigade de Marine.”</p><p>During the Second World War, the Marines were the US’ primary ground forces in the Pacific. Fighting some of the bloodiest battles, the worst being Iwo Jima.</p><p>The Marines played a prominent role in the Korean war, and the first ground troops to fight in Vietnam. They were also deployed during the Gulf War, Afganistan, and Iraq war.</p><p>To this day Marines celebrate their birthday with a birthday cake and a ball.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1004/1*z7-53ZhPl8fC5lTYpB8-oQ.png" /><figcaption>Marines celebrating their birthday on November 10th.</figcaption></figure><p><strong>Also on this date:</strong><br><strong>1483</strong> — Martin Luther is born in Eisleben, Saxony<br><strong>1918</strong> — The Western Union Cable Office in <a href="https://en.wikipedia.org/wiki/North_Sydney,_Nova_Scotia">North Sydney, Nova Scotia</a>, receives a top-secret coded message from Europe (that would be sent to Ottawa and Washington, D.C.) that said on <a href="https://en.wikipedia.org/wiki/November_11,_1918">November 11, 1918</a>, all fighting would cease on land, sea, and in the air.<br><strong>1928</strong> — WW1 novel, <em>All Quiet on the Western Front, </em>is published<br><strong>1969</strong> — Sesame Street Debuts</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=32a43d1b6c9f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Best Git Flag You’re Not Using… Yet.]]></title>
            <link>https://devthedev.medium.com/the-best-git-flag-youre-not-using-yet-d51fd4435797?source=rss-fbc466ec0675------2</link>
            <guid isPermaLink="false">https://medium.com/p/d51fd4435797</guid>
            <category><![CDATA[git]]></category>
            <category><![CDATA[vue]]></category>
            <category><![CDATA[vuejs]]></category>
            <category><![CDATA[github]]></category>
            <dc:creator><![CDATA[Devan Pellow]]></dc:creator>
            <pubDate>Fri, 02 Oct 2020 17:24:53 GMT</pubDate>
            <atom:updated>2020-10-13T01:17:31.391Z</atom:updated>
            <content:encoded><![CDATA[<h3>The git flag that I wish I knew from the beginning.</h3><p>For about a year and a half of web development, my git commands were limited to the basics:</p><p>git status — see what files have been changed/staged<br>git diff — see a preview of the code blacks that have have been changed<br>git add [file-name] — stage a specific file to be committed<br>git add . — stage all changed files to be committed<br>git commit -m — commit staged files and add a comment<br>git push origin [branch-name] — push your changes to the remote repo.</p><p>However, a few days ago I learned a new git flag that has completely replaced <strong>three</strong> commands in one: git add -p or git add --patch</p><p>Let me explain what it does and how it replaced git diff , git add [file-name] , and git add .</p><p>By adding the -p flag to git add you’re able to preview the code “hunks” that you’ve made changes to.</p><figure><img alt="git add -p example" src="https://cdn-images-1.medium.com/max/517/1*AT-KXusTaOIXANqRZx_4Ew.png" /><figcaption>We’ll focus on y/n for now, but keep reading for the remaining options!</figcaption></figure><p>By simply pressing y or n you can choose to commit this section of the file or not. And here’s the cool part, you don’t have to commit the entire file. You can choose to just a <strong>section</strong> of the file.</p><p>After you’ve chosen y/n you’ll be given then next hunk of code. Either from the same file or if there’s nothing else, from the next file that’s been changed.</p><p>Personally when working on a file for a while, often I use git diff to remember what I’ve worked on, and then I’d use either git add . to stage everything or git add [file-name]. Thanks to git add -p now I can skip this extra step of seeing the difference in my files.</p><p>This new git flag has been a game-changer for me.</p><p>Now there are some other options besides y/n , let’s check them out by typing ? then enter:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/551/1*l1R7KCL9LoVS6ParXK42Tg.png" /><figcaption>git add -p options</figcaption></figure><p>y — stage the displayed hunk of code<br>n — don’t stage this hunk<br>q — quit, exit out of the git add, previously stages hunks will remain<br>a — stage the current hunk and all remaining<br>d — don’t stage the current hunk or any of the hunks remaining in the <strong>file. </strong>You’ll still be able to add hunks from other files.<br>e — edit the code hunk directly in your terminal. Using Nano or VIM<br>? — see the above options in the terminal</p><p><strong>And that’s about it!</strong></p><p>Thanks for reading and hopefully this command improves your workflow.</p><p>ps. if you’re feeling fancy you can set up an alias for this command since it’s a bit harder to type than git add . 👍</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d51fd4435797" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>