<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Dylan Pierce</title>
    <description>The latest articles on DEV Community by Dylan Pierce (@ctrlaltdylan).</description>
    <link>https://dev.to/ctrlaltdylan</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F75785%2F974adcf2-e978-48f9-b513-8f8a66241bc6.jpg</url>
      <title>DEV Community: Dylan Pierce</title>
      <link>https://dev.to/ctrlaltdylan</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ctrlaltdylan"/>
    <language>en</language>
    <item>
      <title>Connect WooCommerce to FraudLabs Pro without code</title>
      <dc:creator>Dylan Pierce</dc:creator>
      <pubDate>Fri, 11 Mar 2022 15:59:52 +0000</pubDate>
      <link>https://dev.to/ctrlaltdylan/connect-woocommerce-to-fraudlabs-pro-without-code-1i7c</link>
      <guid>https://dev.to/ctrlaltdylan/connect-woocommerce-to-fraudlabs-pro-without-code-1i7c</guid>
      <description>&lt;p&gt;⚡️ Welcome to the 2nd installment of the  Pipedream Speed Run! ⚡️&lt;/p&gt;

&lt;p&gt;In this series, we'll create a Workflow from start to finish in 5 minutes or less.&lt;/p&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/IpMDcLziYxE"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;This week we're featuring a brand new integration that was just included in our component repository by the folks over at FraudLabs Pro.&lt;/p&gt;

&lt;p&gt;FraudLabs Pro specializes in preventing fraud with machine learning tools, and customer verification tools like SMS verification.&lt;/p&gt;

&lt;p&gt;In this episode we're going to connect a WooCommerce store to FraudLabs Pro's SMS verification. That way every new order placed on our WooCommerce store will automatically be sent a verification code via text message.&lt;/p&gt;

&lt;p&gt;Want to see a specific workflow tutorial? We're taking submissions!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://form.jotform.com/220694247042049"&gt;https://form.jotform.com/220694247042049&lt;/a&gt;&lt;/p&gt;

</description>
      <category>nocode</category>
      <category>woocommerce</category>
    </item>
    <item>
      <title>Save your up arrow key, use history more</title>
      <dc:creator>Dylan Pierce</dc:creator>
      <pubDate>Thu, 09 Jan 2020 14:40:02 +0000</pubDate>
      <link>https://dev.to/ctrlaltdylan/save-your-up-arrow-key-use-history-more-4d7b</link>
      <guid>https://dev.to/ctrlaltdylan/save-your-up-arrow-key-use-history-more-4d7b</guid>
      <description>&lt;p&gt;One common day to day scenario we face everyday is reusing a terminal command that we carefully crafted maybe hours before we went on a ~reddit binge~ rabbit hole during other work.&lt;/p&gt;

&lt;p&gt;To find a past used command I would normal just keep pressing the up arrow key until I finally found the command I was looking for.&lt;/p&gt;

&lt;p&gt;However, &lt;code&gt;history&lt;/code&gt; is really simple and saves you &lt;em&gt;time&lt;/em&gt; and &lt;em&gt;typing&lt;/em&gt;. Check it out.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ history

12100  git commit  --allow-empty -m "triggering deployment"
....
12107  ga app/controllers/
12108  ga app/models
12109  gst
12110  gcmsg "Adding some missing methods for user authentication"
12111  gp
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;&lt;code&gt;history&lt;/code&gt; is kind of self explainatory, it shows your shell command history. &lt;/p&gt;

&lt;p&gt;The first column is the command ID, whereas the 2nd column is the string of the command itself.&lt;/p&gt;

&lt;p&gt;You might be tempted to reach out to your mouse to copy &amp;amp; paste the command you were searching for, but there's a better way:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;$ !&amp;lt;command entry ID you want&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;So for example, if I were to enter &lt;code&gt;!121000&lt;/code&gt; it would pluck the command with the ID &lt;code&gt;121000&lt;/code&gt; and now it appears in my terminal prompt like magic. Woo!&lt;/p&gt;

&lt;h2&gt;
  
  
  Extra Fun
&lt;/h2&gt;

