<?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>Forem: Whitney Smith</title>
    <description>The latest articles on Forem by Whitney Smith (@whitneyjsmith).</description>
    <link>https://forem.com/whitneyjsmith</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%2F497045%2Fc63a470a-9e14-47da-ba8c-45c26aa6b80d.jpeg</url>
      <title>Forem: Whitney Smith</title>
      <link>https://forem.com/whitneyjsmith</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/whitneyjsmith"/>
    <language>en</language>
    <item>
      <title>Custom Guitar Pedal</title>
      <dc:creator>Whitney Smith</dc:creator>
      <pubDate>Fri, 01 Mar 2024 01:18:01 +0000</pubDate>
      <link>https://forem.com/whitneyjsmith/custom-guitar-pedal-3aol</link>
      <guid>https://forem.com/whitneyjsmith/custom-guitar-pedal-3aol</guid>
      <description>&lt;p&gt;Tutorial coming soon! (that was a lie)&lt;/p&gt;

&lt;h2&gt;
  
  
  Materials
&lt;/h2&gt;

&lt;p&gt;Pi 3b+ Kit                  $60.00&lt;br&gt;
16GB Micro SD Card          $7.48&lt;br&gt;
Screen for Raspberry Pi     $39.99&lt;br&gt;
Cheap mechanical keyboard   $20.00&lt;br&gt;
&lt;a href="https://www.amazon.com/gp/product/B076V2QYSJ/ref=ox_sc_act_title_1?smid=A2WCR1L7XCIL9L&amp;amp;psc=1" rel="noopener noreferrer"&gt;Momentary Stomp Switches (10)&lt;/a&gt;   $25.00&lt;br&gt;
&lt;a href="https://www.amazon.com/gp/product/B00NMXY2MO/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&amp;amp;psc=1" rel="noopener noreferrer"&gt;USB Audio Adapter&lt;/a&gt;          $9.95&lt;br&gt;
&lt;a href="https://www.amazon.com/dp/B07T4SYVYG?psc=1&amp;amp;ref=ppx_yo2ov_dt_b_product_details" rel="noopener noreferrer"&gt;22 AWG Stranded Wire&lt;/a&gt;           $16.95&lt;br&gt;
&lt;a href="https://www.amazon.com/Musiclily-Potentiometers-Stratocaster-Telecaster-Replacement/dp/B00G9AZQXG/ref=sr_1_29?crid=1DUFHZAXTVJ7Z&amp;amp;keywords=volume+potentiometer&amp;amp;qid=1552677722&amp;amp;s=gateway&amp;amp;sprefix=volume+potent%2Caps%2C136&amp;amp;sr=8-29" rel="noopener noreferrer"&gt;Volume Potentiometers (2)&lt;/a&gt;  $10.44&lt;br&gt;
&lt;a href="https://www.amazon.com/GLS-Audio-Jacks-Female-Panel/dp/B00CMXRLXM/ref=sr_1_5?keywords=1%2F4+inch+jack&amp;amp;qid=1552679308&amp;amp;s=gateway&amp;amp;sr=8-5" rel="noopener noreferrer"&gt;1/4" Jacks (4)&lt;/a&gt;                 $11.75&lt;br&gt;
3.5mm male-to-male stereo cable $5.98&lt;br&gt;
&lt;a href="https://www.amazon.com/dp/B077ZQDNK5?ref=ppx_yo2ov_dt_b_product_details&amp;amp;th=1" rel="noopener noreferrer"&gt;Audio Adapters&lt;/a&gt;                  $9.88&lt;br&gt;
&lt;a href="https://www.amazon.com/dp/B09FGG18SJ?ref=ppx_yo2ov_dt_b_product_details&amp;amp;th=1" rel="noopener noreferrer"&gt;Acrylic Sheets (2)&lt;/a&gt;        $15.99&lt;br&gt;
&lt;a href="https://www.amazon.com/dp/B07Q3Y8ZRC?ref=ppx_yo2ov_dt_b_product_details&amp;amp;th=1" rel="noopener noreferrer"&gt;Standoffs, 5/8" x 3" (4)&lt;/a&gt;        $16.95&lt;br&gt;
&lt;a href="https://www.harborfreight.com/18-in-x-6-in-x-13-in-black-aluminum-case-69318.html" rel="noopener noreferrer"&gt;Aluminum Case 18" x 6" x 13"&lt;/a&gt;   $39.99&lt;br&gt;
Misc hardware (washers, bolts, etc.)    &lt;/p&gt;