&lt;p&gt;You can utilize Linux pipe operators to search your history for specific things, maybe you want to see your last copy operations:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;history | grep cp&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;This will give you a last of your last &lt;code&gt;cp&lt;/code&gt; commands. Now you can find where you lost that file you meant to copy to your home directory.&lt;/p&gt;

&lt;h2&gt;
  
  
  Extra Extra Fun
&lt;/h2&gt;

&lt;p&gt;To make life even &lt;em&gt;easier&lt;/em&gt; you don't even have to spend the mental energy piping commands or reading your history line by line.&lt;/p&gt;

&lt;p&gt;Built in you can use a search function that's activated with &lt;code&gt;ctrl + r&lt;/code&gt;. It will activate a reverse search, this allows you to search for past commands by name.&lt;/p&gt;

&lt;p&gt;For example, enter &lt;code&gt;history&lt;/code&gt; then &lt;code&gt;ctrl + r&lt;/code&gt;. You'll be greeted with a prompt similar to (depending on your *nix environment):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;bck-i-search:
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;You can type in the beginning of the command you're racking your brain for, and it'll give you the first result of the last command you ran beginning with your search term. Amazing.&lt;/p&gt;

</description>
      <category>linux</category>
      <category>productivity</category>
    </item>
    <item>
      <title>What's your JAMstack backend of choice?</title>
      <dc:creator>Dylan Pierce</dc:creator>
      <pubDate>Fri, 03 Jan 2020 14:23:21 +0000</pubDate>
      <link>https://dev.to/ctrlaltdylan/what-s-your-jamstack-backend-of-choice-9h0</link>
      <guid>https://dev.to/ctrlaltdylan/what-s-your-jamstack-backend-of-choice-9h0</guid>
      <description>&lt;p&gt;I've tried both Airtable, Netlify, and clay.run for adding simple functions &amp;amp; database support to my JAMstack powered blog.&lt;/p&gt;

&lt;p&gt;Was curious if there are other options out there. The less infrastructure setup the better.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>serverless</category>
      <category>jamstack</category>
    </item>
    <item>
      <title>Release :: PHP to Ruby learning series</title>
      <dc:creator>Dylan Pierce</dc:creator>
      <pubDate>Tue, 07 Aug 2018 00:40:42 +0000</pubDate>
      <link>https://dev.to/ctrlaltdylan/release--php-to-ruby-learning-series-14fm</link>
      <guid>https://dev.to/ctrlaltdylan/release--php-to-ruby-learning-series-14fm</guid>
      <description>

&lt;p&gt;After months of writing and burning midnight oil &lt;a href="https://phptoruby.io"&gt;PHPtoRuby&lt;/a&gt; is finally available for your viewing pleasure &lt;em&gt;for free&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://phptoruby.io"&gt;https://phptoruby.io&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;PHPtoRuby is the result of the lessons I've learned after transitioning to Ruby development after ~ 10 years of PHP development.&lt;/p&gt;

&lt;p&gt;I was frustrated by the beginner focused Ruby books. I already had production PHP experience in several frameworks - including Laravel, Symfony, Lumen, Silex and of course vanilla PHP.&lt;/p&gt;

&lt;p&gt;I wanted just someone to explain a Ruby concept with a PHP equivalent example. Since I couldn't find a decent resource, I decided to sit down and create it.&lt;/p&gt;

&lt;p&gt;If you're interested in Ruby because you've heard great things about Ruby on Rails (which it does live up to it's name, trust me) - then you should give this short book a shot before heading over to the Rails Tutorial.&lt;/p&gt;

&lt;p&gt;This book will give you a head start into understanding the philosophical and syntactical differences between PHP and Ruby. It will also explain some of the key differences in web hosting, namespacing, type hinting, and even touch on the IoC container debacle.&lt;/p&gt;

&lt;p&gt;I wrote this for the PHP developer that has at least some OOP experience, but if you don't I explain the PHP concepts as well.&lt;/p&gt;

&lt;p&gt;So check it out, it's the easiest way to become a server side ployglot if you've already learned the language that powers a third of the internet.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Dylan
Author of &lt;a href="https://phptoruby.io"&gt;PHPtoRuby&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;


</description>
      <category>php</category>
      <category>ruby</category>
      <category>laravel</category>
      <category>rails</category>
    </item>
  </channel>
</rss>