&lt;p&gt;Total   $290.35&lt;/p&gt;

&lt;h2&gt;
  
  
  Equipment
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;USB Keyboard&lt;/li&gt;
&lt;li&gt;Drill&lt;/li&gt;
&lt;li&gt;Drill bits&lt;/li&gt;
&lt;li&gt;Soldering Iron&lt;/li&gt;
&lt;li&gt;Solder&lt;/li&gt;
&lt;li&gt;Flux&lt;/li&gt;
&lt;li&gt;Wire strippers&lt;/li&gt;
&lt;li&gt;Speaker&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Software
&lt;/h2&gt;

&lt;p&gt;Install &lt;a href="https://guitarix.org/" rel="noopener noreferrer"&gt;guitarix&lt;/a&gt; via &lt;code&gt;apt&lt;/code&gt;.&lt;/p&gt;




&lt;p&gt;Update: this is a side project in my never ending list of side projects. At this point I'm going to create a new post for v2 of the pedal.&lt;/p&gt;

&lt;p&gt;Here are some pictures anyway:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgphojvj5lzmk5ki6u2de.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgphojvj5lzmk5ki6u2de.jpeg" alt=" " width="800" height="1066"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Feuefrstwpr0fx38s06dt.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Feuefrstwpr0fx38s06dt.jpeg" alt=" " width="800" height="1233"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0a0713hq1815i3mm44hr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0a0713hq1815i3mm44hr.png" alt=" " width="800" height="1221"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>raspberrypi</category>
      <category>learning</category>
      <category>hardware</category>
    </item>
    <item>
      <title>Setup Barrier Cross-Platform</title>
      <dc:creator>Whitney Smith</dc:creator>
      <pubDate>Tue, 05 Dec 2023 17:57:42 +0000</pubDate>
      <link>https://forem.com/whitneyjsmith/setup-barrier-cross-platform-466m</link>
      <guid>https://forem.com/whitneyjsmith/setup-barrier-cross-platform-466m</guid>
      <description>&lt;h1&gt;
  
  
  Setup Barrier Cross-Platform
&lt;/h1&gt;

&lt;p&gt;This article explains how to setup Barrier on different platforms. Barrier allows you to use the same mouse and keyboard on different machines.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/debauchee/barrier" rel="noopener noreferrer"&gt;Barrier repo on Github&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How to Install Barrier on Linux
&lt;/h2&gt;

&lt;p&gt;For Ubuntu 20.04 and higher, Linux Mint 20, and current Debian releases, open the terminal and run the following command to install Barrier:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;sudo apt install barrier&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How to Install Barrier on Windows and Mac OS
&lt;/h2&gt;

&lt;p&gt;For Windows and Mac OS, the latest packages are available to download at the link below:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/debauchee/barrier/releases" rel="noopener noreferrer"&gt;Releases for Windows and MacOS&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Setup Barrier Server and Client
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Setup Server
&lt;/h3&gt;

&lt;p&gt;On the server machine, select "Server" and click on "Configure Server."&lt;/p&gt;

&lt;p&gt;Make sure you're in the "Screens and links" tab. Configure the layout of your barrier server configuration. To add the client, drag and drop the computer icon on the top right to the corresponding physical location of the machine. Double click on the client to rename the screen name. The screen name must exactly match the screen name on the client machine. &lt;/p&gt;

&lt;h2&gt;
  
  
  Setup Client
&lt;/h2&gt;

&lt;p&gt;On the client machine, select "Client".&lt;/p&gt;

&lt;p&gt;By disabling "Auto config", you can type server IP manually. A dialog will pop-up indicating you connected successfully.&lt;/p&gt;

&lt;p&gt;Click "Start". It will automatically connect to the server if available, and prompt you to trust the fingerprint if SSL enabled.&lt;/p&gt;

&lt;p&gt;For connecting issues, check the log from menu. As well, you can change the listening port and toggle SSL.&lt;/p&gt;

&lt;p&gt;When it's working, on both machines it should say on the bottom "Barrier is running." If it is not working, try clicking "Reload."&lt;/p&gt;

&lt;h3&gt;
  
  
  Hotkeys
&lt;/h3&gt;

&lt;p&gt;In the "Hotkeys" tab, you can configure keyboard shortcuts to switch screens.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;First, click ‘New’ and create a shortcut key.&lt;/li&gt;
&lt;li&gt;Second, highlight the key you created.&lt;/li&gt;
&lt;li&gt;Click ‘New’ in right to specify an action to perform.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Advanced server settings
&lt;/h3&gt;

&lt;p&gt;You can get optional settings in the "Advanced server settings" page.&lt;/p&gt;

&lt;h2&gt;
  
  
  Problems Encountered
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Errors fetching packages during Linux installation
&lt;/h3&gt;

&lt;p&gt;This is linked to using a non LTS version of Ubuntu called an "End of life version". As those have discontinued support. You can check if your Ubuntu is at the end of life version on this link.&lt;/p&gt;

&lt;p&gt;The simplest solution is to do the following two steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Backup your sources list&lt;/p&gt;

&lt;p&gt;&lt;code&gt;sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Open the sources file &lt;code&gt;/etc/apt/sources.list&lt;/code&gt; and rename all the instances of &lt;strong&gt;us.archive&lt;/strong&gt; or &lt;strong&gt;archive&lt;/strong&gt; in&lt;/p&gt;

&lt;p&gt;http://&lt;strong&gt;us.archive&lt;/strong&gt;.ubuntu.com/ubuntu/&lt;/p&gt;

&lt;p&gt;to&lt;/p&gt;

&lt;p&gt;http://&lt;strong&gt;old-releases&lt;/strong&gt;.ubuntu.com/ubuntu/&lt;/p&gt;

&lt;p&gt;Also do the same for the http://&lt;strong&gt;security&lt;/strong&gt;.ubuntu.com/ubuntu/dists/saucy-security/universe/binary-i386/Packages&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Run &lt;code&gt;sudo apt-get update&lt;/code&gt; after doing the above.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Security warning:&lt;/strong&gt; Please update your Ubuntu to an LTS version (to find the current one look into the docs here) as soon as possible, otherwise you won't be getting the latest security patches. The workaround presented in this answer is definitely not a solution that you would deploy on production machines.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Non-US:&lt;/strong&gt; localized versions may use a different variant (e.g., search for &lt;strong&gt;fr&lt;/strong&gt;.archive.ubuntu.com instead of &lt;strong&gt;us&lt;/strong&gt;.archive.ubuntu.com - change "fr" based on your locale)&lt;/p&gt;

&lt;h3&gt;
  
  
  "Wayland session not currently fully supported by Barrier"
&lt;/h3&gt;

&lt;p&gt;Restart your Ubuntu system. At the login screen, under the password field, you’ll see a gear icon. Just click on it and you’ll see two options.&lt;/p&gt;

&lt;p&gt;The default Ubuntu means it will be using Wayland while Ubuntu on Xorg obviously means it will use Xorg. You can select Ubuntu on Xorg to use Xorg here.&lt;/p&gt;

&lt;p&gt;Similarly, you can switch back to Wayland when you feel like it.&lt;/p&gt;

</description>
      <category>tutorial</category>
      <category>linux</category>
    </item>
    <item>
      <title>Enable Wireless Debugging on Android Device</title>
      <dc:creator>Whitney Smith</dc:creator>
      <pubDate>Thu, 26 Oct 2023 20:03:11 +0000</pubDate>
      <link>https://forem.com/whitneyjsmith/enable-wireless-debugging-on-android-device-c3f</link>
      <guid>https://forem.com/whitneyjsmith/enable-wireless-debugging-on-android-device-c3f</guid>
      <description>&lt;p&gt;This article explains how to set up wireless debugging to avoid needing a USB cable plugged into an Android Device.&lt;/p&gt;

&lt;h2&gt;
  
  
  Android Settings
&lt;/h2&gt;

&lt;h4&gt;
  
  
  Enable wireless debugging through the Android Settings:
&lt;/h4&gt;

&lt;ol&gt;
&lt;li&gt;Developer options must be enabled first
&lt;p&gt;
a. Go to &lt;em&gt;Settings&lt;/em&gt; -&amp;gt; &lt;em&gt;About Tablet&lt;/em&gt; -&amp;gt; &lt;em&gt;Software Information&lt;/em&gt;
&lt;br&gt;
b. Tap &lt;em&gt;Build Number&lt;/em&gt; multiple times until you see "You are now in Developer mode!" &lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;Go to &lt;em&gt;Settings&lt;/em&gt; -&amp;gt; &lt;em&gt;Developer Options&lt;/em&gt; and toggle on &lt;em&gt;Wireless Debugging&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;Tap &lt;em&gt;Allow&lt;/em&gt; in the popup to enable it&lt;/li&gt;
&lt;li&gt;Follow steps below for &lt;strong&gt;ADB Commands&lt;/strong&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  IDE Plugin
&lt;/h2&gt;

&lt;h4&gt;
  
  
  Enable wireless debugging through IDE Plugin:
&lt;/h4&gt;

&lt;ol&gt;
&lt;li&gt;Install the “ADB Wireless Plugin” in your IDE (Or something similar in name. May be “Android Wifi ADB” for example). Typically you'd use Android Studio but I needed to use Intellij.&lt;/li&gt;
&lt;li&gt;Connect device to computer with a USB cable&lt;/li&gt;
&lt;li&gt;Connect to device through ADB Wireless Plugin
a. The ADB Wireless Plugin menu should show up in the right-side tool menu.&lt;/li&gt;
&lt;li&gt;Unplug the USB cable and follow steps below for &lt;strong&gt;ADB Commands&lt;/strong&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  ADB Commands
&lt;/h2&gt;

&lt;h4&gt;
  
  
  Set up adb so that commands such as &lt;code&gt;adb logcat&lt;/code&gt; will run:
&lt;/h4&gt;

&lt;ol&gt;
&lt;li&gt;Connect the device to your computer with a USB cable. Check that USB debugging is working by running &lt;code&gt;adb devices&lt;/code&gt;. The device should be listed.&lt;/li&gt;
&lt;li&gt;Run &lt;code&gt;adb tcpip 5555&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Disconnect the USB cable&lt;/li&gt;
&lt;li&gt;Go to the &lt;em&gt;Settings&lt;/em&gt; -&amp;gt; &lt;em&gt;About Tablet&lt;/em&gt; -&amp;gt; &lt;em&gt;Status&lt;/em&gt; to view the IP address of your device&lt;/li&gt;
&lt;li&gt;Run &lt;code&gt;adb connect &amp;lt;IP address of device&amp;gt;:5555&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Run &lt;code&gt;adb devices&lt;/code&gt; again and you should see the device&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;You can now wirelessly run adb commands!&lt;/p&gt;

</description>
      <category>android</category>
      <category>tutorial</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
